RGB LED Strip Controller - Homelight
by Nick Programmer in Circuits > Microcontrollers
647 Views, 2 Favorites, 0 Comments
RGB LED Strip Controller - Homelight
The Homelight project is an esp32 based RGB LED strip controller. The Homelight project includes 11 different modes for your RGB LED strip. You can choose your favorite color using "Standard" mode. Also you can change brightness using "Brightness" mode.
Supplies
ESP32 x1;
1.77 Inch TFT LCD with ST7735 x1;
Buttons x2;
560 ohm resistor x2;
RGB LED Strip x1;
Download and Install Drivers and Arduino IDE *Optional
if you have never used esp32 or Arduino IDE you'll need to download and Install drivers, Arduino IDE and configure it.
Full Guide How to Install and Configure Your ESP32 you can see by clicking on this link - https://www.instructables.com/Getting-Started-With-ESP32.
Download Libraries
Open the Arduino IDE. Navigate to Sketch > Include libraries > Manage Libraries. You will see the window. Type these names of libraries(FastLED, Adafruit_GFX, SPI, Adafruit_ST7735). You will need to find every library and download.
Download Board
Navigate to Tools > Board > Boards Manager. Type this name of Board - ESP32, and download it. Then you will need to select your esp32 board. Navigate to Tools > Board, select your board.
Download the Firmware
Go to my GitHub by clicking here, find the "firmware" folder and click on it, find the "Firmware.ino" file, download it, open it using Arduino IDE and upload it.
//This code has a little modification by Northstrix
Assemble the Led Strip Controller
You can assemble the RGB Led Strip Controller using this scheme above.
Upload Your Sketch
Click the upload button in the Arduino IDE, hold the BOOT button on the board until your Sketch will be uploaded.
Tutorial
Press the "Right" button to select the next mode.
Press the "Left" button to select the past mode.
Using "Standard" mode and pressing on "Left" + "Right" button you will go to the "Change Color" menu.
You can change your color value using "Left" or "Right" button. If you want to select the next color, you will need to press "Left" and "Right" button.
Using "Brightness" mode and pressing on "Left" + "Right" button you will go to "Change Brightness" menu.
You can change your brightness value using "Left" or "Right" button.