Controlling RGB LED strip

The RGB LED strips are using a controller chip called WS2811. This chip uses just a single data line (wire) to receive data from a microcontroller. “Timing is everything”, then this chip measure how much time the data line signal is high or low to understand what is 0 and what is 1.

The datasheet can be download from here:
http://auschristmaslighting.com/wiki_source/images/b/ba/WS2811.pdf

Other interesting posts about these LED strips:

http://bleaklow.com/2012/12/02/driving_the_ws2811_at_800khz_with_a_16mhz_avr.html

http://rurandom.org/justintime/index.php?title=Driving_the_WS2811_at_800_kHz_with_an_8_MHz_AVR

http://techblog.zenrobotics.com/2013/04/bit-banging-ws2811-led-strips-with-pwm.html

Using an iMX233-OLinuXino-NANO board to control WS2811 LED strip using LCD interface:
http://spritesmods.com/?art=imx233-ws2811

Also take a look at this nice project using these LED stripes:
http://www.pjrc.com/teensy/td_libs_OctoWS2811.html

Update: This is a nice post about WS2812 explaining more details about how it works:
http://cpldcpu.wordpress.com/2014/01/14/light_ws2812-library-v2-0-part-i-understanding-the-ws2812/

Update2: He improved his code: https://github.com/cpldcpu/light_ws2812/

Leave a comment