Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Member #326388

Member Since: May 22, 2012

Country: United States

  • Hi guys,

    I am totally new to GPS interfacing and I have read your comments with great interest. My question is the following: Could someone please show me how to communicate with this module (LS20126 mounted on a breakout board) using a PICAXE 18M2 microcontroller? I have tried everything but I am not sure I'm sending the setup messages correctly. When I try to read the GPS module's output via the "serin" command I get nothing. I'm only trying to read a few bytes and then display them on an LCD just to verify that I can extract data.

    Thing you should know: All the 18M2's inputs and outputs are TTL (no Schmitt triggers here) Power to the module is 5V regulated The "enable" pin is tied to the above PS The LCD is working perfectly The microcontroller is working perfectly

    This is the code that I am using:

    serin C.5, T9600_8,("$GPGGA,"),B8,B9,B10,B11,B12,B13 ;read some GPS data pause 100

    serout C.6,N2400_8, (B8,B9,B10,B11,B12,B13) ; display values

    These are the setup messages I'm sending:

    pause 10000 ;wait for GPS to boot serout C.1,T9600_8,("$PSRF100,1,9600,8,1,00C",13,10) ; set communications to 9600, 8, 1, no parity pause 100 serout C.1,T9600_8,("$PSRF103,00,00,01,0125",13,10) ;tell GPS to send GGA msgs once per second

    pause 1500

    Sorry for the long post but this is driving me nuts! I've been working on this for 12 hours straight with no solution in sight.

No public wish lists :(