4
\$\begingroup\$

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.

\$\endgroup\$
4
\$\begingroup\$

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

\$\endgroup\$
  • \$\begingroup\$ can you sum up what is at your link to some extent as links die but stack exchange lives forever! \$\endgroup\$ – Kortuk Jul 29 '11 at 14:19
4
\$\begingroup\$

This looks like what you want:

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

\$\endgroup\$
4
\$\begingroup\$

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

\$\endgroup\$
4
\$\begingroup\$

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

\$\endgroup\$
2
\$\begingroup\$

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

Cheers,

Marcus

\$\endgroup\$
1
\$\begingroup\$

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

\$\endgroup\$
  • 1
    \$\begingroup\$ Unfortunately you need to be part of the "Made for iPhone" Program to use it! Cheers, Marcus \$\endgroup\$ – littlebirdceo Nov 3 '09 at 10:45
  • \$\begingroup\$ 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: web.media.mit.edu/~bonifaz/amarino \$\endgroup\$ – Jan Dec 3 '09 at 3:37
  • \$\begingroup\$ 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. \$\endgroup\$ – tcrosley Feb 17 '11 at 20:23
0
\$\begingroup\$

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.