https://github.com/dmtaub/apa102_pi
Using the APA102 LED strips on a Raspberry Pi
https://github.com/dmtaub/apa102_pi
de
Last synced: 3 months ago
JSON representation
Using the APA102 LED strips on a Raspberry Pi
- Host: GitHub
- URL: https://github.com/dmtaub/apa102_pi
- Owner: dmtaub
- License: gpl-2.0
- Created: 2015-09-25T00:37:11.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-19T20:30:54.000Z (almost 8 years ago)
- Last Synced: 2025-04-02T08:34:35.593Z (6 months ago)
- Topics: de
- Language: Python
- Homepage:
- Size: 195 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# APA102_Pi
Pure Python library to drive APA102 LED stripes; Use with Raspberry Pi.Prerequisite: spidev v3. I used the one from here: https://github.com/doceme/py-spidev
The LED stripe is attached to the Raspberry Pi like this:
- Gnd to a Gnd pin, e.g. the one right next to the SPI pins
- Data to SPI MOSI
- Clock to SPI SCLK
- Do *not* connect the LED stripe power to the Raspberry Pi: You will kill it right away.Instead, use a separate 5V power supply to power the stripe. All of the grounds must be shared.