To reliably run a strip LED WS2812B, you need a non-dimmable 5V DC switching power supply (driver) sized at 60mA per LED (0.3W/LED), and you must completely bypass any wall-mounted trailing-edge AC dimmers. Attempting to dim the AC mains feeding the 5V power supply will destroy the power factor, trigger inrush faults, and induce data-line flicker. Dimming must be handled exclusively via the microcontroller's data pin using software PWM.

Lumens, Watts, and Efficacy Context

Before sizing your driver, you must understand the luminous efficacy of the WS2812B compared to standard lighting. The WS2812B is an addressable RGB chip optimized for dynamic color mixing, not raw white-light efficacy. When driven to full white (all three RGB diodes at 20mA), it draws 60mA but produces significantly fewer lumens per watt than a dedicated white COB strip or an AC LED bulb.

Light Source Watts (per meter / unit) Lumens (approx) Efficacy (lm/W) Primary Use Case
Strip LED WS2812B (60 LEDs/m) 18W / meter ~750 lm / m ~41 lm/W Dynamic RGB, pixel mapping
24V White COB LED Strip 12W / meter ~1200 lm / m ~100 lm/W Task lighting, cove wash
Standard 9W AC LED Bulb 9W (total) ~800 lm ~88 lm/W General room illumination

Because the WS2812B's efficacy is roughly half that of dedicated white lighting, you cannot use standard 'lumens per room' calculators to size your strip for primary task lighting. You must size the power circuit strictly based on the maximum current draw (60mA per pixel) to prevent voltage sag.

The Dimmer Compatibility Trap: Trailing Edge and Min Load

A common mistake when retrofitting a strip LED WS2812B into an existing room is leaving the wall's trailing-edge (ELV) dimmer in the circuit to control the 5V power supply's AC input. This fails for three specific reasons:

  1. Minimum Load Requirements: Trailing-edge dimmers like the Lutron Diva C•L require a minimum load (typically 10W to 15W) to keep their internal triacs/FETs latched. If your WS2812B strip is displaying dark colors or is turned off via code, the 5V power supply draws less than 2W. The dimmer drops below its minimum load, drops the circuit, and the microcontroller loses power.
  2. Phase-Cutting an SMPS: Switch-mode power supplies (SMPS) expect a clean sine wave. Chopping the AC waveform with a trailing-edge dimmer forces the SMPS's bridge rectifier to draw current in sharp, high-amplitude spikes rather than a smooth curve.
  3. The Flicker Fix: The WS2812B relies on an 800kHz 1-wire data protocol with a strict ±150ns timing tolerance. When the 5V DC rail suffers from AC ripple induced by a dimmed SMPS, the internal logic of the WS2812B misreads the data stream, resulting in random color flashing (flicker). The fix: Bypass the AC dimmer entirely. Use a smart relay (like a Shelly Plus 1) for 100% AC switching, and handle all dimming via your microcontroller using FastLED.setBrightness().

Circuit Impact Math: Inrush Current and Driver PF

Let us calculate the exact circuit requirements for a standard 5-meter roll of 60 LEDs/m (300 total LEDs). According to the WorldSemi WS2812B datasheet, maximum current is 60mA per pixel.

  • Max DC Current: 300 LEDs × 0.06A = 18A
  • Max DC Wattage: 18A × 5V = 90W
  • Driver Sizing (80% Rule): 90W / 0.80 = 112.5W. You must select a 150W 5V DC driver to ensure thermal longevity.

However, the AC side of the circuit tells a different story due to Power Factor (PF) and Inrush Current. A standard 150W 5V enclosed power supply (like the Mean Well LRS-150-5) lacks Active Power Factor Correction (PFC). As detailed in All About Circuits' guide on SMPS design, non-PFC supplies typically exhibit a PF of 0.50 to 0.60.

Circuit Math Callout:
Apparent Power (VA): 90W / 0.55 (PF) = 163 VA.
AC Current Draw: 163 VA / 120V AC = 1.35A continuous.
Cold Inrush Current: The Mean Well LRS-150-5 datasheet specifies a cold start inrush of 30A at 115VAC. If you are putting multiple WS2812B strips on a single 15A branch circuit, the combined inrush of their power supplies will instantly trip a standard thermal-magnetic breaker. You must use a breaker with a C-curve or D-curve trip profile (or a slow-blow fuse) to handle the capacitive inrush of the SMPS bulk capacitors.

Heat, Enclosure Constraints, and Voltage Drop

The WS2812B generates significant heat at the package level. When running full white at 18A, the flexible printed circuit (FPC) will reach 50°C to 60°C within minutes if adhered to a non-conductive surface like drywall or wood. You must mount the strip to an aluminum extrusion channel to act as a heat sink. Without aluminum, the thermal rollover protection inside the WS2812B will throttle the current, causing a visible color shift toward red (as the blue and green diodes drop in efficiency faster than red when hot).

Furthermore, pushing 18A through the strip's internal 2oz copper traces will cause severe voltage drop. By the 2-meter mark, the VCC pin at the LED will see less than 4.2V, causing the last third of the strip to flicker or display amber instead of yellow. You must inject 5V power at both ends of a 5-meter strip, and at the midpoint for any run longer than 3 meters. Use a minimum of 16AWG (preferably 14AWG) silicone wire for the injection pigtails to keep the voltage drop under 0.2V.

Decision Tree: Sizing Your WS2812B Driver and Controller

Do not guess your components. Use this decision path to select the exact hardware for your build based on your LED count.

Condition (LED Count) Max Current (A) Required 5V Driver (Watts) Concrete Pick: Power Supply Concrete Pick: Controller
Under 50 LEDs (e.g., monitor backlight) 3.0A 25W Mean Well LRS-35-5 Arduino Nano (5V logic)
51 to 150 LEDs (e.g., single desk edge) 9.0A 75W Mean Well LRS-75-5 ESP32 DevKit v1 (via logic level shifter)
151 to 300 LEDs (e.g., full 5m roll) 18.0A 150W Mean Well LRS-150-5 ESP32 + WLED firmware
Over 300 LEDs (e.g., multi-roll ceiling cove) 18A+ per segment Multiple 150W units 2x Mean Well LRS-150-5 (parallel data, separate AC feeds) ESP32 + WLED with virtual LED segments
Final Hardware Default: If you are building a standard 5-meter (300 LED) entertainment center or ceiling cove, buy the Mean Well LRS-150-5 for power and an ESP32 DevKit v1 running WLED. Inject power at the 0m, 2.5m, and 5m marks using 14AWG wire, bypass your wall dimmer, and use the WLED web interface for all brightness and color control. This combination guarantees clean 5V DC delivery, eliminates AC phase-cut flicker, and provides robust Wi-Fi control without requiring custom C++ coding.