I've just managed to make it work so I will give some feedback for those 
who would like to do the same.

   - Start with a fresh Angstrom kernel.
   - Disable HDMI :
      - Plug in the mini-usb cable from your board to your computer, open 
      the Beaglebone partition and the uEnv.txt inside it.
      - Add this to the file : 
      capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
   - Boot the board. Run : *cat /sys/devices/bone_capemgr.*/slots*. You 
   should see the two lines concerning the HDMI with P-O-- flags. There's no L 
   in this so it means it is disabled. 
   - Follow the instructions to enable SPI : 
   
http://hipstercircuits.com/enable-spi-with-device-tree-on-beaglebone-black-copy-paste/
 
   . You don't need to try the bus yet, just make sure to download the python 
   libraries he mentioned. 
   - You have rebooted your board, if you run  *cat 
   /sys/devices/bone_capemgr.*/slots *you should see a line with BB-SPI1-01.
   - Download this to your BB : https://github.com/doceme/py-spidev 
   - Run *python setup.py install*
   - In this repository : 
   
https://github.com/hackerspaceshop/RaspberryPI_WS2801_Bridge/tree/master/software.
 
   Download the 
LedStrip_WS2801.py<https://github.com/hackerspaceshop/RaspberryPI_WS2801_Bridge/blob/master/software/LedStrip_WS2801.py>file
 to your BB. You can use the demo.py to have an idea of what you can do 
   with the library.
   - HW time : make sure your led strand is correctly powered 
   (http://learn.adafruit.com/adalight-diy-ambient-tv-lighting/wiring-1 if you 
   need help). Wire the led strand input to your BB : GND goes to pin 1 of P9, 
   CO to pin 31 of P9, DO to pin 30 of P9.
   - Finally run *python demo.py*

Enjoy ! If it helped you, just let me know ; )

Le dimanche 20 octobre 2013 14:59:55 UTC+2, [email protected] a écrit :
>
> Hello guys !
>
> I'm looking for a way to use a strip of 50 WS2801 leds with my beaglebone 
> black. All the documents I've found are related to Arduino or Raspberry so 
> I have some issues to know the path I should follow. 
>
> I have this driver : http://elinux.org/BeaconBoard so currently I'm 
> trying to rebuild an Angstrom kernel with this. 
>
> If anyone has already done it or have any advice I'm eager to hear it ! 
>
> Thanks !
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to