This guide is for planning the power side of a multi-section 5 V WS2812B installation controlled by WLED.
The basic problem is simple: as an installation gets larger, it is no longer enough to know that the LEDs need 5 V. You also need to know how much current they may need, how much the power source can actually provide, and how that power will reach LEDs spread across several sections.
The process is:
- work out how many LEDs you are powering;
- estimate their possible current demand;
- establish the real power budget;
- decide how to distribute that power;
- choose appropriate wiring;
- configure WLED for the available current;
- test the installation under load.
The related WS2812B Power and Current reference covers the electrical concepts in more depth.
Before you start
You should know:
- the total LED count;
- the strip voltage;
- the LED density (how many leds per meter) if you are calculating from strip length;
- the voltage and maximum current of the power source;
- roughly how the LED sections will be positioned;
- the distance from the power source to each section;
- whether the installation needs to support demanding states such as full-brightness white.
For WS2812B, the supply voltage is 5 V.
1. Work out the LED load
Start with the actual number of LEDs.
If you know the strip density and length:
LED count = strip length × LEDs per meter
For example, a 75 cm section of 60 LEDs/m strip contains:
0.75 m × 60 LEDs/m = 45 LEDs
Add the sections together to get the total installation size.
Then estimate the possible current.
WLED’s default model for a generic 5 V LED uses 55 mA per pixel at full white:
LED count × 0.055 A = estimated maximum current
For 135 LEDs:
135 × 0.055 A = 7.425 A
Treat this as a planning value, not as normal consumption. Real current depends on brightness, color, LED variant, and what the installation is actually displaying.
The useful question is simply:
Could this installation ask for more current than my power source can provide?
2. Establish the real power budget
Check the specification of the power source at 5 V.
A supply rated:
5 V / 3 A
can provide about:
5 V × 3 A = 15 W
If it has several connectors, do not assume their ratings can be added together. Three USB ports sharing one 5 V / 3 A output still provide about 3 A total, not 9 A.
Now compare the available current with the LED estimate.
If the supply comfortably covers the intended load, you can design around that capacity.
If the LEDs could demand more than the supply can provide, either:
- use a larger suitable power source; or
- deliberately limit the installation to the current you actually have available.
That second option is often perfectly reasonable for ambient lighting that does not need unrestricted full-white brightness.
3. Separate power capacity from power distribution
This is the distinction that matters most in larger 5 V installations.
Power capacity answers:
How much current can the installation use?
The power supply and WLED current limit determine that.
Power distribution answers:
How does that current physically reach the LEDs?
The wiring and power-injection layout determine that.
You can have enough total current available and still get dim or unstable LEDs at the far end if all of that current has to travel through long wires or several meters of LED-strip copper.
So plan these as two separate problems.
4. Plan how the LEDs will be powered
For anything beyond a very small strip, power the LEDs directly from the power source rather than using the ESP development board as the path for the LED current.
The controller still needs power, data, and common ground:
┌──→ Controller
Power source ────┤
└──→ LEDs
Controller DATA ─────→ LEDs
WLED’s own wiring guidance recommends direct power for most installations and only considers powering through a D1 mini practical for very small setups.
Now look at the physical installation and identify sensible power sections.
Natural divisions might be:
- individual shelves;
- separate pieces of strip;
- physically separated parts of one installation;
- sections of a longer strip where supplying power again gives the current a much shorter path.
For example:
Section 1 Section 2 Section 3
45 LEDs 45 LEDs 45 LEDs
could be powered as:
5V/GND 5V/GND 5V/GND
│ │ │
45 LEDs 45 LEDs 45 LEDs
This is power injection: supplying power at additional points instead of expecting everything to draw through the beginning of the strip.
The data can still remain one continuous chain:
DATA
Controller ──→ LEDs ──→ LEDs ──→ LEDs
↑ ↑ ↑
5V/GND 5V/GND 5V/GND
Multiple feeds from the same power source do not create additional current capacity. They give the available current shorter paths to the LEDs.
You do not need to inject power everywhere. Add feeds where the physical layout, current, or voltage drop makes them useful.
5. Choose the wiring for each run
Wire size depends on the current and length of the individual power run, not simply the total LED count.
A short feed powering 45 LEDs has a very different job from a long cable carrying the current for an entire installation.
For each run, consider:
- how much current it may carry;
- its length;
- voltage drop;
- the rating of its connectors.
WLED recommends 22 AWG as a rough minimum for power-injection wiring. Use thicker wire when the run gets longer or needs to carry more current.
The same check applies to the rest of the current path. USB plugs, JST connectors, barrel connectors, terminal blocks, switches, and other connections can become the limiting point even when the wire itself is large enough.
For larger power supplies capable of delivering substantial current, branch fusing may also be appropriate so a short circuit in one smaller injection wire cannot receive the full output of the supply.
6. Connect power, data, and ground
Think of the installation as three separate connections.
Power
Run 5 V and GND directly from the power source to the planned power points.
Data
Connect the controller’s data output to the input of the first LED section, then continue from section to section:
Controller DATA
│
▼
Section 1 ──→ Section 2 ──→ Section 3
Follow the data direction marked on the strip.
Ground
The controller and LEDs need a common ground:
Controller GND ───┐
├── common ground
LED GND ──────────┘
Without the shared reference, the LED data signal may not be interpreted reliably.
7. Set the WLED current limit
Once you know the actual power budget, configure WLED to match it.
In:
Config → LED Preferences
enable the automatic brightness limiter and set Maximum current to a value at or slightly below what the power source can safely provide.
For a 5 V / 3 A supply, that means a limit around or below:
3000 mA
Also make sure the configured LED voltage/type matches the LEDs being used.
WLED estimates the requested LED current and reduces overall brightness when necessary to stay within the configured budget.
This is a software limit. It does not measure the actual current and it does not replace appropriate wiring or power distribution.
Test it under real load
Before powering up:
- check polarity;
- look for exposed conductors or possible shorts;
- confirm the common ground;
- confirm the WLED current limit;
- start at moderate brightness.
Then test the states the installation will actually use.
Include higher brightness and white if those are expected operating conditions.
Watch for:
- dimming farther from a power feed;
- visible color differences between sections;
- flickering;
- controller resets;
- unstable behavior as brightness increases;
- warm wires or connectors.
If you have a multimeter, compare the voltage at the power source with the voltage at more distant LED sections while the LEDs are under load. Voltage measured with little or no current flowing tells you much less about voltage drop.
If something looks wrong
The far end becomes dimmer
Check the power path first:
- injection-point placement;
- wire length and gauge;
- connectors;
- voltage at the affected section under load.
Colors shift toward the end
Voltage drop can cause this, especially when the problem gets worse as brightness increases.
Check the same power-distribution points before assuming the LEDs themselves are faulty.
The LEDs flicker
Flickering is not automatically a power problem.
Also check:
- common ground;
- data connections;
- connectors;
- the first LED where the problem appears;
- data-wire routing and signal quality.
Use the other symptoms and measurements to narrow down the cause.
WLED will not reach the expected brightness
Check the automatic brightness limiter.
If the current limit matches the supply, WLED reducing brightness is expected behavior. Do not raise the configured current beyond the power source’s capacity just to get more brightness.
A cable or connector gets warm
Disconnect or reduce the load and inspect the current path.
Heating can indicate too much current, excessive resistance, an undersized conductor, or a poor connection. It should not be treated as normal.
Before calling it done
The installation should now have:
- a known LED count;
- an estimated possible current demand;
- a known power-source limit;
- a WLED current budget that respects that limit;
- direct LED power rather than routing a large load through the controller;
- power-injection points that make sense for the physical layout;
- wire and connectors appropriate for each run;
- common ground between the LEDs and controller;
- stable behavior under the conditions in which the lights will actually be used.
The exact wiring will change from one installation to another. The process stays the same: work out the load, define the available power, then design a sensible path for that power to reach the LEDs.