Saturday, August 25, 2018

LPD 8806 raspberry pi


LPD8806 datasheet
https://cdn-shop.adafruit.com/datasheets/lpd8806+english.pdf

LPD8806 strips have input side and output sides.

Arduino
https://cdn-learn.adafruit.com/downloads/pdf/digital-led-strip.pdf

https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md

SPI test
https://elixir.bootlin.com/linux/latest/source/tools/spi/spidev_test.c

https://pypi.org/project/raspi.lpd8806/

alright.  LPD8806 can only support upto 20MHz
Default RPi3 SPI clock is 125MHz.

change SPI clock
https://www.raspberrypi.org/forums/viewtopic.php?t=177965

https://github.com/ManiacalLabs/BiblioPixel

OK:
Raspberry pi 1 or zero or zero W.  works w/ py-spidev & RPi-LPD8806



Raspberry pi 3 does not even w/ 500KHz or lower SPI clock.  spitest shows SPI port behaves normal.  It could be a py-spidev problem.  Not sure.

====
    1  cd
    3  git clone https://github.com/doceme/py-spidev.git
    4  git clone https://github.com/adammhaile/RPi-LPD8806.git
    6  cd py-spidev/
    8  sudo python setup.py install
    9  cd ..
   11  cd RPi-LPD8806/
   14  sudo python setup.py install
   15  python example.py
   16  sudo modprobe spi_bcm2708
   17  sudo vi /boot/config.txt
   18  sudo reboot


No comments:

Post a Comment