Control Arduino Board Wirelessly With IPhone, IPad or IPod Using IArduino App and Ethernet Shield

180K22337

Intro: Control Arduino Board Wirelessly With IPhone, IPad or IPod Using IArduino App and Ethernet Shield

This tutorial will guide you with how to make whole setup to control your Arduino Board with iArduino application.For understanding, we will use Led and we will switch it On and Off  with the help of iArduino app.From this you will get the idea about how to setup iArduino to control your Arduino board Wirelessly. Whole setup will take 4-5 min.
So let's get started........



iArduino App Information:

iArduino Application is developed for controlling your loving Arduino Board Wirelessly. Since iArduino App gives you an ability to control output on the confined Arduino Pin, you can implement them for controlling anything you want according to your need. Some PWM capable pins are also provided with slider so that you can control anything which requires PWM.It is having a message window in it which provide you with the signal being sent by iArduinoHD app and receives the feedback message from Arduino Board .


iArduino App requires extra minimal hardware to work, without that it won't do anything. Full details on how to make setup are given on the website.If you require any kind of help then you can mail me at : dhirajjadhao@gmail.com

It can be downloaded from the App Store Just follow the link below:

https://www.itunes.apple.com/us/app/iarduino/id578582005?ls=1&mt=8

STEP 1: List of Items Required for the Setup :

Here is the list of items Required:

1. Arduino Uno Board
2. Arduino Ethernet Shield
3. Any WiFi Router( in my case i am using i-Ball Router)
4. 8 Blue or any coloured Led's
5. Ethernet Cable 
6. Finally an iPhone, iPad or iPod(Touch) with iArduino App Installed on it. If not Downloaded then follow the link:    https://www.itunes.apple.com/us/app/iarduino/id578582005?ls=1&mt=8

STEP 2: How the IArduino App Works

Here are the steps given in which iArduino App carry out the communication with the Arduino Board :

1. Communication between iArduino and Arduino Board is carried out using UDP packets.And in this WiFi router serves as the intermediate level in the communication.


2.With the help of Arduino Ethernet Shield Arduino Board connects to the network.


3.The UDP packets which are sent by the iArduino App are captured and respective action is carries out by the Arduino board.



STEP 3: Download Arduino Code and Setup Arduino Board :

First of download iArduino Code from the link below

Click Here to Download iArduino Code:
http://www.mediafire.com/?d2oz0nj4br1do3l

( i recommend you to upgrade your Arduino IDE, Check for latest IDE here http://arduino.cc/en/Main/Software).

After opening up the Arduino IDE with iArduino code Just changes which are shown in the attached screen shot.
Just change the IP address which you want to assign  to your board and Replace MAC address by your Ethernet Shields
MAC address.
Generally MAC address will be given on back of the ethernet shield.

After making above changes upload the code to your Arduino Board.


Now stack your Ethernet Shield on Arduino UNO board as in the pic attached.

Connect Leds from Pin 2 To Pin 9.

Now connect your Ethernet Shield to WiFi router with the help of
ethernet cable and power your Arduino board.

Power on your WiFi Router.

You have finished setting your arduino board completely.








STEP 4: Setup IArduino App on IPhone, IPad or IPod for Use :

Now open your iArduino app which you have downloaded in your iOS
device (If you have not downloaded the iArduino App yet then click
on the link to download it from iTunes App Store or search for iArduino
from your iOS device in App Store).
https://itunes.apple.com/us/app/iarduino/id578582005?ls=1&mt=8

After opening your app it will look as shown in pic attached:

In IP address field, put IP address of your Ethernet Shield. And  in Port No. Field enter the
localport number which we have mentioned in arduino code. Make sure that WiFi connection for your iOS device is on and your device is connected to the same WiFi router Network to which Arduino Board is connected.


If everything checked click Connect Button in the iArduino App. Since we have connected the Led to Pin2 of arduino board, click on  Pin 2 slide button in app so that the iArduino sends UDP signal to arduino board and set the Pin 2 to HIGH and Led turns ON. Now slide it to OFF position so that Led turns OFF. Similarly check it with other arduino pins also.

iArduino App also provide you to change PWM output on selected pin. With same setup connect Led to Pin 3 and slowly move slider so that that Brightness of Led will increase with your slider position and again slide it back so that Brightness decreases. In this way you can use iArduino app with your current and new Project to control them wirelessly.

Note: If you are not able to control your board even after making above setup, try either resetting arduino or shut it Off and On.And even if the problem still persist you can post your comments or mail me at ( dhirajjadhao@gmail.com)



Here is the Video Explaining All Steps and Working How to Control Arduino Wirelessly:


37 Comments

very cool! do you have any big plans for this?
Yes. Lots of stuffs will be on instructable soon.
We can implement iArduino to control anything wirelessly. My next instructable will be 1. Controlling AC bulb wirelessly using iArduino and Self made relay board. 2. Controlling a Car using iArduino and self made motor controller.
For updates stay subscribed.

Thank you
Please visit : www.i-arduino.blogspot.com

This is a project just like it but has the code for geting udp on arduino and sending on xcode

do i need the shield or i can use the ESP8266 wifi chip??

I had some success with the Arduino UNO and the CC3000 Adafruit wi-fi shield, using the Blynk App.

Is it the $139usd App?
As i have mentioned in my intractable also, this communication is being initiated by using UDP protocol which is pretty standard and you can find more resource for that on web.

Thanks for the help.

Hello DjTronix, I want to control the a certain device connected to an arduino mega and ethernet shield via an android device. Can you show me how the android device and the ethernet communicates? I want to understand how data packets are transfered over the network. I want to know how the ethernet shield interprets the command from the android app. I haven't started anything yet, I just need proofs this time to show that it will work. Can you help me as this is a part of my project design. Thanks ahead.

Is this a way to control your robot wirelessly
Yes you can control your Robot using iArduino wirelessly

I was wondering if it was possible to upload whole program files and sketches to program the arduino board, or will this app only let you control some functions after the board is already programmed?

My reasoning is: I am wanting to purchase a table (either ipad or a windows tablet) to be able to completely program and control all aspects of using the arduino board. I know for a windows table (specifically the Surface Pro 2) I can download and run the fully Arduino IDE from arduino.cc and have fully control and access. I am just exploring all possible options to have a lightweight, portable device for controlling and programming arduino.

Does this show us how to turn the actual arduino off not just an LED?

what you mean by turning off whole Arduino, please post your query in detail so that i can answer

regards

Is there a way to turn the arduino Uno device off on a mobile app such as when you plug it in and out of a computer

Very good Article and i liked your work and the way you describe it but honestly i like works with Humidity sensor and arduino the most :)
best regards
Thank you for kind comment
More Comments