27 May '13, 7pm

WS2811 can be addressed at 800kHz using a 8MHz clock - Timing is everything and that's why most communication prot...

WS2811 can be addressed at 800kHz using a 8MHz clock - Timing is everything and that's why most communication prot...

Timing is everything and that’s why most communication protocols require a very accurate clock source. The WS2811 LED strip controllers are no different. But [Danny] figured out a way to drive them reliably with an 8MHz clock source . The WS2811 has become one of the most popular controllers for RGB pixels and strips alike. We’ve seen several hacks used to address them, including the 16MHz AVR technique that inspired [Danny] to take on this project. He planned to use that library but the 25-day shipping time for a 16MHz crystal drove home to invent a way to use the internal oscillator instead. The gist of the hack is that he wrote assembly code to handle pairs of binary bit values. With a code block for each of the four possible combinations in hand he had to find a way to craft the conditional jumps to preserve accurate timing. After hitting the wall trying to solve this ...

Full article: http://hackaday.com/2013/05/27/ws2811-can-be-addressed-at...

Tweets