WifiGarage: Arduino + WiShield 2 + iPhone

I finished my first Arduino project tonight :). Its a great feeling.

I built a wifi enabled garage door, operated by an iPhone app. I am using Arduino Uno, Asynclabs WiShield2, and of course an iPhone. I will be putting the app in the appstore once I document the build process, so anyone can build one and use the app.

You can see some screenshots, and a video of it in action here: http://bmilleker.com/wifigarage-v1-complete. I send 2 http requests to the arduino to open/close the door. Why you ask? For security reasons. On the first request I send back a key from the arduino. Second request, the iPhone sends a password along with the key all in a MD5 hash. Could it be more secure? Probably, but its also located on my local network that is secure, so why bother?

Also, no open or closed indicator. I wanted to keep it simple so anyone could solder one of these up. I could do a "soft" indicator, in otherwords the Arduino can switch a variable on or off depending on if its open or not.

Let me hear your critiques, opinions... anything :).

Nice project! Was it hard to get the WiShield up and running?

Was it hard to get the WiShield up and running?

I am using the same for my wifitank, and it is very easy to get going. :)

Was it hard to get the WiShield up and running?

Very easy to get up and running. Asynclabs examples are wonderful. Also, the Wishield2 without antenna has some good range to it. My garage is about 15 meters from my house and I have no signal issues.

I live in Regina, Saskatchewan, Canada, and our winters get very cold (-40C) so I am not sure if this device is going to work when its that cold :P.

I'd really like to rig something like this up for my workshop roller door. I'll have to have a look inside the control box though because I don't have a wall mounted open/close switch to tap into. I also have two large 3 phase industrial doors but I think that's a little beyond me until I get my head round Arduino. I only received my Arduino kit yesterday and I have no previous experience with it. I would probably add some sort of safety to the whole thing though, maybe a switch or a sensor to tell when its open/closed.

I'd really like to rig something like this up for my workshop roller door.

The website for this will be up this weekend at http://wifigarage.com so you can create your code, and see how to build one. Unfortunately the iPhone app is not in the app store yet. I submitted it last Sunday so hopefully tomorrow its reviewed and approved.

I'll have to have a look inside the control box though because I don't have a wall mounted open/close switch to tap into. I also have two large 3 phase industrial doors but I think that's a little beyond me until I get my head round Arduino. I only received my Arduino kit yesterday and I have no previous experience with it.

How are you currently opening the doors? There must be a wall switch somewhere to open it from inside the garage?

I would probably add some sort of safety to the whole thing though, maybe a switch or a sensor to tell when its open/closed.

Version 2 of this will have open/close status using a magnetic sensor. I want to get PCB's made and sell them. Then all people would need to do is generate the code, which can be done on the website, and then upload the sketch. I want to make it as simple as possible for people.

My two large 3phase doors have up and down switches on the wall but the smaller single phase door only opens with the keyring remote or manually using a ratchet. I remember before the control box was fitted the guy was operating the door by touching wires together so it cant be that complicated. I have an android phone but I'm sure the rest of your build instructions will be useful to me. I'm off to check out your site now :)

Also, no open or closed indicator.

:o :o :o For proper safety, you really do need a hardware open/close feedback to properly control your garage door!

Link: http://www.smarthome.com/7455/Garage-Door-Contacts-for-Closed-Circuits-SM-226L/p.aspx ;)

I'm off to check out your site now

Sorry, its not quite 100% yet. I have about an hours worth of work left and then I will upload everything.

For proper safety, you really do need a hardware open/close feedback to properly control your garage door!

To an extent yes. I am just using it on my local network, and I can see the garage whenever I open/close it. I do agree that if someone had it setup for worldwide opening, then yes its needed.

Website is online @ http://wifigarage.com.

Let me know if there are any issues.

I really like the minimalist website, I'm stuck at work right now so I'll give it a better look tonight. I took the cover off the control box on my roller door and it looks like I can tap into it easily enough.

I see motor ^ up and v down :)

http://www.seav.it/inglese/prodotti/html/lrx2215.htm

That makes it easier :D

Very awesome! It shouldn't be all that bad to do then.

Thanks for the compliment on the site :D. Minimalism is what I was aiming for.

It looks like its going to be very easy to tap into. I couldn't resist having a play with the control box. All I have to do is send the ground signal input to T1 to open it and T2 to close it, I shouldn't even need to use a relay but I really know nothing about Arduino yet. I'm a big fan of keeping this as simple as can be and not over complication things, websites included.

I shouldn't even need to use a relay but I really know nothing about Arduino yet.

Relays are typically used to switch things from low powered circuits (ex: Arduino). I am thinking you will need 2 relays, one for open, and one for close as they have different switches that activate them. You should be able to wire and program that easily.

Very nice project and website. I may attempt this if my wife lets me.......

Thank you.

The project is pretty quick to complete. The longest thing is waiting for parts to arrive.

The app was approved today! Go to http://wifigarage.com and click the "Available on the AppStore" image!

Alternatively, you can click here: http://itunes.apple.com/us/app/wifigarage/id403129982?mt=8

I might try that on my girlfriends iphone, I have an android phone but I could probably make something.

Give it a shot.

If I had the hardware I would be making an Android app as well. Maybe when the Nexus One prices come down.

You could probably use the emulator in the sdk to make one without a phone. I code a little but I've never attempted anything for a mobile device.