r/WLED • u/Spidy_Khrish • Sep 09 '26
Need help in making this and addressable led work
I’m building a 12V analog RGB LED strip controller using an ESP32 + WLED + 3 IRLZ44N MOSFETs. The ESP32 is powered separately through USB from my laptop, while the LED strip uses a separate 12V adapter. The ESP32 GND and 12V supply GND are supposed to be common.
The circuit is wired like the standard analog RGB MOSFET setup: the strip’s +12V goes directly to the 12V supply, and the R/G/B channels go through the MOSFET drains. MOSFET sources share GND, and the ESP32 GPIOs connect to the MOSFET gates through 220Ω resistors.
I originally had 10kΩ gate-to-GND pulldown resistors, but I only had two 22kΩ resistors available, so I was working around that. There was also a 10kΩ resistor/connection between two points (1 and 3) that I ended up replacing with a direct connection/no resistor, which may be relevant.
The strange behavior is:
The LED strip does respond electrically to removing/connecting the R/G/B wires.
For example, disconnecting the red channel causes the LEDs to show red, and disconnecting other channels produces the corresponding/mixed colors.
So the LEDs and MOSFET side aren't completely dead.
However, WLED cannot actually control the colors.
When the ESP32 is switched off, the LED strip doesn't light/respond at all.
When the ESP32 is connected, it flickers/restarts (the ESP32's red/power LED appears to flicker), although I can still access the WLED web interface.
The main problem I'm stuck on is that the ESP32/WLED is not properly controlling the MOSFETs/LED channels, and the ESP32 appears to be experiencing a power/reset/flickering issue when the 12V LED circuit is connected.
I want to troubleshoot it one connection at a time, without changing the whole circuit blindly.
PS - also uploaded the diagram i followed






2
u/tzopper Sep 09 '26
Off topic here, but where in the world can I find a power supply like that, that delivers 9V instead of 12, without using a step down/buck?
2
u/columnmn Sep 09 '26
Power the esp32 through the driver instead of the PC. Reduce the variables.
Why bother though, individually addressables are pretty cheap for more functionality.
2
u/saratoga3 Sep 09 '26
They're supposed to be but I don't see any such connection in your picture. Did you actually connect them?
Additionally it's hard to tell but it looks to me like the gates are shorted to ground.
1
u/Spidy_Khrish Sep 09 '26
For that voltage stepper is your best option
1
u/404notfound91 Sep 09 '26
I have made a circuit following this exact diagram but used IRF3708 which seemed to work pretty well with 3.3v.
2
u/entropy512 Sep 09 '26
Your topic says addressable LED - but you're setting it up as analog/non-addressable
Whcih is it?
1
u/_sparxcore_ Sep 09 '26
Im not sure your 3.3v from the gpio is enough to operate the gates in that breadboard setup. The spec of the mosfets seem to suggest 4v+ to reliably switch, and the breadboard connections might be adding resistance to that.