https://github.com/four43/garage-door-js
A connected garage application, running on Raspberry Pi, NodeJS
https://github.com/four43/garage-door-js
Last synced: about 1 year ago
JSON representation
A connected garage application, running on Raspberry Pi, NodeJS
- Host: GitHub
- URL: https://github.com/four43/garage-door-js
- Owner: four43
- License: mit
- Created: 2014-08-16T19:18:28.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-17T00:39:58.000Z (almost 12 years ago)
- Last Synced: 2025-02-09T10:31:01.415Z (over 1 year ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
garage-door-js
==============
A connected garage application, running on Raspberry Pi, NodeJS
Parts List
----------
USB Bluetooth Adapter - http://www.amazon.com/gp/product/B005Z5HT2M/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1
5V Relay for Arduino/Rasperry Pi - http://www.amazon.com/gp/product/B00E0NTPP4/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
Garage Door Sensor - http://www.amazon.com/gp/product/B00CAIVNM4/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1
Raspberry Pi
USB Wifi Adapter
AC Adapter
Wiring
------
Devices
-------
Raspberry Pi
* Configure Wireless Network, with static IP.
* Compile NodeJS for ARM
Garage Door Sensor
* Has a state, we simply poll for data using the attached GPIO pins
* Returns "0" when sensor close, "1" when the are apart.
* The sensor is a bit jittery, probably best to wait for an average.
Relay
* We write a boolean to the GPIO pin
* 0 - Relay is closed, current flows, 1 - Relay is open, no current.