LED Communication Protocols Compared
Different LED pixel products use different communication protocols. Understanding these protocols helps you choose compatible controllers, predict performance limits, and troubleshoot signal issues.
WS2812B Protocol (Single-Wire NRZ)
The WS2812B uses a single data line transmitting at 800 Kbps. Each bit is a precisely timed pulse: logical 1 = 0.7μs high + 0.6μs low; logical 0 = 0.35μs high + 0.8μs low. Timing tolerance is ±150ns. A reset occurs after 50μs of continuous low. Pros: single wire, simple wiring. Cons: timing-critical (requires hardware timers or DMA), susceptible to noise on long cable runs, ~400 Hz PWM causes visible flicker on camera.
APA102 Protocol (SPI)
APA102 uses standard SPI with clock (CLK) and data (MOSI) lines. Data is clocked at up to 20 MHz. Each pixel receives a 32-bit frame: 3-bit header (111), 5-bit global brightness, 8-bit blue, 8-bit green, 8-bit red. The explicit clock line eliminates timing sensitivity — the data rate is limited only by clock speed, not software timing precision. This makes APA102 ideal for resource-constrained or multi-tasking controllers.
DMX512
DMX512 is the professional stage lighting standard. It transmits 512 channels per universe at 250 Kbaud over RS-485 differential signaling (reliable over 300m cable runs). Each RGB pixel uses 3 channels, so one universe drives 170 pixels — fine for stage fixtures, but limiting for large pixel displays. XLR 5-pin or RJ45 connectors are standard.
E1.31 (sACN) — DMX Over Ethernet
E1.31 (streaming Architecture for Control Networks) transmits DMX512 universes over standard IP networks via multicast UDP. Up to 63,999 universes are supported, enabling millions of pixels. E1.31 is the de facto standard for large-format pixel shows controlled by xLights, Vixen, or commercial lighting consoles.
Art-Net
Art-Net is another DMX-over-Ethernet protocol, widely used in the entertainment industry. It supports 32,768 universes and is compatible with most professional lighting consoles and software. Both unicast and broadcast modes are available. Art-Net 4 adds subscription-based multicast for improved network efficiency.
DDP (Distributed Display Protocol)
DDP is a modern, purpose-built protocol for pixel control. Unlike E1.31 and Art-Net, DDP sends variable-length packets — no universe splitting required. This simplifies configuration and reduces overhead. DDP is natively supported by WLED, FPP (Falcon Player), xLights, and most modern controllers.