https://github.com/henrytwo/piblinds
Raspberry Pi powered IoT Blinds
https://github.com/henrytwo/piblinds
Last synced: 12 months ago
JSON representation
Raspberry Pi powered IoT Blinds
- Host: GitHub
- URL: https://github.com/henrytwo/piblinds
- Owner: henrytwo
- Created: 2019-08-22T18:14:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-22T18:37:33.000Z (almost 7 years ago)
- Last Synced: 2025-06-03T16:03:27.459Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PiBlinds
Raspberry Pi powered IoT Blinds
Demo: https://www.youtube.com/watch?v=M4cTFb5kdck
## Hardware Setup
A generic 360 degree continuous servo was used with an Adafruit PWM Board (https://learn.adafruit.com/16-channel-pwm-servo-driver/python-circuitpython)
Two magnetic reed switches were setup at the upper and lower boundaries to prevent damanage to the blind. In the demo setup, GPIO 22 was assigned to the lower boundary and GPIO 27 was assigned to the upper. This can be modified in `main.py` to accomodate a different setup.
The sprocket was a 120% scale print of https://www.thingiverse.com/thing:70179
## Software Setup
Install dependences:
`sudo pip3 install adafruit-circuitpython-pca9685`
`sudo pip3 install flask`
Run `python3 main.py` and go to the ip address of the Raspberry Pi (Flask should be bound to all interfaces available).
To control the system from outside the network, you can tunnel the Pi to a remote server via a VPN and remote proxy the webapp. Alternatively, you could port forward.
Created by Henry Tu, August 2019