0

$USD

$USD
PROJECTS ESP32IoT

How to Make a Smart Colorful Light Based On FireBeetle ESP32 IoT Microcontroller

DFRobot Jun 08 2017 1839

Like what we heard in the song The Color of The Night, we always indulged in the psychedelic lights at night. The colorful lights tell sadness or happiness. I like the color of lights but I hate the uncomfortable manually switch of them. Fortunately, I have DIY a smart colorful light which satisfied my requirements of switch, color and even feelings.

                          
This esp32 project is based on FireBeetle ESP32 IOT Microcontroller (Supports Wi-Fi & Bluetooth).

Hardware in need:

RGB LED Breakout (5050)   

NPN Triode×1
        

FireBeetle ESP32 IOT Microcontroller (Supports Wi-Fi & Bluetooth) ×1
   

FireBeetle Covers-Proto Board×1
        

Rotary Encoder EC11J×1

BME280×1


Hardware Connection


Schematic and drawing, shown as below.





Firstly, connecting D2, D3, D4 to D2, D3, D4 of the FireBeetle Board-ESP32 respectively and drive with high-level. And connecting Vcc to Vcc of the FireBeetle Board-ESP32 too. Then, there are A and B in the Rotary Encoder EC11J, A should be connected to D7, B to D6 and the bottom should be connected to D5. Finally, connecting BME280 to I2C of FireBeetle Board-ESP32

   
 
 2. Connecting and fixing RGB lights with Dupond, shown as below. 



3. Connecting output line to FireBeetle Board-ESP32, Rotary Encoder EC11J and FireBeetle Covers-Proto Board according to the schematic and drawing, shown as below.

Remember to fix the connected electronic circuit with hot-melt glue. 


Remember to fix the connected electronic circuit with hot-melt glue


Crust assembly



The curst printed by a 3D printer.


Then you should click here to download the program to the FireBeetle Board-ESP32.




I chose Blynk for the mobile client.


Temperature: V3


Humidity: V4


Pressure: V5


Red Light: V0


Green Light: V1


Blue Light: V2


Switch Bottom: V6

   


Finally, well done! 





P.s: I love the design of the interface, cool!

DFRobot supply lots of esp32 arduino tutorials and esp32 projects for makers to learn.