PBP and Lassen SQ GPS


Closed Thread
Results 1 to 31 of 31

Hybrid View

  1. #1
    claxon's Avatar
    claxon Guest


    Did you find this post helpful? Yes | No

    Default

    Great Ron,

    I will give it a try with GGA first to see how is it going, with all this parsing thing. What i want to achieve is a module that when it will pass beyong some defined perimeter to issue an alarm.

    regards

  2. #2
    claxon's Avatar
    claxon Guest


    Did you find this post helpful? Yes | No

    Unhappy

    Hi Ron,

    just wondering how I can change the baudrate and parity because:
    - Lassen SQ reverts to 9600 8-O-1 at factory default;
    - then you switch to 4800 8-N-1 NMEA output;

    SQ receiver cannot have different tx/rx baudrates as stated in manual.

    so will be nice to see how u do that baud changing , namely the communications thing.

    regards
    claxon

  3. #3
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Talking Success!

    I finally got the interface up and running. I used the Trimble code posted, sent at 9600 to change the output to NMEA format. The unit cannot be communicated with in this mode, but NMEA is one way output only. The reason I did not store these settings in flash on the receiver, is because the flash write would not work on the two units that I have.
    I an using the GGA output, but the GLL will work just as well. I am using Serin2 and parsing with the "wait" statement until I get the data I want. It works well if the receiver has a satelite lock. You can poll the received string to see if it has enough sats in view, but I just used an if then statement to look for the "N" or "S" in the LAT field. It works fine.

    Look at picbasic.co.uk/support/Gpsmon.bs2
    Don't invert the serin stream since it is not true RS232

  4. #4
    claxon's Avatar
    claxon Guest


    Did you find this post helpful? Yes | No

    Thumbs up Bravo

    Hi Ron,

    Glad for you. Here same but using BatBackup and changing the SQ's usart setup via PC, before mounting it on the PCB.

    Well as I am not very used to picbasic language, still could not find the way you use SEROUT for 8-ODD-1 .

    Any help welcome.

    Claxon
    Last edited by claxon; - 9th March 2005 at 14:43.

  5. #5
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    [QUOTE=claxon]Hi Ron,



    Well as I am not very used to picbasic language, still could not find the way you use SEROUT for 8-ODD-1 .


    <Reply> I don't. I just used the default serout2 command. My belief is that the "0" in 8-0-1 means no parity. In any case, it worked. I did fiddle with the baud rate a bit because I was using the INTOSC at 8 MHz. A crystal or resonator would end that. Good luck!

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts