An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# PiLi
Using Raspberry Pi to control LED Lights.

![screen shot 2017-04-05 at 5 53 37 pm](https://cloud.githubusercontent.com/assets/11993240/24728661/dc40e5fe-1a28-11e7-9e17-fb1a0d65df0b.png)

## 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