GPS not module working with a BS2P in smart mode
Hello,
Ive got the parallax GPS module working with a BS2P with·RAW pulled down. Works great, but instead of
parsing through all the NMEA data I would like to get·it going in "smart" mode. ( RAW floating or·even driven HI ).
This doesn't seem to work; no response from GPS when I·issued commands.·I followed a Propeller thread --March--
that pointed out a similar problem with that interface, but I couldn't get a sense if the problem was solved
for the Propeller Objects, or if·it has been any sort of problem with stamps.
My trouble shooting has taken me this far:
1) turn on GPS unit with RAW held low.
2) Satellites acquired ( steady LED on GPS )
3) Verify that valid NMEA data is read into stamp at T4800.
4) Stamp·then drives RAW pin high.
5) issue GETINFO command etc. to GPS at same baud settings
6) what for serial data response from GPS... ( none ).
Anyone have any similar experince? thanx,
Kristian
Post Edited By Moderator (Chris Savage (Parallax)) : 5/29/2007 12:59:47 PM GMT
Ive got the parallax GPS module working with a BS2P with·RAW pulled down. Works great, but instead of
parsing through all the NMEA data I would like to get·it going in "smart" mode. ( RAW floating or·even driven HI ).
This doesn't seem to work; no response from GPS when I·issued commands.·I followed a Propeller thread --March--
that pointed out a similar problem with that interface, but I couldn't get a sense if the problem was solved
for the Propeller Objects, or if·it has been any sort of problem with stamps.
My trouble shooting has taken me this far:
1) turn on GPS unit with RAW held low.
2) Satellites acquired ( steady LED on GPS )
3) Verify that valid NMEA data is read into stamp at T4800.
4) Stamp·then drives RAW pin high.
5) issue GETINFO command etc. to GPS at same baud settings
6) what for serial data response from GPS... ( none ).
Anyone have any similar experince? thanx,
Kristian
Post Edited By Moderator (Chris Savage (Parallax)) : 5/29/2007 12:59:47 PM GMT
Comments
Can you check to see if perhaps the GPS is still sending data in RAW mode when the RAW pin is HIGH? Run the code you’re using for RAW mode but leave the RAW pin disconnected. That will tell a lot there. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
When I leave RAW unconnected, The GPS' SIO pin stays silent, even after the Stamp queries for
for version, time etc.. I've written some code that checks for incoming NMEA data strings and then drives
the RAW pin high. The GPS module's SIO pin immediately stops its serial transition when this
happens. I've got a second GPS module heading my way from parallax. I might compare the
the behavior of the second on w/r to the first and go from there.. thanks Chris
-Kristian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
When I leave RAW unconnected, The GPS' SIO pin stays silent, even after the Stamp queries for
for version, time etc.. I've written some code that checks for incoming NMEA data strings and then drives
the RAW pin high. The GPS module's SIO pin immediately stops its serial transition when this
happens. I've got a second GPS module heading my way from parallax. I might compare the
the behavior of the second on w/r to the first and go from there.. thanks Chris
-Kristian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Here is an attached file that will demonstrate my problem.
a little explanation first..
rawpin.bs2 is just a slightly modified GPS demo program. Here I use the BS2 with RAW connected to PIN 14.
when RAW is HIGH there is no response from GPS, even after commands are sent. If RAW is held low
then NMEA strings are sent to the debug screen, although not sync'd to anything, they aren't intelligible.
baud is set as:
T4800·········· CON···· 188
I will be looking at this with the Logic analyser next to see if·any ( even·unreadable )·strings are coming
back from the GPS module.
As I mentioned before, when I use the BS2p and its scratchpad ram buffer, I can read the NMEA strings,
but only in RAW mode. For the BS2p I set baud at T4800· CON 500
Thanks for your help.
Kristian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Just FYI, I got·a·second·GPS unit from parallax. It all works properly, smart mode, raw mode etc...
firmware 1.0
hardware 1.0
First one still only reads in raw mode. Perhaps I got careless and have an ESD issue.
At any rate I will send in the Unit. Thanks for your response.
kristian