Introduction: DIY WiFi RGB LED Lamp

Picture of 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!

Picture of Order Your Components!

Here you can find a parts list with example seller:

Amazon.com:

1x 10W RGB LED: http://amzn.to/2xr0xoo

1x Heatsink: http://amzn.to/2kArEHF

3x 10µH Inductor: http://amzn.to/2fTqMbR

3x 1N4007 Diode: http://amzn.to/2kwASEB

1x LM7805 Voltage Regulator: http://amzn.to/2xpPJXt

1x 12V 1A Power Supply: http://amzn.to/2xpH4Ey

2x 470µF Capacitor: http://amzn.to/2xpBime

3x 220nF Capacitor: http://amzn.to/2y39a5p

1x ESP8266 (NodeMCU): http://amzn.to/2xqQRp1

3x MCP602 OpAmp: http://amzn.to/2g2brZY

4x TC4420 MOSFET Driver: http://amzn.to/2fTr4zt

4x IRLZ44N MOSFET: http://amzn.to/2xrmYtG

4x 10Ω, 3x 5.1kΩ, 3x 1Ω, 3x 1kΩ, 3x 10kΩ Resistor: http://amzn.to/2xrdny5

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!

Picture of 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:

https://easyeda.com/editor#id=2c6d24c962144729bf56...

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.

Step 5: Print the Enclosure!

Picture of 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.

Step 6: Success!

Picture of 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:

https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab

Comments

HannesG2 (author)2017-11-19

is it posible to convert the circuit diagram in to an PCB?

laske02 (author)2017-11-04

Can i use this circuit with small 3W leds.They require 2.2-3.5V.Do i only need to change the power supply voltage?Im beginner in electronics.

Thanks!!

theonea1 (author)2017-10-19

Would it be possible to use a 50w 36v LED?

ryuhemanth (author)2017-10-15

Great job, saw your video on youtube, you are putting a lot of work and giving care to every minute detail of the cicuit, you are an amazing electrical engineer.

starphire (author)2017-10-12

Nice work on the electronic design and integration to wireless control. It is clear that you put a lot of thought and care into the electronics and mechanicals here.

So I am surprised that your approach to the thermal management of the LEDs is so casual in comparison. Having done a number of design and test cycles on similar high power LED fixtures, I would never have your confidence that they will last a long time in this arrangement!

Even in open air, that would be a minimal heatsink to properly cool 5 Watts of LEDs continuously, let alone 10 Watts. But it's worse when the heatsink is in an unventilated enclosure without even a fan to help cycle the air inside. And the assembly is placed on top of a power supply module that is also generating heat. That 12W output power supply may be 80-90% efficient, so it can add a few Watts of heat as well. Adhesive silicone thermal pads are a compromise in heat transfer for assembly convenience and/or electrical isolation, never for the best heat transfer. A good thermal paste would do better, since you don't need to worry about electrical isolation in this case.

I realize there are *many* Makers and enthusiasts who
undersize the LED heatsink, and conclude that it "feels" OK to touch so it must be working. Everything seems to be working fine as they write up and
publish their design for others to copy. If some of the LEDs start to
fail after 100 or 1000 hours, they are usually quick to blame a poor
quality LED module rather than consider the possibility that the
junction temperature of the LEDs was exceeding its limits on a regular
basis. The methods and formula for calculating Max. Tj from known parameters are not difficult to apply, and easily confirmed with a thermocouple in the fully assembled lamp. I would strongly recommend doing that, you may be quite surprised at the extrapolated junction temperatures on full power!

leshemeli (author)2017-10-12

greatest video explanation. nice product

laith mohamed (author)2017-10-10

Wow attractive that is nice ...

jeanotP1314 (author)2017-10-10

That's a great project! Thanks for sharing :)

IgorF2 (author)2017-10-10

Great! Now I can add Wi-Fi to my articulating lamp to-do list!

https://www.instructables.com/id/3D-Printed-Articulating-LED-Lamp/

About This Instructable

12,362views

147favorites

License:

Bio: Awesome Electronics Tutorials, Projects and How To´s
More by GreatScottLab:Make Your Own Crude Cocktail MachineMake Your Own Solid State RelayMake Your Own Simple Theremin
Add instructable to: