Step 1: Start Project Materials
The hardware requirements to start is:
*Note: where can I purchase the material with all the components to build myself the system:
1.-) Arduino UNO with USB cable
2.-) Ethernet Shield Arduino
3.-) Relay (for arduino 5 V)
4.-) Router Belkin (we recommend N150 or N300), also TPLink models( we recommend TL-WR740N). See TPLink model configutarion: http://iwup.altervista.org/shop/tplinkconfiguration.pdf
5.-) Arduino Case (optional, not necessary)
The software requirements to start is:
1.-) Arduino v0022 IDE you can download here: http://arduino.googlecode.com/files/arduino-0022.dmg
2.-) Open Your Garage project firmware, called “openyourgarage_arduino.pde”, you can download here: http://iwup.altervista.org/shop/openyourgarage_arduino.pde.zip
3.-) Open Your Garage vPRO iOS App.
1.-) Welder 25-30 W.
2.-) Cable for soldering connectors.
Also I recommend, if you like mobile programming and you want to start from level 0, purchase my new book "How to create your first iPhone App, turning your idea into App easily" that will be released next month of September 2013. You can make a preorder : http://www.how2appbook.com
Step 2: Upload the Software to Our Arduino UNO Module
But before that we need to install Arduino IDE or application in our computer.
For that copy the Arduino application into the Applications folder (or elsewhere on your computer). You don't have any drivers to install. Skip ahead to the next step.
Launch Arduino application with double click.
For this purpose we run the software that you downloaded in step 1. Once run a screen as seen below. In the "Tools" tab we select our board which will be the Arduino Uno.
Select the serial device
Select the serial device of the Arduino board from the Tools > Serial Port menu. On the Mac, this should be something with /dev/tty.usbmodem
Once connected the Arduino uno board to our MAC computer press the icon as it appears in the photo below illustration "upload".
Now your Arduino UNO module is now ready to operate, and will only weld the relay to operate with its iphone application.
Step 8: Welding
As you can see you can see in the pictures, the relay has three connectors, one directly connected to port 6 of the Arduino module, one that will be connected to the positive port of the Arduino, and finally the otherone to the negative port of the Arduino. Don't worry because we will show you with pictures how it connects and solder wires.
Well right now, at the following illustrations we can see how and where they must be connected for proper operation, do not forget that THE SIGNAL WIRE will only work if you connect on port N ° 6, that in our App will correspond to the right button called Door 1.
Important note: If you need another aditional signal, you can repeat the same operation with another relay and welding to port Nº5. The i WUP system it´s ready to go up to 3 doors.
Just for two or tree doors: The Port Nº 5 of the Arduino UNO activates the central button (Door 2) of iOS App Open Your Garage, and the Port Nº 4 of the Arduino UNO the right button (Door 3).
Welding it must be so, as shown in the illustration below. Three welds can be appreciated how are connected to Pin 6, Positive and Negative of our Arduino UNO board.
Step 9: Join the Ethernet Shield With the Arduino UNO Board
The Ethernet Shield board managament the signal between the Router (which receives our iPhone) and our Arduino UNO board, so that it activates the relay.
So, now we have below the iwup receiver. Relay, Arduino UNO & Ethernet Shield board, and Belkin Router.
Step 12: Starting the IWUP System
Well, once assembled all necessary hardware, we will put the iWUP in working state, so plug our Router Belkin to the Arduino uno board with RJ45 LAN CABLE and feed the system with a 5 V power source through usb port.
Downloading and Installing the Software IOS (iPhone and iPod)
To use the iWUP receiver (Arduino UNO + RELE + Ethernet Shield + Router), you need first of all download the application "Open Your Garage vPRO" that you can find on the app store App Store, si ya lo tiene instalado en su móvil pase al paso siguiente.
If you are an iPhone user, follow these steps:
1.-) Click the icon on your iPhone "App Store" and search for "Open Your Garage vPRO"
Step 13: Link Your Iphone With the IWUP System.
Installation and configuration of the receiver iWUP
IWUP module is very easy to implement because it is 100% set up and ready to connect to your Smartphone.
Link your iphone with the iWUP system.
Check your Smartphone WiFi Network to match the Network Name (see the label above the router), in our example would be the belkin.3974. See the picture.
We have the WIFI network identifier (SSID Network Name), the password of your iWUP and Security Type, the latter only indicates the type of protection, for peace of mind is the most secure and much harder to copy than a rolling code . Do not miss the paper and leave it next to the router for the life of the recipient.
Click to “join” in that network, your iphone ask you for the password to register.
The password is printed on the label of the Router in our case would be: a4666672
Enter the passwaord (that your label, not the example!) And already have established a connection between iWUP and your iphone.Remember you should always be connected to the Belkin Wifi iWUP to open/close your door. Fortunately our Smartphone once it is in the range of the wifi will connect automatically if we have already done once.
Once we are connected to the Belkin Wireless Network we can open the application "Open Your Garage" and make the first test. To do this, open the application and click the first button to the left of the App, - identified as "Door 1" -.
If all goes well, you hear a noise like "fasten seat belt on a plane," - in the App- and hear a "click" (sound of the relay) with a small red LED lights for a second from iWUP receiver. If all this happens is that the device is ready to move to the next and final phase: Connecting the relay to the motor of the garage door.
Step 15: Connecting the Relay to Motor Garage Door.
This is the phase that may have more difficulties, but in the background is very simple. If in doubt call a professional installer, he will know easily connect the relay to the wall switch that acts on the engine of your garage door or even connect to the motor directly. You can also contact us and we will send a qualified technician. Remember to turn off the power to handle your installation.
Example of installation scheme:
The door opener wall that normally activates the garage door from the inside has two wires to activate the motor shorted by opening or closing the door. That takes the iWUP relay, that when we send the signal shorted. Connect the two wires parallel to the button as shown in the diagram above.