How to Make Pocket RGB Light | Arduino & WS2812B
by MrSottong in Circuits > Arduino
5867 Views, 78 Favorites, 0 Comments
How to Make Pocket RGB Light | Arduino & WS2812B
In this article "How to Controls WS2812B Using ESP-01 Arduino (ESP8266)". I made a custom module for the WS2812B LED using the ESP-01.
With this module I can make various creations using the WS2812B LED. Among them are RGB LED Strip, RGB LED Animation and RGB Matrix.
And in this article I will create an RGB Light Pocket using the WS2812B LED Matrix.
I will use this LED for photography lighting. What I hope is, this LED can give a unique impression from the photos I take.
Component and Material
Components for the ESP-01 modul :
- 4* SMD Resitor 10K Ohm
- 2* SMD Capacitor 10uF
- 1* Regulator 3V3
- 2* 1x4 Female Header
- 1* ESP-01
Material :
- 1* Modul WS2812B esp-01
- 1* Modul Charger Battery
- 1* 8x8 Martik LED WS2812B
- 1* Battery 18650
- 1* Battery Holder
- 1* Switch ON/OFF
- 2* Push Button
- 4* 3mm Screw
- 4* 3mm Mur
- 2* 1cm Spacer
- 2* 0.5cm Spacer
- Cable
- Double tape
- PCB Hole
Box Design
The box for this LED pocket I made using a 3D printer. The material I use is PLA.
You can see the Box design below. I designed this box on onshape.com.
Downloads
WS2812B ESP01 Module Schematic and Layout
actually I have provided the schematic and layout of this module in the article "How to Controls WS2812B Using ESP-01 Arduino (ESP8266)"
but I'll add it here too to make it easier for you to get it please download the file below
To make a nice and neat module. I decided to use PCBway's services to print the PCB. why did I choose PCBway, because By making PCB on PCBway you can get High Quality 10 PCs PCBs for only $ 5 & new member First order Free: www.pcbway.com .
You can read about the process of making this module here "https://www.instructables.com/How-to-Controls-WS2812B-Using-ESP-01-Arduino-ESP82/"
Assembly
To simplify the assembly process, I removed the connector component on the WS2812B module. for installation I directly solder to the PCB.
and here is the installation scheme. You can follow this scheme to assemble all the materials
Software
The software that I made is quite simple. so there are several colors that I provide. To change the color simply press the mode button once. You can add any other color you want, just by modifying a few lines of code.
Here is the source code:
Downloads
Result
You can see the final shape of the RGB light pocket in the first image. and the results of the application can be seen in the next image.
I think this is pretty good, I can make a pocket RGB light which is cheaper than the price in the market