This is my first Instructable, so be easy on me! :-)

Although there are many garage door projects on Instructables using Arduinos, I needed/wanted something different. Last year, we had a warm summer and when I would come home after work, I would leave the garage door open about 1 foot so it could cool off. The trouble was that several nights I left the garage door open overnight :-(  So I thought, I could use an Arduino with a real-time clock (RTC) to automatically close the garage door at 9 pm. So I built the first version of a garage controller. I used two sensors, one for "door is closed" and the other for "door is fully open" and a relay. The controller worked quite well for the rest of the summer.

When winter came, I decided to unplug the garage controller since I would leave the garage door partially open. This year when it started getting warm again, I plugged in the garage controller again. The trouble was that the RTC was not very accurate and the time was off. The only way to correct the time was to plug my laptop via USB to the garage controller, a pain because I had installed the garage controller on top of the garage door opener. So I had to climb a ladder with my laptop, connect the USB port to the Arduino, upload a "new" sketch that had to correct time and then upload the regular sketch (that didn't set the RTC).

In the meantime, I had bought a factory refurbished Vera2 "Smart Home Controller" from Mi Casa Verde on eBay. I had also found a Z-Wave home thermostat at Fry's for $14 so I could automatically set schedules for the heating and air conditioning. The Vera also allows me to remotely control the thermostat from my cell phone using one of the many apps that talk to the Vera.

Given that I had the Vera (that keeps accurate time) and the fact that you can write your own "plugins" for the Vera, I thought, I should connect my garage controller to the Vera. Once I connected my garage controller, I thought, Hey, I have an Arduino in the garage, what else can I control? So I decided to add more relays to control my irrigation system and replace the timer I have in the garage. Have you ever tried to manually turn on one zone with today's timers? Now, with my cell phone, I just tap a button!

The garage controller connects to the Vera2 via Ethernet. I'm using an Ethernet shield because they are less expensive than WiFi shields.

I could have used a Raspberry Pi but since its GPIO are 3.3V I decided to stick with the Arduino.

Step 1: Parts & Tools

So here's are the parts I used:
  • Arduino Uno
  • An Ethernet Shield (any shield that works with your Arduino)
  • A 4 Channel 5 volt relay module
  • A PC board
  • A fuse holder for the 24V used by the irrigation valves
  • A polarized connector for the 24V
  • A DB9 male connector with flat ribbon cable (I had laying around)
  • Miscellaneous screws and bolts
  • A plastic box to hold the controller.
  • Various straight and right angle headers
  • Wire-wrap wire (I had laying around)
  • Magnet wire (for the 24V)
  • 2 Switches with NO and NC connections
  • Speaker or telephone wire to connect sensors
  • 2 conductor connectors
In addition, you'll need the following tools:
  • Soldering Iron
  • Solder
  • Drill and bits
  • Files
  • Labeler (optional)
  • Arduino Development Software
  • A text editor
You also must be familiar with the Vera and how to add your own device to the Vera.
<p>Hello!!!</p><p>This instructable is very nice project. It's amazing to support uPnP.</p><p>I would like to introduce your instructable on WIZnet museum. (<a href="http://wiznetmuseum.com" rel="nofollow">http://wiznetmuseum.com</a>). I'm an engineer worked at WIZnet provides W5x00 to Arduino for Ethernet shield.</p><p>Your project is a good reference on everyone. Can I introduce your on our site?</p><p>Thank in advance.</p>
<p>Hi Midnightcow,</p><p>Glad you liked the project, the Wiznet chips are pretty cool. I've taken a look at the website and it has some very good projects.</p><p>Thanks,</p><p>Aram</p>
<p>Hi, armaperz!</p><p>Thank for sharing your project for other people.</p><p>If you are interested in other wiznet solutions such as WizFi250, W7500, and WIZwiki-W7500(<a href="http://www.wizwiki.net" rel="nofollow">http://www.wizwiki.net</a>), I will send them for you freely.</p><p>Thank you.</p>
<p>Amazing project!!! The enclosure really suits. The explanation it is very exhaustive. Congratulations!</p>
Glad you liked it. I hope to post an update soon.
Very nice Aram! Looks like this is a very useful project. Thanks for the clear details.
Glad you liked it (and don't forget to vote ;-). As I said, there still some improvements I'd like to make and I'll provide updates as I finish and test them. Thanks!

About This Instructable



More by aramperez:Halloween Scene Controller Arduino Garage Controller 
Add instructable to: