Connecting an iPhone to an Arduino without WiFi over a router

Hello,

Yesterday I came across this awesome project (http://theiopage.blogspot.com/2011/08/yanis-android-wireless-eos-controller.html) where an Android phone is used to control a Canon Camera remotely. That really amazed me because I am doing it right now with the iPhone over the headphone-jack but I can just trigger the Camera. So being able to completely configure the camera remotely is absolutely great!
So I startet searching for a solution to connect my iPhone to the Arduino but I haven'd found the right solution for me.

Bluetooth: Not working because there is no possibility for a serial connection with the iPhone (un-jailbreaked)
WiFi: Not possible if I need a Router because I want to use it outside
Cable: could work... but wirelessly would be so much cooler!

Is there any WiFi Shield out there, that would let the Arduino can create a WiFi network? Then I could connect to it wherever I am? I think the WiShield 2.0 can do this, right? But I can't figure out where I could buy one of those.

I found a link to a cable in this thread here: http://arduino.cc/forum/index.php/topic,70080.0.html
But the disadvantages of a cable (Search: 0 results found for "redpark") would be that... well there is a cable... Second... this thing is huge. And... it's expensive for just being a cable and a bit more!

It would be so awesome if anybody could give me a hint on how i can solve my problem! (Buying an Android phone would not work as an answer :wink: )

Thanks a lot!

Any ideas on where I could buy a Shield like WiShield 2.0? Or any other WiFi shield that would create it's own network for my iPhone to be able to connect to it?
The shop should preferably be in europe :slight_smile:

Thanks a lot

If you are looking for a WiSheild, you can easily build one out of a wifi module and a few resistors for under $30. It is compatible with the WiShield library.

Check out my post on this if you are interested: http://theiopage.blogspot.com/2011/10/connecting-mrf24wb0ma-to-arduino.html

Hello,

thanks manis404 for the tip... I'll have a more detailed look at that! Hope that I'll understand it... cause I don't know much about electro-technique... I'm more the software engineering guy :slight_smile:

@Stimps what I am trying to do is to get a connection between iPhone and Arduino just to send some informations on what the Arduino should do. What you want to have sounds like a GSM Modem to me. I am very new to the Arduino and so I don't know much more about that...

Hello manis,

I just had a closer look on the article... but I'm now sure if that is what i need... I need a module that creates a WiFi network itself! It's not enough if it just connects to a network that already exists, but it should create one. It would be enough if it's just a one-to-one network... but the module will have to create it so that I can connect to it from the iPhone :slight_smile:
Did I misunderstand the article you linked or is this really not possible?

There are 2 WiFi modes:

  1. Infrastructure mode: Where the network is already 'created' by a router. The module(s) can then just connect to it and start passing those dataz.

  2. Ad-hoc mode: Where the module can effectively 'create' a network. You iPhone will then be able to see that network and connect to it. You'll just need to make sure that the ip setting are correct in your iphone and module. If you do some light reading about Adhoc networks, you should get a pretty good idea on how it works. Nothing complicated here. A typical setting can be:

===wifi module side===

ip: 192.168.1.5
gateway: 192.168.1.1
subnet mask: 255.255.255.0

===iphone====

ip: 192.168.1.6
gateway: 192.168.1.1
subnet mask: 255.255.255.0

[also same encryption/ssid/etc for both]

Great! Thank you for clarification!
Then I think I'll go and get one of those WiFi Modules :slight_smile:

Ohhh... now i got it :slight_smile: YOU are the guy that created the arduino - eos - wireless soltion!!! :slight_smile: great!!! Once again... this project is AWESOME!!!! :slight_smile:

I just ordered an Adruino Pro Mini 3.3V, the USB Host Shield and the MRF24WB0MA!!! I hope it will be here soon and then I can start building a solution that uses WiFi instead of Bluetooth... Then I should be able to connect my iPhone to my Arduino :slight_smile:

When thinking about the "why"... I can't come up with an real improvement over my current solution that just triggers the camera via the headphone-jack of my iPhone (I'm mainly using it for timelapse movies) ... but hey... controlling it wirelessly AND being able to set all camera settings... great :slight_smile: Event though I don't know what fore :wink:

And what I though of is a complete timelapse solution where I could also hook up stepping motors to the Arduino and they could control movement while timelapsing :slight_smile: On my iPhone/iPad I could create a scene, transmit that to the Arduino, and then the Arduino will take care of the rest :slight_smile:
We'll see on how well that will work out in the end :slight_smile:

http://www.circuitsathome.com/camera-control/ptp-support-for-usb-host-shield-library-2-0-released

I'm using EOS utility with a 300m USB extension. All of these work great!
Next step wireless with LiveView.