6

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.

Bruno Ferreira
  • 4,470
  • 2
  • 25
  • 36
zklapow
  • 1,551
  • 16
  • 17

7 Answers7

4

This looks like what you want:

http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial

Clinton Blackmore
  • 2,270
  • 1
  • 22
  • 23
4

Most of the suggestions need a jail-broken phone. ucHobby has a different approach using the audio jack of the phone or ipod.

jdiaz
  • 1,933
  • 4
  • 21
  • 20
  • can you sum up what is at your link to some extent as links die but stack exchange lives forever! – Kortuk Jul 29 '11 at 14:19
4

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

4

Here are some of the commands and pin outs of the serial port

Squirt8500
  • 171
  • 2
2

Related: Here is a tutorial on how to boot a Jailbroken iPod 2G using a microcontroller.

Cheers,

Marcus

littlebirdceo
  • 4,697
  • 8
  • 41
  • 61
1

since OS 3.0 there is an API for the hardware port. might wanna use that,

  • 1
    Unfortunately 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
0

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..