hardware · wled-controller
WLED controller
Three addressable LED strips, one safe cased box, all in Home Assistant through WLED.


An 81 x 37 mm KiCad PCB that runs three 12 V addressable LED strips from a Wemos D1 mini socket. It takes 12 V in, steps it down to 5 V for the D1 mini, shifts the data lines to 5 V, and fuses each output with a 3 A PTC. It ships in a 3D-printed wall-mount case with a grille for an INMP441 microphone.
Specs
Wire it backwards, nothing burns
J1C1Q1 to Q4 AO3400A · R5/R6 10k/10k bias the gates to about 6 V · D1 SMBJ15A TVS
Four N-channel MOSFETs in the ground return only switch on when 12 V arrives the right way round. In parallel they share the full 9 A at about 0.15 W each.
5 V for the brain, from 12 V
L1C4XL1509-5.0 · 68 uH 2.5 A+ radial · 220 uF 25 V low-ESR · D3 stops USB back-feed
An XL1509 buck makes 5 V for the D1 mini. The 220 uF electrolytic is on purpose: this chip needs some output ESR, and ceramics alone don't give it.
Every strip gets its own fuse
J2J3J4F1F2F3MF-RHT300 hold current: 3.0 A at 23 °C · 2.65 A at 40 °C · 2.4 A at 50 °C
Each output has its own 3 A resettable fuse, so one shorted strip trips alone. The fuses sit under the lid vents because a warm PTC holds less current.
Pick the brain later
U2Two 1x8 sockets · CH1 on GPIO2, the ESP8266's second UART · 9 mm no-copper zone under the antenna
The controller sits in sockets, so an ESP8266 D1 mini or an ESP32 MiniKit drops in. RX stays free, so USB flashing never clashes with a strip.
Lights that hear the room
J5INMP441 I2S mic header, sound-reactive WLED needs an ESP32
With an ESP32, an INMP441 mic stood upright behind the grille lets the strips react to sound.
Reverse-polarity guard
Q1Q2Q3Q4R5R6D14x AO3400A in the ground return · SMBJ15A TVS
Q1 to Q4 sit in parallel between the input ground and the board ground. R5/R6 bias their gates to about 6 V, so reversed 12 V leaves them off and the board unpowered. D1 clamps surges.
12 V to 5 V buck
U1D2D3XL1509-5.0 with 68 uH 2.5 A+ inductor
Steps 12 V down to 5 V for the D1 mini with an SS34 catch diode. D3 feeds the D1 mini's 5V pin, so plugging in USB does not back-feed the buck.
Level-shifted data
U3R1R2R3SN74LVC4245A shifts 3.3 V data to 5 V
Each output carries 12 V, data and GND. Data comes from D4, D2 and D1 through an SN74LVC4245A level shifter and a 100 ohm series resistor.
Downloads
- STLCase base1.9 MB
- STLCase lid1.1 MB
- PDFSchematicComing soon
- ZIPGerbersComing soon
Build notes
- Trim every through-hole lead under the board to 2 mm or less.
- Screw the board to the base at H1 and H2 with two M3x6 self-tapping screws.
- Plug in the D1 mini (an ESP8266 D1 mini or an ESP32 MH-ET Live MiniKit) and wire the terminals.
- Fit the lid with four M3x12 self-tapping screws into the corner bosses.
- The INMP441 microphone cannot lie flat on J5. Stand it upright on a right-angle header (about 16 mm tall) with its sound port facing the grille, or run it on short wires. Sound-reactive WLED needs an ESP32.
- Print in PETG with a 0.4 mm nozzle, 0.2 mm layers, 3 walls and 20 % infill, no supports. Print the base upright and the lid top face down.
- In a closed case near the 12 V trunk, plan on about 2.4 A continuous per LED channel: the PTC fuses lose hold current as they warm up.
