« DanceShanty | Main | XBee Pulse I/O »
February 1, 2012
XBee Garage Door
The XBee Garage Door is an automation project which allows you to connect your automatic garage door lift to your mobile telephone via an Android or a mobile web application. This project was featured in Make Magazine Vol. 30 in the article "12,000-mile .
The XBee Garage Door project uses a Digi XBee to communicate and attaches to the door using a hardware design called the XBee Pulse I/O—a general purpose, open-source hardware design for simple automation projects.
There are four components to making your own XBee Garage Door:
- An Breadboarded or populated printed circuit board (PCB) XBee Pulse I/O
- A door-closure sensor and length of wire to connect to your existing automatic garage door lift button
- A ConnectPort X gateway running the XIG application or a computer running the XIG with an XBee module attached
- Using the Android or Web application to monitor and control your door remotely
Building Your Own XBee Pulse I/O Board
You can build your own your XBee Pulse I/O from a prepared PCB or by breadboarding your own. Complete instructions are available on the XBee Pulse I/O page.
Attaching the Sensors and Garage Door Lift
Installing the XBee Pulse I/O into your garage is easy. Follow these simple steps:
- Affix the free end of the door closure sensor to the bottom of your garage door
- Attach lead wires to the other half of the sensor; attach it to the wall opposite the sensor when the door is in the fully closed position.
- Connect this sensor to input 1 of the XBee Pulse I/O PCB, or between XBee pin AD1 and ground on the PCB.
- Attach two wires in parallel to the button used to open your garage door
- Attach the other side of these two wires to the pulsed output of the XBee Pulse I/O or between the normally open and common terminals of the relay on your breadboard.
- Power the XBee Pulse I/O with 4.5v-9v power.
- You're done installing!
Obtaining the XIG and Using a Gateway
Obtain a Digi ConnectPort X2 gateway from someplace such as SparkFun or order a second XBee Series 2 module and attach it to your computer using a USB or serial adapter such as the SparkFun XBee Explorer USB.
Download and install the XBee Internet Gateway from the XIG site on Google Code and follow the documentation to get the XIG running on your Digi ConnectPort gateway or PC.
Using the Android or Web Application
Next follow these steps:
- Create a free developer account on iDigi, the iDigi webservice will be used to connect your gateway and make it securely accessible from anywhere. This will make it so not just anybody can control your garage door.
- Add your gateway to the iDigi Device List by using the "plus" button, selecting "Add Manually" and then choosing your Digi ConnectPort gateway (found on a sticker on the gateway) or XIG-on-a-PC's MAC address (found in the UI)
- Start the Android or navigate to the web application
- Select your gateways device id as it is specified from the iDigi device list
- Select the XBee address which is installed in the XBee Pulse I/O attache to your garage door lift
- Voila! you can now monitor and control your garage door from anywhere!
Posted by jordanh at February 1, 2012 5:14 PM |
TrackBack URL for this entry: