https://github.com/hzeller/spixels
Spixels - 16-SPI LED Raspberry Pi adapter with library (SPI - Pixels).
https://github.com/hzeller/spixels
Last synced: 4 months ago
JSON representation
Spixels - 16-SPI LED Raspberry Pi adapter with library (SPI - Pixels).
- Host: GitHub
- URL: https://github.com/hzeller/spixels
- Owner: hzeller
- License: lgpl-3.0
- Created: 2016-05-27T02:10:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T17:36:45.000Z (over 2 years ago)
- Last Synced: 2025-03-17T19:21:20.362Z (7 months ago)
- Language: C++
- Homepage:
- Size: 2.25 MB
- Stars: 40
- Watchers: 8
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SPI Pixels - Control 16 LED strips at once
==========================================
http://spixels.org/Parallely feeding 16 SPI LED strips with a Raspberry Pi.
This is the hardware and library separated out of the [FlaschenTaschen] project
to be used independently.This provides a Raspberry Pi Adapter to connect up to 16 SPI-type LED strips
(such as **APA102**, **WS2801**, **LPD6803**), that are fed by the Raspberry Pi
in parallel for fast update rates.The C++ library can be found in [include/](./include) and
[lib/](./lib), with examples in the, you guessed it,
[examples/](./examples) directory.If you want to use the library in your own projects, just add it as a
sub-module to your project:```
git submodule add https://github.com/hzeller/spixels
```You now have a subdirectory `spixels/` in your project. See
the [Makefile](./examples/Makefile) in the examples/ directory as a
template how to use it with your project.You find the board in the [hardware/](./hardware/pi-adapter-16) directory
(including Gerbers and OshPark link).The adpater is compatible with any Raspberry Pi with 40 GPIO pins, such as the
Pi 1 B+, Pi 2 or Pi 3.Of course, you can use the MultiSPI feature to send data to other simple
devices.![]()
A single APA102 strip connected to the board:
[![Spixels simple][run-vid]](http://youtu.be/HAbR64yrjUk)
This is used in the [FlaschenTaschen] project, in which only 9 of the 16
connectors are used, one for each 'crate column'. The update rate with
WS2801 reaches 160fps!.
[FlaschenTaschen]: https://github.com/hzeller/flaschen-taschen
[run-vid]: ./img/spixels-video.jpg