Driving NeoPixels / WS2812 / WS2812b and SK6812
Posted: Tue May 23, 2017 11:47 pm
If anyone is interested in using the NanoPi Neo Air(and most likely any H3 board sold my Friendly Arm) to drive Neopixels using the SPI port without having to do any fancy stuff, check out this repo
https://github.com/leonyuhanov/SK6812viaSPI
I created it for a bunch of different platforms, mainly the Rpi and the Nano Pi, to drive Neopixels using the SPI port
Here is an example video of 2 strands being driven. I'm driving a WS2812 and an SK6812 in parallel to show that the timing is identical and works.
https://www.instagram.com/p/BUOGCK1FK8i/?taken-by=wow_elec_tron
Note there are 2 ways you can do this, either using the MATRIX GPIO library provided by FriendlyARM and using its SPI class in C/C++ or using the native SPIDEV driver
https://github.com/leonyuhanov/SK6812viaSPI
I created it for a bunch of different platforms, mainly the Rpi and the Nano Pi, to drive Neopixels using the SPI port
Here is an example video of 2 strands being driven. I'm driving a WS2812 and an SK6812 in parallel to show that the timing is identical and works.
https://www.instagram.com/p/BUOGCK1FK8i/?taken-by=wow_elec_tron
Note there are 2 ways you can do this, either using the MATRIX GPIO library provided by FriendlyARM and using its SPI class in C/C++ or using the native SPIDEV driver