Frequently Asked Questions
Mon-Fri, 9am to 5pm
U.S. Mountain Time:
Chat With Us
May 22, 2012
about 3 years ago
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
serin C.5, T9600_8,(“$GPGGA,”),B8,B9,B10,B11,B12,B13 ;read some GPS data
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
serout C.1,T9600_8,(“$PSRF103,00,00,01,0125”,13,10) ;tell GPS to send GGA msgs once per second
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 :(
Forgot your password?
No account? Register one!