Tapping Serial output of USB GPS.

K

Kevin Walton

Guest
Hi,

I'm doing some work with a GPS, see here for the full story:

sci.electronics.design subject: Cheap 433 Mhz Serial TX & RX - Which
ones!

It is a USB GPS but I need a serial output.

I have opened it up and it just uses a PL-2303 USB to Serial
converter:

http://tech.prolific.com.tw/visitor/fcabdl.asp?fid=17151518

with the SIRF 2e/LP GPS.

So I have tapped off of pin 5 (rx) and 7 (gnd) leaving the original
chip pins connected and connected to a PC serial port.

I can still operate the gps from the USB, it just uses a software
driver and pretends to be com6, connecting at 4800 8n1 I get my data
stream.

However, connecting to the serial tap at 4800 8n1 gets me data,
streamed at the right sort of rate and intervals - but it's
gobldegook. I have tried all combinations of 8/7, n/o/e and 1/2 at
4800 but no luck, just different gobledegook, this is the sort of
thing:

•šćććfÍćććć͚ććććfÍććććMššš3ŚŚć&ć͚5gey=ˇâžââúN:">*>*F">>N>>>>F>>>>NĆN>>>>>F>>>>NęN>N>>N*>F>N>F>NĘN>F>NĘN>F>N>>>>V""ĘÖnâžâ˛úNúN:NNNNNNNNNNNNN*>F>N*>F>N*>F>V>*ĘÖnâžśĘňN:">*>

Any pointers on how to fix the issue? Is there software that can tell
me what rate and format the data is coming in at? What should a scope
show me on the serial line? Am I using the right ground, I shouldn't
use the VDD_232 pin should I?

All ideas greatfuly received.

Thanks
Kev
 
kevin@unseen.org (Kevin Walton) wrote:

Hi,

I'm doing some work with a GPS, see here for the full story:

sci.electronics.design subject: Cheap 433 Mhz Serial TX & RX - Which
ones!

It is a USB GPS but I need a serial output.

I have opened it up and it just uses a PL-2303 USB to Serial
converter:

http://tech.prolific.com.tw/visitor/fcabdl.asp?fid=17151518

with the SIRF 2e/LP GPS.

So I have tapped off of pin 5 (rx) and 7 (gnd) leaving the original
chip pins connected and connected to a PC serial port.

I can still operate the gps from the USB, it just uses a software
driver and pretends to be com6, connecting at 4800 8n1 I get my data
stream.

However, connecting to the serial tap at 4800 8n1 gets me data,
streamed at the right sort of rate and intervals - but it's
gobldegook. I have tried all combinations of 8/7, n/o/e and 1/2 at
4800 but no luck, just different gobledegook, this is the sort of
thing:

•šćććfÍćććć͚ććććfÍććććMššš3ŚŚć&ć͚5gey=ˇâžââúN:">*>*F">>N>>>>F>>>>NĆN>>>>>F>>>>NęN>N>>N*>F>N>F>NĘN>F>NĘN>F>N>>>>V""ĘÖnâžâ˛úNúN:NNNNNNNNNNNNN*>F>N*>F>N*>F>V>*ĘÖnâžśĘňN:">*
1. Have you tried other speeds? The "reported" speed may not be the speed the
device is actually using.

2. Have you checked the voltage level of the RXD signal? It could be OK to use
with the USB converter chip but too low for your serial port.

3. Does the program you're using expect any control leads (DSR, DCD, etc) to be
active?

4. If you're within driving distance of Atlanta, you can buy me a nice lunch and
I'll dig out my serial line test hardware and software to determine exactly what
signals the device is putting out.


More about me: http://www.jecarter.com/
VB3/VB6/C/PowerBasic source code: http://www.jecarter.com/programs.html
Freeware for the Palm with NS Basic source code: http://nsb.jecarter.com
Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
johnecarter at@at mindspring dot.dot com. Fix the obvious to reply by email.
 
Check the Voltage Levels.

The PDF File at:
http://tech.prolific.com.tw/visitor/fcabdl.asp?fid=17151518
States on page 9
Output Voltage, 3.3V*2:
*2. RS232 pins TXD, DTR_N, RTS_N are 3.3V tri-state outputs.

The RS232 states:
The region between +3 and -3 volts is undefined.
and you'll typically see +/- 12 volt levels on a PC.
http://www.beyondlogic.org/serial/serial.htm

Perhaps you need a voltage level converter:
http://www.superdroidrobots.com/rs232.htm


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
On 20 Nov 2003 09:08:21 -0800, kevin@unseen.org (Kevin Walton) wrote:
Hi, I'm doing some work with a GPS, see here for the full story:
sci.electronics.design subject: Cheap 433 Mhz Serial TX & RX - Which
ones!
It is a USB GPS but I need a serial output.
I have opened it up and it just uses a PL-2303 USB to Serial
converter:
http://tech.prolific.com.tw/visitor/fcabdl.asp?fid=17151518
with the SIRF 2e/LP GPS.
So I have tapped off of pin 5 (rx) and 7 (gnd) leaving the original
chip pins connected and connected to a PC serial port.
I can still operate the gps from the USB, it just uses a software
driver and pretends to be com6, connecting at 4800 8n1 I get my data
stream.
However, connecting to the serial tap at 4800 8n1 gets me data,
streamed at the right sort of rate and intervals - but it's
gobldegook. I have tried all combinations of 8/7, n/o/e and 1/2 at
4800 but no luck, just different gobledegook, this is the sort of thing:

•šćććfÍćććć͚ććććfÍććććMššš3ŚŚć&ć͚5gey=ˇâžââúN:">*>*F">>N>>>>F>>>>NĆN>>>>>F>>>>NęN>N>>N*>F>N>F>NĘN>F>NĘN>F>N>>>>V""ĘÖnâžâ˛úNúN:NNNNNNNNNNNNN*>F>N*>F>N*>F>V>*ĘÖnâžśĘňN:">*

Any pointers on how to fix the issue? Is there software that can tell
me what rate and format the data is coming in at? What should a scope
show me on the serial line? Am I using the right ground, I shouldn't
use the VDD_232 pin should I?
All ideas greatfuly received.
Thanks Kev
 
Guys,

Thanks for the help. problem solved.

One MAX232 added after the serial tapping point and we have a nice
duplicate stream of serial data at 4800 8n1.

Now to wait for my 433Mhz modules to arrive :)

Cheers
Kev
 

Welcome to EDABoard.com

Sponsor

Back
Top