Shop OBEX P1 Docs P2 Docs Learn Events
GPS Error — Parallax Forums

GPS Error

jleemanjleeman Posts: 9
edited 2009-01-02 06:16 in BASIC Stamp
I'm using the USB board and attempting to use the 'stock' demo program and the program quickly debugs the outputs and displays the Error message that it can't read the GPS. I've tried different pins and everything, but no luck. The red led on the GPS is solid so it has satellites. I'm sure it's something simple, but it's got me stumped. Thanks in advance.

Comments

  • Carl LawhonCarl Lawhon Posts: 36
    edited 2008-12-31 00:49
    Jleeman,
    I'm having a similar problem as you, albeit with the stock propeller object. I'm quite stumped as well. Help anyone?
  • FranklinFranklin Posts: 4,747
    edited 2008-12-31 01:55
    Could we see the program you are running and the circuit? If the light is solid you have at least four satellites.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • jleemanjleeman Posts: 9
    edited 2008-12-31 04:21
    The code is located at http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/GPSManualV1.1.pdf and the GPS is just hooked to power, with SIO connected to pin 15
  • Adrian SchneiderAdrian Schneider Posts: 92
    edited 2008-12-31 11:29
    what type of basic stamp do you have? If it is not a BS2 or BS2e you have to adjust the constant T4800 for correct baud setting.
  • jleemanjleeman Posts: 9
    edited 2008-12-31 15:13
    I have a 24 pin stamp 2p
  • FranklinFranklin Posts: 4,747
    edited 2008-12-31 21:03
    Well you need to tie the grounds together.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • jleemanjleeman Posts: 9
    edited 2008-12-31 21:05
    Its tied to the ground on the board. (has the breadboard built on)
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-31 22:08
    Adrian Schneider identified the solution, jleeman: "If it is not a BS2 or BS2e you have to adjust the constant T4800 for correct baud setting."
    Since you have a BS2p you need to make a change in the program.··Toward the top, find:
    ' ----- CONSTANTS ------
    T4800   CON  188
     
    Change it to:
    [color=red]T4800   CON  500[/color]
    

    Post Edit -- Your Stamp directive should be ' {$STAMP BS2p} (not ' {$STAMP BS2}).

    Post Edited (PJ Allen) : 1/1/2009 3:47:13 AM GMT
  • Tom CTom C Posts: 461
    edited 2009-01-01 17:04
    jleeman,

    You may also have a problem if you have mounted the GPS on the BOE breadboard.

    I found that mine would only work if I had it on a ribbon cable at least two feet from the BOE.

    Just a thought.

    Regards,

    TCIII

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
  • jleemanjleeman Posts: 9
    edited 2009-01-01 20:22
    I tried the coding correction and that solved it mostly, moving it solved the rest. The output is not formatted correctly, but I am getting data now. I appreciate the help. This is for a scientific instrument and will be used as the clock and record where we are taking data. Any thoughts about the smart mode? Should we just record that or has everyone had better luck recording raw strings and parsing them later?
  • jleemanjleeman Posts: 9
    edited 2009-01-01 23:08
    Also is this similar to the problem I'm having with the USB logger test program at http://www.parallax.com/Store/Accessories/Communication/tabid/161/CategoryID/36/List/0/Level/a/ProductID/434/Default.aspx?SortField=ProductName,ProductName

    Also a BAUD issue?
  • SRLMSRLM Posts: 5,045
    edited 2009-01-02 06:16
    Yes. There is a thread in the Stamps in Class (it's farily recent, so it should be easy to find) forum about changing BS2 types, and what you need to do. Also, make sure that the jumper on the BOE is set to 5 volts. You can also look in the Basic Stamp Syntax and Reference Manual under SERIN/SEROUT for the information that you need.
Sign In or Register to comment.