Parallax GPS
amal
Posts: 11
hii all
i am not sure if this is the right place to post my issue ..but anyway [noparse]:)[/noparse]
am working with a parallax GPS .. it got to modes .. and am working with the raw mode in which it dosnt need to be programmed
it just sends the NMEA strings.
i've connected it to my labtop serial port .. with the specifications of 4800bps, 8 data bits, no parity, 1 stop bit, non-inverted.
.. but i got just a rubbish data..!!!!!!!!!!!!!
plzzzzzz help ... am i missing something ????????????????
i am not sure if this is the right place to post my issue ..but anyway [noparse]:)[/noparse]
am working with a parallax GPS .. it got to modes .. and am working with the raw mode in which it dosnt need to be programmed
it just sends the NMEA strings.
i've connected it to my labtop serial port .. with the specifications of 4800bps, 8 data bits, no parity, 1 stop bit, non-inverted.
.. but i got just a rubbish data..!!!!!!!!!!!!!
plzzzzzz help ... am i missing something ????????????????
Comments
If the light blinks and then goes solid red, you must have the right +5V/Gnd connections.
If you're using·raw mode, you must have the /RAW pin connected to ground.
Let's assume that much is correct.
I assume you're reading the SIO pin for your data into a Basic Stamp, using the appropriate baud rate code on the Stamp.
Which Stamp are you using?
What does your SERIN statement look like?
Are you using the correct code for non-inverted data? For a BS2 the Baud should be 188 (8N1, True).
Then I assume you're sending the data to a Debug terminal using Debug statements, right? How are you doing that?
i've didnt use it with any microcontroller yet .. although am going to use PIC 16F778A ..
all what am doing is ... i 've connected the GPS to the computer using MAX232..the raw pin is connected to the ground..
and since am using the raw mode .. am expecting to receive data only .. am not sending any type of commands ...i've got the specifications of the serial communication from the data sheet ( 4800bps, 8 data bits, no parity, 1 stop bit, non-inverted )... just to be sure .. the connections to a PC is normally inverted,,but am using the MAX232..so there will be no problems with that issue ,, right ???
That is, do they start coming in when the power is applied to the GPS, or are there data appearing on your screen even the GPS is unpowered?
Do the data seem to change when the GPS gets a satelite lock?
What I'm getting at, of course, is that if the answers are "no" then you've probably got a problem in your wiring. If the answers are "yes", then it could be wiring or settings.
Also, it has a solid red light when connected, so I know i acquire the satellites as the BS2 module works fine.
But in the mean time...check out this post:
http://forums.parallax.com/showthread.php?p=640507
Are you using the same parts and connections that Chris is calling for? That would help to know that.
Jim
Post Edited (hover1) : 5/15/2009 12:14:20 AM GMT
Just a note. You should have started a new thread. Different topic. Even so, we will try to help.
Jim··
But here is the code that I'm adapting to work for our car.
Also attached is the GPS Test Program
would the baudmode cause that big of an error? what exactly does it do?
'
[noparse][[/noparse] Constants ]
T4800·········· CON···· 188
to
'
[noparse][[/noparse] Constants ]
T4800·········· CON···· 813
Baudmode specifies serial timing and configuation, (Baudrate, Parity-Non Parity, True-Inverted)
It's a number that Parallax uses on the BS2 to specify serial parameters. It threw me for a loop when I started with the Basic Stamps.
The Basic2 runs at 20Mhz where the BS2px runs at 32Mhz, so timing has to be compensated for because of the speed differences. That's where the baudmode comes in. Parallax has already calculated it for you!
I haven't looked through the rest of the code yet, but try this and see what happens.
Jim
thank you. and that makes perfect sense now.
my answer is yes .. but i think it is neither a wiring nor a setting problem .. because the GPS got 4 pins and am quite sure about their wiring,,and about the setting issue
am using the RAW mode which demand the minimal specifications .. that is why am so confused about the output.... any suggestions !!!!!!!!!!!!!!????