Shop OBEX P1 Docs P2 Docs Learn Events
GPS not module working with a BS2P in smart mode — Parallax Forums

GPS not module working with a BS2P in smart mode

kristiankristian Posts: 6
edited 2007-08-27 13:22 in BASIC Stamp
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

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-05-29 12:59
    Kristian,

    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
  • kristiankristian Posts: 6
    edited 2007-05-29 22:55
    Hi Chris,

    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 SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-05-30 00:42
    It just occurred to me…While you said something about the baud rate, I wonder if everything’s getting set right…Can you post the code you’re using so I can verify it on a BS2p? Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • kristiankristian Posts: 6
    edited 2007-05-30 02:55
    Hi Chris,

    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 SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-05-30 03:34
    If the GPS doesn’t understand what you send it, it won’t respond. This could happen for a number of reasons which is why I asked you to post the code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • kristiankristian Posts: 6
    edited 2007-05-30 08:31
    HI Chris, sorry about the double post, wasn't intentional

    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 SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-05-30 15:39
    At this point I would recommend sending the module in for testing. Please contact Tech Support directly for an RMA number to send this unit in. The RAW pin directly affects an on-board switch and requires no intervention from the SX chip. So perhaps something is wrong there. We’ll know after testing it. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • kristiankristian Posts: 6
    edited 2007-05-31 14:23
    Hi Chris,

    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
  • sirionsirion Posts: 3
    edited 2007-08-27 13:22
    Same problem here, using a BS2P only raw mode, no smart mode, when i use a STD. BS2 it will accept smart mode also ?
Sign In or Register to comment.