https://github.com/nikolay-kha/android-things-ws2812b
Android Things demo project which controls WS2812B LED strip
https://github.com/nikolay-kha/android-things-ws2812b
android android-things christmas-lights raspberry-pi-3 ws2812b
Last synced: 7 months ago
JSON representation
Android Things demo project which controls WS2812B LED strip
- Host: GitHub
- URL: https://github.com/nikolay-kha/android-things-ws2812b
- Owner: Nikolay-Kha
- License: cc0-1.0
- Created: 2017-09-07T23:45:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-08T23:08:55.000Z (over 8 years ago)
- Last Synced: 2023-10-19T17:51:05.037Z (over 2 years ago)
- Topics: android, android-things, christmas-lights, raspberry-pi-3, ws2812b
- Language: Java
- Size: 292 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Android Things demo project which controls WS2812B LED strip. Uses SPI bus for communication with strip. Can be used as a library for other projects.

For Raspberry Pi 3 connect strips's D_IN to GPIO10(SPI0_MOSI).
# How it works
It uses blocks of 4 bits in SPI transmission to generate one bit of WS2812B
protocol. Diagram below explains such usage of SPI.

# License
Creative Commons CC0, see LICENSE.txt for details. Basically it means that this
project is in the public domain.