SPI & WS2801 LED Strips
Posted: Tue Feb 03, 2015 1:00 am
Hi All,
I have some of these WS2801 LED strips: http://proto-pic.co.uk/rgb-led-chain-20 ... dressable/
They work fine with my Arduino, but I'm struggling to get them to work with my PI, and would appreciate any advice!
I have a B+, and have enabled SPI in rasp-config, rebooted and can see the "spidev0.0" entry in /dev
I've connected the "data" line to pin 10, and the clock line to pin 11 (according to this diagram http://www.raspberrypi-spy.co.uk/2014/0 ... nd-pinout/)
I've connected the 5v line to the 5v on the GPIO (pin2), and the ground to pin6
I'm then trying to run the Adafruit test program as "root": https://github.com/adafruit/Adafruit-Ra ... Dpixels.py with the number of LEDs set to 5 so I don't draw too much power from the Pi.
I've also tried the PixelPi library https://github.com/scottjgibson/PixelPi
No matter what I do, the LEDs refuse to so much as blink! They just remain out the entire time. I've also tried connecting them directly to an external 5v supply and connecting the ground of that to a ground on the GPIO.
Have I missed something, I don't really know what else to try! Like I said,they work fine with my Arduino so it's definitely something to do with the Pi config...
thanks!
I have some of these WS2801 LED strips: http://proto-pic.co.uk/rgb-led-chain-20 ... dressable/
They work fine with my Arduino, but I'm struggling to get them to work with my PI, and would appreciate any advice!
I have a B+, and have enabled SPI in rasp-config, rebooted and can see the "spidev0.0" entry in /dev
I've connected the "data" line to pin 10, and the clock line to pin 11 (according to this diagram http://www.raspberrypi-spy.co.uk/2014/0 ... nd-pinout/)
I've connected the 5v line to the 5v on the GPIO (pin2), and the ground to pin6
I'm then trying to run the Adafruit test program as "root": https://github.com/adafruit/Adafruit-Ra ... Dpixels.py with the number of LEDs set to 5 so I don't draw too much power from the Pi.
I've also tried the PixelPi library https://github.com/scottjgibson/PixelPi
No matter what I do, the LEDs refuse to so much as blink! They just remain out the entire time. I've also tried connecting them directly to an external 5v supply and connecting the ground of that to a ground on the GPIO.
Have I missed something, I don't really know what else to try! Like I said,they work fine with my Arduino so it's definitely something to do with the Pi config...
thanks!