Skip to content

Power and Wiring — the Maths That Keeps It Safe

Everything else in this guide is software. This chapter is the part where electricity is real, and it deserves slow reading, because nearly every WLED horror story — melted connector, brown scorch mark, strip that turns orange at the far end — is this chapter, skipped.

The one number: 60 milliamps per LED

A WS2812B-style LED package contains three LEDs (red, green, blue), each drawing up to about 20 mA. All three on full, showing white, is therefore:

60 mA per LED, worst case.

Multiply by your LED count and you have the most current the strip can ever ask for:

LEDs Worst case at 5 V Power
30 1.8 A 9 W
100 6 A 30 W
300 (5 m at 60/m) 18 A 90 W
600 (5 m at 120/m) 36 A 180 W

Two honest footnotes. First, real pictures rarely draw the worst case: effects use fewer channels at less than full brightness, and a third to a half of worst case is a common measured draw. WLED's own power estimator assumes 55 mA per LED (you will find LED_MILLIAMPS_DEFAULT 55 // common WS2812B in its source) and even that is an estimate, not a promise. Second, "rarely" is not "never": somebody will set the strip to full white at full brightness, possibly you, possibly a timer at 3 a.m. Size the wiring and the fuse for the worst case; let the supply have headroom — running a power supply flat out, forever, is how it dies early, so a supply rated a quarter above your worst case is a sensible buy.

The board itself needs a little too: budget roughly 500 mA for the ESP, and prefer powering it from the same supply as the strip, with grounds shared (chapter 3). Do not power a long strip through the board's 5 V pin or from a USB port: the board's traces and a USB port's 500 mA–1 A are not built for strip current.

Voltage drop: why the far end turns orange

A 5 V strip is a long, thin conductor. Push 10 A down it and the resistance of the strip itself eats voltage as it goes: the first LEDs see 5 V, the last may see 3.5 V — and an under-fed LED dims, with blue (the hungriest colour) fading first, so white slides through yellow to orange along the run. That gradient is not an effect. It is a symptom.

The cure is power injection: run a separate, adequately thick pair of power wires alongside the strip and connect them to the strip's power rails at intervals — both ends of a long run, and every few metres in between for high-density strips. The data wire still runs once, from the board, start to finish; only the power is topped up. 12 V and 24 V strips (WS2811 groups, COB strips) suffer less drop for the same wattage, which is one reason long runs use them — the arithmetic per LED becomes per-group-of-three, and the current is a third at 12 V for the same light.

Wire thickness is part of the same story: thin hook-up wire is itself a resistor and a heater at 10 A. Use wire sized for the current and the length — the project links a power, wiring and fuse calculator from its quick start page, and "the wire is warm" is a failure report, not a curiosity.

Fuses, capacitors, and the limiter

Three cheap habits make installs boring, in the good way:

  • Fuse each power feed near the supply, sized a little above what that feed should ever carry. A short on a strip fed by an unfused 30 A supply is a fire with a light show.
  • A large capacitor (1000 µF is the classic value) across the strip's power input smooths the switch-on surge and takes strain off the supply.
  • Use WLED's automatic brightness limiter (ABL). It is on by default: tell it your supply's budget in milliamps and it dims the whole picture rather than exceed it. The firmware default budget is only 850 mA — a safe value for bench tinkering over USB, and the reason a fresh install may look oddly dim on a big strip. Set it to your real supply (a little under its rating) in Config → LED Preferences and leave it on. The limiter is a seatbelt, not a substitute for the arithmetic above: it estimates, and estimates can be wrong about a strip it does not know.

Heat is the last quiet item. LEDs at full power in a sealed plastic channel get hot; aluminium channel is a heat sink as much as a diffuser, and no strip should run for hours at full white inside insulation. Warm is expected. Too hot to hold is a redesign, not a setting.