Skip to datasheet
Addressable RGB pixel

WS2812B Working Principle

Learn how WS2812B works with an illustrated explanation and practical readings.

WS2812B at a glance

Follow the labeled connections and functional stages

WS2812B working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

4 stages · Explore one step at a time

Step 1 / 4

Supply every pixel

Connect VDD and VSS in parallel across the string. Use a supply and wiring sized for the complete load.

Step 2 / 4

Send a GRB word

Send eight green bits, eight red bits and eight blue bits, with bit 7 first in each byte.

Step 3 / 4

Continue the chain

The first pixel retains its word and forwards the remaining words through DOUT.

Step 4 / 4

Finish the frame

Hold DIN LOW for more than 280 µs. Brightness is then maintained by internal PWM until another frame is received.

Component view