https://github.com/cashc/pili
Using Raspberry Pi to control LED Lights
https://github.com/cashc/pili
gpio-pins led-strips raspberry-pi
Last synced: 6 months ago
JSON representation
Using Raspberry Pi to control LED Lights
- Host: GitHub
- URL: https://github.com/cashc/pili
- Owner: cashc
- Created: 2017-03-18T03:27:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-20T02:21:43.000Z (about 8 years ago)
- Last Synced: 2025-02-05T13:43:57.438Z (8 months ago)
- Topics: gpio-pins, led-strips, raspberry-pi
- Language: HTML
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PiLi
Using Raspberry Pi to control LED Lights.
## Run
`export FLASK_APP=app.py`
`sudo pigpiod`
`flask run --host=0.0.0.0`
_visible on local network_## Imports
`pip3 install flask`
`pip3 install pigpio`## References
- [how to wire led strips w/ pi](http://dordnung.de/raspberrypi-ledstrip/)
- [single led on/off](https://thepihut.com/blogs/raspberry-pi-tutorials/27968772-turning-on-an-led-with-your-raspberry-pis-gpio-pins)# Hardware Purchases
- [Raspberry Pi 3 Model B](http://a.co/4BgI3NM)
- [Raspberry Pi 3 Case - Red/White ](http://a.co/4jC330Z)
- [Power Supply for Raspberry Pi 5V 2.5A w/ On Off Switch](http://a.co/0USHDWa)
- [5M SMD 5050 RGB 300 LED Flexible Tape Strip Light DC 12V](http://www.ebay.com/itm/172418697496?_trksid=p2060353.m2749.l2649&var=471251186562&ssPageName=STRK%3AMEBIDX%3AIT)
- [20M 5050 3528 LED RGB Strip 4 Pin Extension Connector Cable Wire](http://www.ebay.com/itm/152410549178?_trksid=p2060353.m2749.l2649&var=451702443413&ssPageName=STRK%3AMEBIDX%3AIT)
- _Free_: 12v power supply, breadboard, jumpers, MOSFETs
#### total: $67.47