Hey all, I just posted this short tutorial and thought it might be of interest. Don't know the best group for this, so I'll do it here and trust it to end up in the right location.
Quick tutorial on driving WS2812(B) RGB LEDs with 8MHz AVR
Wow that's a nice site! (not just the 812 stuff).
Pretty cool device, but did not see where they can be had! Neither digikey or mouser lists the part.
Most people are buying them on ebay I think.
EDIT: yup, a search for "addressable LED" on ebay hits a lot of similar devices (though not 812) but most seem to come in strips which may not be exactly what everyone needs for Santa's ornaments ;-)
Yes, I've gotten them from ebay. Strips, break-apart boards and bare LEDs. Search WS2812B. Or WS2811 for non-SMD LEDs. The flexible strips are very easy to cut up for any length, even down to a single LED.
Wow that's a nice site! (not just the 812 stuff).
Well, for my part (Introduction to Microcontrollers series), thanks for the compliment!
Yes, ecellent article... one could increase bandwidth ( if suitable) by connecting string 1( of LEDs) to Pb0, string 2 to Pb1 etc....and modifying the ASM software and the array of data.(maybe)
The WS2812s can also be had from LadyAda and Sparkfun on single breakout boards for cases where strips are not suitable ( particularly when used in sew-able electronics ( for Flora or Lilypad boards ).
Also, agreed. A truly excellent tutorial!
Martin Jay McKee
There's several libraries that support the WS2812b, and as far as I know at least one version works on every Arduino except the new Tres. I've used ws2812b strip with 144 leds connected to a barebones ATMega328 running on the internal 8Mhz clock, and it works fine. :)
There's several libraries that support the WS2812b,