How Addressable LED Pixels Work
An addressable LED pixel is a small marvel of integrated circuit engineering. Understanding how they work helps you design better installations, troubleshoot problems faster, and choose the right pixel type for your project.
The Architecture
Each WS2812B pixel is a 5050-package (5mm × 5mm) containing three LED dies (red, green, blue) and a WS2812B controller IC — all bonded to a single lead frame. The IC has four pins: VDD (5V power), VSS (ground), DIN (data in), and DOUT (data out).
When data arrives at DIN, the IC extracts the first 24 bits (the color value for this pixel) and passes all remaining bits out through DOUT to the next pixel. This cascading architecture means the first pixel in the chain receives data first, the second pixel receives the remaining data, and so on down the line. After all data is sent, a reset pulse (50μs+ of low signal) causes all pixels to latch their values and update simultaneously.
PWM Dimming
Each color channel is driven by Pulse Width Modulation. The IC switches the LED on and off at a fixed frequency (~400 Hz for WS2812B, 19.2 kHz for APA102). Brightness is controlled by varying the duty cycle — 50% on-time produces 50% perceived brightness (after gamma correction). With 8-bit resolution per channel, each LED has 256 brightness levels, yielding 256³ = 16,777,216 color combinations.
Signal Propagation
Each pixel reshapes the data signal — acting as a miniature repeater. This is why addressable LED strips can work at all: the digital signal is regenerated at every pixel, maintaining clean logic levels over hundreds of meters of total strip length. However, the signal regeneration adds a tiny delay per pixel (~30μs for WS2812B), limiting the maximum refresh rate for very long chains: 1000 pixels × 30μs = 30ms per frame = 33 fps.
Voltage Considerations
The 5V WS2812B IC has a minimum operating voltage of approximately 3.5V. As current flows through the strip's copper PCB traces, resistance causes progressive voltage drop. At the end of a long unpowered strip, voltage may drop below the IC's minimum, causing dim or glitching pixels. Power injection — feeding 5V at multiple points along the strip — solves this completely.