Introduction: DIY WiFi RGB LED Lamp
In this project I will show you how I created a three channel constant current source and successfully combined it with an ESP8266µC and a 10W RGB High Power LED in order to create a WiFi controlled Lamp. Along the way I will also demonstrate how easy it is to use the App "Blynk" to control your ESP8266 through WiFi. Let's get started!
Step 1: Watch the Video!
The video gives you all the information you need to create your own WiFi RGB LED Lamp. During the next steps though, I will present you some additional information.
Step 2: Order Your Components!
Here you can find a parts list with example seller (affiliate links):
Aliexpress:
1x 10W RGB LED: https://s.click.aliexpress.com/e/_d82x3FY
1x Heatsink: https://s.click.aliexpress.com/e/_dXgifSm
3x 10µH Inductor: https://s.click.aliexpress.com/e/_dUa8CPU
3x 1N4007 Diode: https://s.click.aliexpress.com/e/_dYR45Bh
1x LM7805 Voltage Regulator: https://s.click.aliexpress.com/e/_dXSrfiP
1x 12V 1A Power Supply: https://s.click.aliexpress.com/e/_dVfsSEa
2x 470µF Capacitor: https://s.click.aliexpress.com/e/_d7dOwRz
3x 220nF Capacitor: https://s.click.aliexpress.com/e/_dU4FEsB
1x ESP8266 (NodeMCU): https://s.click.aliexpress.com/e/_d7ooHwW
3x MCP602 OpAmp: https://s.click.aliexpress.com/e/_dTvJRGw
4x TC4420 MOSFET Driver: https://s.click.aliexpress.com/e/_d9epnMB
4x IRLZ44N MOSFET: https://s.click.aliexpress.com/e/_dWhSrDl
4x 10Ω, 3x 5.1kΩ, 3x 1Ω, 3x 1kΩ, 3x 10kΩ Resistor: https://s.click.aliexpress.com/e/_dTPpXjt
Ebay:
1x 10W RGB LED: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x Heatsink: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
3x 10µH Inductor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
3x 1N4007 Diode: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x LM7805 Voltage Regulator: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x 12V 1A Power Supply: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
2x 470µF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
3x 220nF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x ESP8266 (NodeMCU): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
3x MCP602 OpAmp: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
4x TC4420 MOSFET Driver: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
4x IRLZ44N MOSFET: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
4x 10Ω, 3x 5.1kΩ, 3x 1Ω, 3x 1kΩ, 3x 10kΩ Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
Amazon.de:
1x 10W RGB LED: http://amzn.to/2yRFQhv
1x Heatsink: http://amzn.to/2y0RGJz
3x 10µH Inductor: http://amzn.to/2y3Q3s0
3x 1N4007 Diode: http://amzn.to/2wF7rlb
1x LM7805 Voltage Regulator: http://amzn.to/2wGvi4d
1x 12V 1A Power Supply: http://amzn.to/2wEYAju
2x 470µF Capacitor: http://amzn.to/2y2yV8g
3x 220nF Capacitor: http://amzn.to/2g1Jxxr
1x ESP8266 (NodeMCU): http://amzn.to/2yzF9gA
3x MCP602 OpAmp: http://amzn.to/2g2qtPz
4x TC4420 MOSFET Driver: http://amzn.to/2wFVVq4
4x IRLZ44N MOSFET: http://amzn.to/2y32NPI
4x 10Ω, 3x 5.1kΩ, 3x 1Ω, 3x 1kΩ, 3x 10kΩ Resistor: http://amzn.to/2g2AnRr
Step 3: Create the Circuit!
Here you can find the schematic of the circuit and pictures of my completed perfboard. Feel free to use it as a reference. You can also see the schematic on EasyEDA:
Step 4: Upload the Code!
Here you can find the sketch that I created for the circuit. Make sure to upload it to the ESP8266. You will also need to include this URL in your Arduino preferences: http://arduino.esp8266.com/stable/package_esp8266c...
This way you can download/install the ESP8266 boards. Afterwards make sure to download/install the Blynk library through the library manager.
Attachments
Step 5: Print the Enclosure!
Here you can find the 123D Design files for the enclosure. Use them to print your own RGB LED Lamp. Afterwards you can cut the acrylic glass circle and mount all the components inside the enclosure.
Attachments
Step 6: Success!
You did it! You just built your own WiFi RGB LED Lamp!
Feel free to check out my YouTube channel for more awesome projects:
http://www.youtube.com/user/greatscottlab
You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information: