Go Down

Topic: iPhone Arduino (Read 2027 times) previous topic - next topic

Joeri

Has anyone managed to connect the Arduino to an iPhone yet? So far all I find are bits and pieces but no reliable, documented sollution.

action_owl

I knows that there is a method for connecting to the arduino over the internet in a web browser, and since the iphone has a web-browser you should be able to connect to it this way

estranged

The iPhone SDK has full support for a TCP/IP stack, so talking to an Arduino with an Ethernet shield should be possible.  If you're looking at physically hooking up the Arduino to the iPhone dock connector, I think you can talk to some of the pins... I don't have the SDK docs in front of me.  You would have to become a registered iPhone developer (and pony up $99) to do anything beyond a web based app, or go the jailbreak route.

melka

Not quite sure, but I think that the official SDK doesn't allow you to access the serial port on the dock connector. For this, you have to go with the non-official SDK and/or undocumented libraries. Either way : jailbreak ^^
http://melka.one.free.fr/blog/
http://www.flickr.com/photos/melkaone/

Jin

I'm working on a wifi shield that should be somewhat less expensive than the existing wifi shields out there. With the shield, you should be able to make a direct local wireless connection to the iPhone and use custom apps as a display for Arduino applications.

melka

Nice!
Does the iphone sdk allows access to the bluetooth stack ? This may be an easier way than the wifi, no ?
http://melka.one.free.fr/blog/
http://www.flickr.com/photos/melkaone/

estranged

I don't see anything in the SDK on bluetooth or hardware interface. I think network/wifi is the only way to go (officially) right now.

Jin

The bluetooth stack on the iPhone only implements the handsfree or headset profile. And there are serial lines on the dock output, but you can't get to them from the API. I think for now wifi (or GPRS/3G) is the only way to officially connect.

I've also considered doing an acoustic modem through the microphone input, which could work but would require a lot more software and hassle.

Marijn Eken

Jin, this thread is more than a year old now. Did you make that WIFI board you were talking about? I'd love to have such a thing.

Thanks.

Jin

Yes, I did make the wifi board, and successfully used it to interface to a Kestrel wind and environment meter, implementing a pseudo-HTTP interface which would respond with the data at any request from a web browser. Works great. However, I never wrote up my project since nobody expressed interest.

I still have the EAGLE files for the shield and the code for the project, it should be easy to adapt for other projects. The Wifi module costs $60 from Digikey and the shield can be etched at home, or costs about $20 from batchpcb. If you are really intent on buliding one, I'd be happy to document it.

Marijn Eken

Thanks for the info Jin. I did however find out about the AsyncLabs BlackWidow 1.0, which is quite cost effective. I'm also not so inclined to make it myself, but much rather use a finished product.

I thought you meant you wanted to produce this board, but maybe since the lack of interest, you didn't. Strange, because when the AsyncLabs guys posted here, there seemed to be a lot of interest.

Thanks again, and best of luck

Jin

That blackwidow looks pretty good, and the cost is less than an Arduino+iWifi board, even leaving out costs for any interface hardware. So yeah, I'd definitely consider that if I were doing it again.

sciguy

#12
Mar 17, 2010, 02:05 am Last Edit: Mar 17, 2010, 02:05 am by amacmullen14 Reason: 1
What about having a message for communication made into an mp3 file, then programming an app to play these mp3 files.  Could a headphone plug be plugged in, but instead of a speaker, use an IR led?  

:?
Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

RiXst3r

Jin,
I am interested in your project...  I have a connectone iwifi sitting around and would love to put it to good use!

Jeremy1998

breaks out every pin, and there is a datasheet that says the purpose

Go Up