Page 4 of 6 FirstFirst 123456 LastLast
Results 31 to 40 of 55
Discuss [Tutorial] iPhone Serial Port I/O with source at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; duoduo: It is not hard. You can use either the source code on my site ...
  1. #31
    Advanced Array

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

    Default

    duoduo:

    It is not hard. You can use either the source code on my site for the iphone side (still works for setting up serial even without hardware trick). For the controller itself, it will take either programming a microcontroller (in this case, the programming is fairly simple as far as microcontroller stuff goes), or by adapting an old serial gamepad from the early 90's to it.

    I have a gamepad built and ready to use. It uses a PIC microcontroller and I compiled my software using SDCC. SDCC makes PIC programming pretty simple.

    My gamepad project was sort of stiffled by the fact that zodtt who makes the gpSPhone gameboy advance emulator stopped talking to me when he found out that I was not looking to sell the gamepads, only to release info on how to make one for yourself. He then stopped releasing source code for the emulator, so I could not add support for the gamepad myself.


  2. #32
    Rookie Array

    Join Date
    Sep 2007
    Posts
    28
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    could you please send me your intels ?? I would be so gratefull man !!! I'm trying to find a serial gamepad now but it's so hard...
    and I nerver code an PIC microcontroller, I've seen your sources for opening the serial port, I can understand it as it works a bit like a socket (I'm better in math and physics coding f**** school) but if you've already done it I think it could avoid me sone headaches

    about zodttd sources: couldn't we run a sort of daemon on the backbround (maybe a gaz factory) binding screen area to buttons? I'll be pleased to talk of this with you as I'm close to the french community and everyone is hopping for such device !

    cheers

  3. #33
    Advanced Array

    Join Date
    Aug 2007
    Posts
    39
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    A major problem with glomming a GPS module directly onto the iphone is that the dock connector is not designed to support a weighty dongle with a relatively large effective lever arm. You risk damaging the connector, especially if you are bouncing around in a vehicle, etc. A much more reliable (but much less cool) implementation would be to connect the GPS via a cable. Another possibility is a dongle that somehow braces itself around the iphone case.

  4. #34
    Newbie Array

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

    Default

    @mortenbek: Do you have additional electronic components between iPhone and SiRF III ?
    I have received mine 2 days ago, and have some problem. It is a BR-355 (a SiRF III mouse GPS receiver).

    The problem is that the Tx/Rx signal is using 'RS232-style' reversed polarity (-5V for High level, and +5V for low level).
    So I can link the GPS module to my PC through the RS232 com port (it should work only with +/-12V, but is ok with +/-5V) and receive the GPS NMEA data.

    In the BR-355 datasheet, the output voltage levels are supposed to be 0-2.85V and protocol electrical levels are TTL (and I read in a forum, that the gps was directly connectable to RS232).

    I do not have any oscilloscope here (I am in holidays)...

    Could you confirm that you directly link the SIRF to the iPhone

    Does anyboday have an idea (except than a MAX232 to have TTL outputs) ?

    Thank you

    ThibThib

    PS: Merry Christmas, everybody !!
    Last edited by ThibThib; 12-25-2007 at 07:33 PM.

  5. #35
    Newbie Array

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

    Default To mortenbek and rainman

    It would be great if some detailed instructions were posted on tis blog on how to interface the gps module with the iphone...


    Edit : Oops,post for therain and not rainman :p


  6. #36
    Advanced Array

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

    Default

    ThibThib: you could try doing a logical bitwise negate for the serial data maybe. I've done this with communicating with such a device before and it seemed to work. Or on the hardware end, use a hex inverter.

    subramanyam: The connections would be pretty standard, Iphone serial RX to gps serial TX, iphone serial TX to gps serial RX, ground to ground. The rest you'd have to research for now, or soon Curt will be releasing open source software for GPS on iphone.

  7. #37
    CVB
    CVB is offline
    Newbie Array

    Join Date
    Sep 2007
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by lh99 View Post
    Wow...I was seriously considering pre-ordering the PartFoundry module as it's priced less than $20 more than the GPS receiver/antenna component alone. But if I don't have to add a microcontroller to perform that toggling nonsense, buying the GPS receiver from SparkFun for $72 and rigging it to an iPod dock cable I have lying around sounds better than waiting until "February".

    As a caution to everyone else, my experience with pre-order products like this in the past has been poor at best. He's produced a proof-of-concept prototype, not a finished product and is now taking people's money in advance to pay for tooling and final development/debug. Take a look at the company's portfolio. I don't see any proof of any consumer electronics experience at all; everything else on there is very mechanical, ie no molded plastic, no circuit boards. I'm not saying I have any proof that they're not up to the task and I'd be happy to be proven wrong, but if you're thinking about ordering, be prepared for the February ship date turning into June and lots of bugs, returns, frustration, etc. I've seen this kind of thing many times before, and that's what happens every time.

    It is nice that they're open-sourcing the software, however.

    My advice to those who are wary of pre-ordering and don't want to make their own, wait until February or March. Chances are, a *real* iPod/iPhone accessories company will come out with a better & cheaper product that has a warranty, customer support line, FCC testing, etc.
    I had to chime in on this one. Our company (part foundry) has done numerous consumer electronic devices... I personally have developed and shipped at least three made for ipod products. I worked for Cisco Systems for 4 years and engineered state of the art switches and routers... I worked at Lockheed developed mechanisms and electronics for satellites... I worked at a product design firm and brought dozens of products to market. Just because we don't have pictures of those products does not mean we don't know how to make them. BTW, Our products will carry a money back guarantee, customer support, and FCC/ CE certification. We are a *real* accessories company making real products... the pre-orders are merely a way to get an idea of what kind of demand there is for the products we are making and to properly scale our initial production runs.

    BTW.. the receiver is not from Sparkfun, its a custom design that I put together several months ago. Early next week we will be posting some photos and video of our progress... I think you guys will be surprised what can happen in a week.

    -Curt
    Last edited by CVB; 12-28-2007 at 03:19 AM.

  8. #38
    Newbie Array

    Join Date
    Dec 2007
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Here's a snippet from a mail I sent to Subramanyam - as for what to do with the negated levels I am afraid I cannot help - I'm not that much into electronics:

    --------------------

    The gps is bought from SparkFun:
    http://www.sparkfun.com/commerce/pro...roducts_id=465

    And here I also ordered a bunch of these:
    http://www.sparkfun.com/commerce/pro...roducts_id=633
    for experimenting with iPod/iPhone accessories.

    I remove all the pins in the connector that I have no need for - to
    make it easier to solder. The connector is documented here:
    http://ipodlinux.org/Dock_Connector

    We are very lucky in that the iPhone supplies 3.3v to accessories, and
    this appears to be enough for driving the gps (even though the spec
    says 5v).
    GPS ground is wired to ground on the iPhone and serial transmit on the
    gps is wires to serial receive on the phone. I haven't wired serial
    receive from the gps since I have no need for configuring the gps.

    So - just three wires needs to be soldered and you are ready to go.

    ----
    That's really all there is to it - I am sure that the locoGPS will be a much neater solution, but for all DIY'ers, the above is a quite easy (and fun) approach.

    Sincerely,
    /morten

  9. #39
    Newbie Array

    Join Date
    Dec 2007
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Couldn't we also use SparkFun's BlueSMiRF module to translate serial data remotely to ANY compatible serial device (i.e. bluetooth GPS "pucks") now that serial communications have been confirmed on the iPhone itself? It seems to be a lower-power (25mA @ 3.3V), smaller-footprint (0.15x0.6x1.9") solution with limitless applications.

    P.S. This thing even supports "BCSP, SPP, DUN, LAN, GAP SDP [sic], RFCOMM, and L2CAP" profiles and protocols, for goodness sakes!
    Last edited by PacoBell; 12-29-2007 at 01:51 PM.

  10. #40
    iPhone DevTeam Array

    Join Date
    Aug 2007
    Location
    Always sunny Los Angeles, California
    Posts
    421
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by TheRain View Post
    My gamepad project was sort of stiffled by the fact that zodtt who makes the gpSPhone gameboy advance emulator stopped talking to me when he found out that I was not looking to sell the gamepads, only to release info on how to make one for yourself. He then stopped releasing source code for the emulator, so I could not add support for the gamepad myself.
    Man, that really shows what a lamer zodtt is. That's okay though...his talents are not unique (none of ours are), and I suspect you'll reach your goal, even though (maybe because that) you're not profit-driven.
    Last edited by MuscleNerd; 01-01-2008 at 12:33 PM.


 

 
Page 4 of 6 FirstFirst 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:37 PM.
twitter, follow us!