Intelligent LEDs – Using WS2812B LEDs with the Papilio.

— by

 

Hamster shows us how to use the latest and greatest WS2812B LEDs!

Ws2812b leds.jpg

The interface is pretty simple – the state of the bus has to be reset by holding the data signal low for 50us, followed with sending out 24 bits for each LED that is connected in the string. The ‘1’ bits are sent by driving the data line high for 0.9us, followed by driving the line low for 0.35ns, The ‘0’ bits are sent by driving the line high for 0.35us, then driving it low for 0.90us. The frame is in 8-bit Green, 8-bit Red then 8-bit Blue format, and within each colour the MSB is sent first.

,

Newsletter

Our latest updates in your e-mail.


Leave a Reply