Does anyone know how to access the iPhone's serial port, from a program on the iPod to allow that application to send signals. The idea is that the iPod could be used as the brain for some kind of robot by using the serial port to tell an arduino what to do.
7 Answers
One thing to note is that you cannot use the official External Accessory Framework to communicate with accessories, unless the accessory that you're communicating with has been designed under the Made For iPod, or Works With iPhone programs

- 141
- 1
Here are some of the commands and pin outs of the serial port

- 103
- 3

- 171
- 2
Related: Here is a tutorial on how to boot a Jailbroken iPod 2G using a microcontroller.
Cheers,
Marcus

- 4,697
- 8
- 41
- 61
since OS 3.0 there is an API for the hardware port. might wanna use that,
-
1Unfortunately you need to be part of the "Made for iPhone" Program to use it! Cheers, Marcus – littlebirdceo Nov 03 '09 at 10:45
-
well that sucks. do you have an official infopage for that? Maybe another reason to give android a try. there's an andrpid arduino project: http://web.media.mit.edu/~bonifaz/amarino/ – Dec 03 '09 at 03:37
-
not only do you have to be signed up for the MFI (Made for iPhone) program, but your hardware has to include an Apple authentication chip -- that's actually the hard part. – tcrosley Feb 17 '11 at 20:23
I wrote an application GPS2IP that outputs NMEA messages (and gpx and kml tracks) without a jailbroken device.
You need to connect to your iPhone with a IP socket though, so that might be difficult for a very simple project. IP stacks for micros aren't terribly difficult to get for free, these days, though..

- 103
- 3
-
In this case what is the physical connectivity between iPhone and your GPS device ? – bdutta74 Dec 25 '11 at 11:42
-
The iPhone uses it's own internal GPS, and outputs various (selectable) messages in NMEA format. No external GPS needed. – DefenestrationDay Oct 29 '13 at 18:17