GPS Interfacing

Topic Table of Contents

No Table of Content Infomation to Display


Code Sample rcortesi Wednesday, 10 Dec 03 12:18 pm EST

Here is an example of the NMEA output from my GARMIN GPS III pilot. The same 13 lines are repeated over and over again

$GPGSV,3,1,10,04,18,058,40,05,46,342,47,06,30,232,44,09,74,082,50*7C
$GPGSV,3,2,10,14,09,315,37,17,31,146,44,24,38,103,45,26,20,178,41*72
$GPGSV,3,3,10,29,05,167,32,30,27,301,43,,,,,,,,*74
$PGRME,15.0,M,22.5,M,15.0,M*1B
$GPGLL,2121.057,N,15756.096,W,231334,A*31
$PGRMZ,187,f,3*15
$PGRMM,WGS 84*06
$GPBOD,216.2,T,206.0,M,KAU-SE,PHLI*3D
$GPWPL,2154.023,N,15931.732,W,SOK*04
$GPRMC,231335,A,2121.057,N,15756.096,W,000.0,360.0,081203,010.2,E*62
$GPRMB,A,9.99,R,PHLI,KAU-SE,2151.578,N,15925.807,W,089.0,290.4,,V*62
$GPGGA,231335,2121.057,N,15756.096,W,1,10,2.0,57.1,M,2.3,M,,*59
$GPGSA,A,3,04,05,06,09,14,17,24,26,29,30,,,1.9,2.0,3.0*3C
Online reference rcortesi Wednesday, 10 Dec 03 12:20 pm EST
http://www.commlinx.com.au/NMEA_sentences.htm

A listing of common NMEA sentences

Online reference rcortesi Wednesday, 10 Dec 03 12:24 pm EST
http://www.visualgps.net/Papers/NMEAParser/NMEA Parser Design.htm

A paper discussing parsing NMEA sentences robustly in C++

Online reference rcortesi Wednesday, 10 Dec 03 12:54 pm EST
Here are some other gps links

a linux gps deamon and the page is 5 years old

http://www.netcraft.com.au/geoffrey/gps/

This is a page on the garmin protocall but it only talks about the GPS G40 G90 and G95 which I believe are all older models

http://vancouver-webpages.com/peter/grmnprot.html

This page as a GPS deamon and a sample client

http://www.ibiblio.org/pub/Linux/hardware/daemons/!INDEX.html

The wardriving software section of the seattle wireless pages have software which interfaces to the GPS.

http://www.seattlewireless.net/index.cgi/WarDrivingSoftware

Online reference rcortesi Saturday, 13 Dec 03 12:11 pm EST
Use perl (instead of C or C++) to interface with the serial port /gps reciever.

Here is a perl module for communicating with gps recievers

http://sourceforge.net/projects/perl-gps/