Page 1 of 1

Led RGB strip light with Nintendo NES Controller

Posted: Mon Sep 11, 2017 2:34 am
by WookieCornia
Hello all!! New to the forums here but have done some simple projects with the pi before. I am looking to controll a LED light strip with a Nintendo NES controller to use in a lighted sign made from stained glass my friend is building. I see tutorials on using the pi to control the LED light strip but nothing on coding it to use a USB device such as a USB NES controller. Would this be difficult to code??? I am no expert at that part of it. Any advice would be great........ THANK YOU.........

Re: Led RGB strip light with Nintendo NES Controller

Posted: Mon Sep 11, 2017 7:12 am
by OutoftheBOTS
I haven't used the Nintendo NES controller so can't comment on that but I have done a fair bit of playing with RGB lights/strips.

There is a number of different chips getting around now used i the RGB LEDs. The orginial ones and their clones only have a data line so it needs to be pulsed at a perfect timing so they were a little difficult to use. Then came the Apa102 chip used in the next generation of RGB LEDs and they havea clock line so you can use then at what ever timeing you line just got to mpulse the clock line to send a bit. There is now a clone to the Apa102 called the sk9822 but they aren't nowheer as good the colours are very pale compared to the Apa102. I do have a good library I made to drive the Apa102/sk9822 on the SPI pins of the RPi in python plus there is lots of other libraries getting around too.

Do beware that lots of sellers are selling RGB LED strips advertised as Apa102 but when they arrive you will find they are infact the clone sk9822