Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2007, 10:07 AM
TheRain
Status: Offline
Member
 
Join Date: Nov 2007
Posts: 47
Rep Power: 0
TheRain is on a distinguished road
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 11:31 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-10-2007, 10:16 AM
DeCode's Avatar
DeCode
Status: Offline
Senior Member
 
Join Date: Oct 2007
Location: Greenhills,Ph
Posts: 120
Rep Power: 9
DeCode is on a distinguished road
Send a message via Yahoo to DeCode Send a message via Skype™ to DeCode
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,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-10-2007, 11:03 AM
enderffx
Status: Offline
Senior Member
 
Join Date: Sep 2007
Location: Germany, Europe :)
Posts: 198
Rep Power: 13
enderffx is on a distinguished road
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 11:06 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 12-10-2007, 05:37 PM
starkruzr
Status: Offline
Member
 
Join Date: Mar 2007
Posts: 31
Rep Power: 0
starkruzr is on a distinguished road
Default

I can think of a lot of applications for this. GPS is one, but controller for NES.app is another big one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 12-10-2007, 09:52 PM
TheRain
Status: Offline
Member
 
Join Date: Nov 2007
Posts: 47
Rep Power: 0
TheRain is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 12-10-2007, 10:04 PM
TheRain
Status: Offline
Member
 
Join Date: Nov 2007
Posts: 47
Rep Power: 0
TheRain is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 12-11-2007, 03:07 AM
freedom
Status: Offline
Junior Member
 
Join Date: Jul 2007
Posts: 12
Rep Power: 0
freedom is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 12-11-2007, 05:16 AM
nop144666
Status: Offline
Member
 
Join Date: Oct 2007
Posts: 63
Rep Power: 6
nop144666 is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 12-11-2007, 12:26 PM
starkruzr
Status: Offline
Member
 
Join Date: Mar 2007
Posts: 31
Rep Power: 0
starkruzr is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 12-11-2007, 08:07 PM
ThibThib
Status: Offline
Junior Member
 
Join Date: Nov 2007
Posts: 7
Rep Power: 0
ThibThib is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 04:24 PM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107