GPS input?
Mike15
Posts: 109
I have a GPS unit from Deluo it has TTL GPS data out. Do·I need a TTL/serial converter or can I connect it like the eTrex?
Comments
Cheers
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
How can I test the input of the GPS (anybody have an examole code that will display the input?)
Post Edited (Mike15) : 9/2/2006 2:57:20 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Rick
The computer is just looking for thresholds being crossed. In the case of a logic 1, RS232 convention is for a -12Volts....but with TTL RS232 it will be a 0. Logic 0 is normally +12V in normal RS232, where it is +5Volts in TTL RS232.
I don't know the type of machien I was using (motherboard type) but it has worked for me on a laptop and a PC. So you may be able to get away from needing a 'level converter' when connecting to a PC.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Also I am working on trying to get mine running. I ran out of battery power. So please check this thread again.
here is a link to the GPS unit.
http://www.deluogps.com/prods_universal.html
This link also says the serial port is TTL/RS-232 so would I still need a converter to connect to hyper terminal?
Post Edited (Mike15) : 9/4/2006 9:52:23 PM GMT
If I understand the site correctly, you can use either TTL or RS232.
Is the GPS unit you have like the one on the site? Did it come with something to connect to a laptop/desktop as described on the website? If so, is their software to test or display data on your computer?
Or is it a bare OEM unit....
I have a OEM trimble LassenIQ that I connect to either my computer or a small LCD via my stamp using TTL. It also came with a small eval board that allows connecting directly to propeitary software on my comp to display data. Displaying GPS data is fairly simple with a stamp and TTL, there is quite a bit of code and examples throughout this froum and on the net. The Lassesn is also very easy to use, and very small.
Here is a snippet that shows the WAIT command mentioned earlier :
Alohas,
Robert
Post Edited (Robert@HCC) : 9/4/2006 11:11:10 PM GMT
So all I have is the GPS no software.
The GPS has 2 data out lines one for TTL and another for serial. Which one should be connected to the Stamp
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Here is what I changed in the code
Setup:
· DEBUG CLS
'
[noparse][[/noparse] Program Code ]
Main:
· SERIN Rx, Baud, TimeOut, No_GPS,
······· [noparse][[/noparse]WAIT("@"), SKIP 6, DEC2 hr, DEC2 mn, DEC2 sc,
········ latHemi, DEC2 latD, DEC2 latM, DEC2 latF, SKIP 1,
········ lonHemi, DEC3 lonD, DEC2 lonM, DEC2 lonF, SKIP 1,
········ SKIP 4, altSign, DEC5 alt,
········ ewDir, DEC4 ewVel, nsDir, DEC4 nsVel]
' The PAUSE instruction below shows how much time is
' available for processing captured GPS data
Test:
· PAUSE 750
· DEBUG altSign, DEC5 alt,":",ewDir, DEC4 ewVel,":", nsDir, DEC4 nsVel, CR
· GOTO Main
· END
'
[noparse][[/noparse] Subroutines ]
No_GPS:
· DEBUG CLS, "No GPS..."
· PAUSE 2000
· GOTO Setup
·And here is the output I get
I noticed on the datasheet that the unit is 4800 baud. Be sure to change the code to something like this..
Baud CON T4800 + Inverted
or
Baud CON T4800
Tobrew
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support