DIY Smart LED Ceiling Light: 8 Individually Dimmable Channels

Parts List:
LED Lights:
LED Strips:
12V Power Supply:
ESP32 NodeMCU:
3.3v MOSFET:
Wiring Harnesses:
Buck Converter:
Prototype Boards:
Header Pins:
Hook Up Wire:

Arduino Code:
Home Assistant Config:
Wiring Schematic:

Follow me on Twitter: @TheHookUp1
Support my channel:
US Amazon:
UK Amazon:

Music by


Pol Peerboom says:

Not to be a smartass, but buck converters don’t change current, and 5V is the voltage not current!
🙂 Sorry I had to do it.

Ray SIEBER says:


Dale Scott says:

Thanks awesome video!! Do you know if Tasmota will work on the ESP32 nodeMCU, I’m not big on coding and I have many LED strips working with Tasmoata however flickering does become and issue at times.

DrZzs says:

Nice work Rob. Great explanation of dimming. Thanks!

Anoniem 123 says:

I guess you can make a light group in home assistant so they turn on or off at the same time.

Peter Scargill says:

Great stuff. I don’ like using the PWM on the ESP8266 as it is considerably less than perfect and won’t work alongside serial LED driving (my software ESP-GO does both) so the ESP32 may be a good idea. My own preference is to use a little Arduini Nano clone with the ESP8266. For £1.50 sterling you are adding 6 PWM channels. a load of A/D channels snd more general I/O.

tlamont941 says:

awesome job rob.

Robert Evans says:

Are you concerned with the electrical code or fire code? How is using wood permitted by either? You may be encouraging others to burn their house down. Have you ever wondered why there are no commercially available wooden light fixtures?

thedude3213 says:

Great project! I wish it was in front of me now to tinker with! I would love to play around with some light animation effects.
Also, the perfectionist in me wants all 8 lights to respond simultaneously instead of one at a time as the MQTT messages come through. I was thinking you could add a 9th mqtt light with a topic of “FamilyRoom/All” and update the Arduino code to control all 8 lights with that topic. The only problem is making the HomeAssistant UI nice because I don’t think there’s a way to make a detail card with the “All” topic at top and the 8 individual mqtt lights below that like you have at 14:00 … but perhaps there’s a way I don’t know of? Maybe something with Lovelace I keep hearing about?

William Miller says:

Great video!

timaelabu says:

awesome project professor. great explanation of the esp32..been wanting to get since Andrea S’s vid. also great expalation of the mosfet. i will have to look up identical parts on aliexp. i have been using ben’s multi sensor’s rgb led connections to connect to a rgb led i know why its not going full bring..i will power it up with higher voltage and use the mostfets/logic shifters…thanks

Mark Ferrick says:

Excellent video Rob. Looks like I NEED a few ESP32’s thanks for doing these.

Ossi Talonpoika says:

Finding right components as an amateur is hard. And many times you must make couple mistakes on the way. I think you can find ESP32 than can run on 12v. Then you need that buck converter. For more simple build.

David Sergeant says:

Hey. I’ve been loving your projects. Awesome project and I love the detail you put into why you use the parts you do. A little kick-back risk there at 5:13. I’m wary of using the fence at all on cuts like that. I use the miter gauge or a sled.

Graeme Pinnock says:

Nice video but your description of how an incandescent dimmer works is slightly off. The most common dimmers also use a kind of pulse width modulation but this time it’s controlling the amount of the AC sine wave that the lamp sees. Switching is achieved using a triac rather than a mosfet in this case (or an IGBT in the most modern dimmers).

Wyndham Boonzaier says:

Another great video. You and Drzzzz are a pleasure to watch. Thank you.

stuart says:

Get some push sticks! Scaring me man.

Aalian khan says:

I need to confirm. Did you just made a smart dimmer

SirJMDDK says:

Incandescent is not dimmed by resistors, but by triac (or by a triac/diac config).

Xieneus says:

The transistors in the description have even higher gate threshold voltage… Your’s are 2V, those in the description are 2.35V. You said that it should be lower!

Synssins says:

I just subscribed to you because of this video… Question: Is there a way to expand the channels to support more than 8 lights? My basement has a ring of 1 watt LED directional lights that I’d like to control individually rather than from the Z-Wave switch that controls the power supply for the lights.

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!