← tidepool

REV A · LED-CTRL-01 · ESP32 / ESP8266

WLED Strip Planner

WLED is free, open-source firmware that turns a cheap ESP32 or ESP8266 Wi-Fi board into a controller for addressable LED strips, with a browser interface, an effects library, and hooks for home automation and light shows. The project's own docs cover getting it running. A lot of first-project questions turn out to be about power and wiring, so this page starts there: describe your strip and it does the arithmetic.

U1 Planner

Pixels
Worst case, full white
At your brightness
Supply to buy
WLED max current
Power feeds
Current per feed
Drop in each feed wire
Pixels per output
Max frame rate

How it works it out

J1 Wiring for your strip

Power (+)Ground, shared by everythingData, one way only
  1. One ground for all. The supply, the board, and every feed point share ground. Data is measured against ground, so a board on a separate supply with no common ground gives garbage colours or nothing.
  2. Data has a direction. Strips have arrows printed on them. The controller connects to the input end; feeding the wrong end does nothing.
  3. Lift the data line. ESP boards talk at 3.3 V and 5 V pixels expect close to 5 V. It often works anyway, until it doesn't. A 74AHCT125 or 74HCT125 level shifter between board and strip is the usual fix for a first pixel that flickers or a strip that ignores you. WLED's own wiring guide covers it.
  4. A resistor and a capacitor. A small resistor (a few hundred ohms) in the data line near the first pixel damps ringing, and a large capacitor across the supply at the strip's start soaks up the surge at switch-on. Builders differ on values; both are cheap insurance, not magic.
  5. Feed power, not data, along the way. The thin copper on a strip drops voltage over distance, so the far end goes dim and orange. Extra feeds (power injection) connect + and ground at intervals; the data line stays single.
  6. Fuse each feed. Thin wire carrying many amps from a big supply is how strips start melting. A fuse sized to the wire on each feed protects it.
  7. Don't power a strip through the board. A board's 5 V pin passes current through its USB port and small parts. If you must, keep WLED's limit under about 1 A.

R1 WLED, the software

  1. Pick a board. Both ESP8266 and ESP32 boards run WLED. The ESP32 is the safer pick for a new build: more memory, more LED outputs, more headroom for add-ons.
  2. Flash it. WLED's project page links a web installer that flashes the board over USB from a browser that supports Web Serial, with no toolchain to set up.
  3. Join it to Wi-Fi. A fresh install starts its own access point. Connect to it, give it your network's details, and it reboots onto your Wi-Fi.
  4. Tell it about the strip. In the LED settings: the data pin, the LED type, the pixel count, and the brightness limiter's two numbers from the planner above (supply current and mA per pixel).
  5. Play. Pick an effect and a palette from a phone or browser. Save what you like as a preset.

TP Sources and limits