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

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

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.