Skip to Content
Circuitera

WS2812B addressable RGB LED

Wire a WS2812B strip from DIN, choose a compatible logic level and size the power source for the installed pixels.

WS2812B addressable RGB LED photograph
16346-SMD LED - RGB WS2812B Strip of 50 -01.jpg by SparkFun Electronics · CC BY 2.0. Resized and encoded as WebP without cropping.

Data path

A pixel consumes its own color data and regenerates the remaining stream for the next pixel. Connect the controller at DIN and follow the direction marks along the strip.

Source: Worldsemi

Power and levels

Use an appropriately rated supply for the strip length and intended brightness. Share signal ground with the controller. A 3.3 V data output may need a level shifter when the LEDs are powered at 5 V.

Source: Worldsemi

Timing and troubleshooting

Use a library that implements the required timing for your platform. When pixels flicker, check power drop, data level and the first pixel’s orientation. Verify reset timing against the exact revision.

Source: Worldsemi

Specifications

ParameterValue or conditionSource
Data rate800 kbit/s nominal in the cited WS2812B sheetWorldsemi
Color data24 bits per pixel in green, red, blue order for the cited partWorldsemi

Compatibility and practice

Use a common ground and verify data thresholds and power for the exact LED revision.

Sources and datasheets