Page 1 of 6 123456 LastLast
Results 1 to 10 of 55
Discuss [Tutorial] iPhone Serial Port I/O with source at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Hi folks- I've written a tutorial on how to access the serial port on the ...
  1. #1
    Advanced Array

    Join Date
    Oct 2007
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default [Tutorial] iPhone Serial Port I/O with source

    Hi folks- I've written a tutorial on how to access the serial port on the Iphone. I am not sure if this also works for the Ipod touch but would assume it does. Let me know your experiences.

    For a little while some people have been trying to do this, but sending data to the Iphone over serial caused the Iphone to freeze. I have found a solution for this and have written a first draft tutorial. Let me know your comments, suggestions and experiences! Have fun!

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

    EDIT: PLEASE NOTE: It was recently brought to my attention by Morten that this trick is not necessary for Iphones with 1.1.1 and 1.1.2 firmwares.
    Last edited by TheRain; 12-16-2007 at 10:31 AM.



  2. #2
    Senior Professional Array DeCode's Avatar

    Join Date
    Oct 2007
    Location
    Greenhills,Ph
    Posts
    126
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by TheRain View Post
    Hi folks- I've written a tutorial on how to access the serial port on the Iphone. I am not sure if this also works for the Ipod touch but would assume it does. Let me know your experiences.

    For a little while some people have been trying to do this, but sending data to the Iphone over serial caused the Iphone to freeze. I have found a solution for this and have written a first draft tutorial. Let me know your comments, suggestions and experiences! Have fun!

    http://devdot.wikispaces.com/Iphone+...+Port+Tutorial
    Awesome..this one reminds of sniffing the port

    anyway ill try to check and follow this tutorial.

    Tia,

  3. #3
    Senior Professional Array

    Join Date
    Sep 2007
    Location
    Germany, Europe :)
    Posts
    199
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    Wow,
    thank you, it seems soooo close to connect a serial GPS and display curent position on Google Maps :-)

    Great achievement, i need to get that toolchain up and running, grrrr...

    Ender

    P.S. anyone knows where to get the mentioned parts (ipod connector , TTL converter) in Germany ? Reichelt ?

    P.P.S. to connect a GPS or Gamepad the A232C Adapter seems to be perfect, right ?
    Last edited by enderffx; 12-10-2007 at 10:06 AM.

  4. #4
    Advanced Array

    Join Date
    Mar 2007
    Posts
    31
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I can think of a lot of applications for this. GPS is one, but controller for NES.app is another big one.

  5. #5
    Advanced Array

    Join Date
    Oct 2007
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Yeah, I think the way the serial port works lends itself more to custom devices made with Microcontrollers, etc instead of existing serial devices like GPS. But things like GPS can be connected up and the Serial GND toggled with a button to gain access, or maybe some other trick involving 555 timer or something.

    I updated the Tutorial this morning with some more details to make it more clear. Will update it over time and expect to see some projects using it from me too


  6. #6
    Advanced Array

    Join Date
    Oct 2007
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    enderfx: yah A232C-3 will work fine if the Gamepad is RS232. You can find some GPS that are already at the proper levels, but some are 12V too. This one is already at TTL levels http://www.sparkfun.com/commerce/pro...roducts_id=575

  7. #7
    Rookie Array

    Join Date
    Jul 2007
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Sad but this makes one think of hooking an external bluetooth to the phone. Such as the following of something similar,

    http://www.sparkfun.com/commerce/pro...roducts_id=582

  8. #8
    Professional Array

    Join Date
    Oct 2007
    Posts
    63
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by freedom View Post
    Sad but this makes one think of hooking an external bluetooth to the phone. Such as the following of something similar,

    http://www.sparkfun.com/commerce/pro...roducts_id=582
    You would still have to port a BT stack to the iphone... and if you did that, you could access the onboard BT quite easily...

    I'll try to mod a USB keyboard (one of those flexible ones) to work with the iPhone... A bit clumsy, but hey, you can't get a portable computer much smaller than this

  9. #9
    Advanced Array

    Join Date
    Mar 2007
    Posts
    31
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by nop144666 View Post
    You would still have to port a BT stack to the iphone... and if you did that, you could access the onboard BT quite easily...

    I'll try to mod a USB keyboard (one of those flexible ones) to work with the iPhone... A bit clumsy, but hey, you can't get a portable computer much smaller than this
    Right now what's stopping us from porting a BT stack to the iPhone is that we don't have the ability to activate our own kexts in the kernel. Since there is an existing, working kext for talking to the serial port, porting a BT stack to work with *that* would actually be somewhat fruitful.

  10. #10
    Newbie Array

    Join Date
    Nov 2007
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Ok, thank you very much, TheRain

    I will try and tell you if it works.

    I am also working on GPS for the iPod Touch (or iPhone) :
    - the first step is to put a micro-controler between the iPod and the GPS module in order to select/filter the datas
    - then, develop a GPS navigation app.

    Maybe should we combine our forces and developp it on a common project.
    My goal is to develop a cheap GPS for my car.


    Quote Originally Posted by enderffx View Post
    P.S. anyone knows where to get the mentioned parts (ipod connector , TTL converter) in Germany ? Reichelt ?
    You can get an ipod connector here : http://home.swipnet.se/ridax/connector.htm


 

 
Page 1 of 6 123456 LastLast

Similar Threads

  1. Slashdot: The iPhone Serial Port Hack
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 10-28-2010, 08:00 PM
  2. Serial Port
    By Sheerz in forum Kernel / Kext (Driver) Support
    Replies: 1
    Last Post: 03-25-2010, 12:28 AM
  3. serial port problems
    By netboy in forum Installation
    Replies: 0
    Last Post: 03-02-2010, 06:10 PM
  4. trying to use the serial port
    By iphonejoe in forum Free Toolchain Software (Cydia App's)
    Replies: 39
    Last Post: 02-04-2010, 08:22 AM
  5. Serial Port access
    By SierraDog in forum iPod Touch 2G
    Replies: 0
    Last Post: 07-27-2009, 11:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:06 AM.
twitter, follow us!