UPDATE - I was using Arduino 1.83 recently and found that my code doesn't work as well - make sure you are using 1.67!!
UPDATE - check this out for the simple fix: • Updating Arduino Broke my Code!! FAIL
In this video, I'll show you how I was able to control the famous WS2812B addressable LED using a standard ATMEGA328P running at 16MHz. Yea, I know it's been done before, but what's the fun in that... Here's my 2 cents in how I I did it, plus this is super easy code. Just drop the function in and you're pretty much ready to go. Look for more videos coming up - I plan on working with an FPGA to control 1000's of these LEDs - should be pretty cool. Let me know in the comments below how this method works out for you.
Here's the datasheet for the LED I'm working with:
http://www.world-semi.com/uploads/sof...
World Semi:
http://www.world-semi.com/en/
Google WS2812B in Ebay to find a similar panel that I used in the video.
The CODE is HERE:
http://kevindarrah.com/download/ardui...
NOTE: This has only been tested with 45 LEDs, but should work with as many LEDs as you want. This code has only been tested with the ATMEGA328P-PU running at 16MHz. Using Digital Pin 8 for the Data line to the WS2812B is only supported at this time. I'm 99% sure the LEDs I was testing with are WS2812B's but since the panels are not marked, I could be wrong. Again, let me know how it works out for you.
Check out my Tindie store (trigBoard is available) https://www.tindie.com/stores/kdcircu...
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
/ kdarrah
Twitter: / kdcircuits
For inquiries or design services:
https://www.kdcircuits.com
Смотрите видео Easy Addressable LEDs with Arduino! WS2812B Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Kevin Darrah 01 Март 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 434,731 раз и оно понравилось 4.2 тысяч людям.