NMEA 0183
NMEA-0186 est un format de données textuel des relevés GPS acquis par les terminaux GPS puis retournés à un hôte (par un port série par exemple). Il couvre un large spectre de données de navigation. Ces données sont envoyées par le récepteur en mode heartbeat à fréquence fixe (0,5 Hz par exemple).
Format
Documentation http://www.sparkfun.com/datasheets/GPS/NMEA%20Reference%20Manual1.pdf
Syntaxe
Chaque message est une ligne de texte commencant par $ et se terminant par [CR][LF] et contient les champs suivants
$IDMSG,D1,D2,D3,...Dn*CS[CR][LF]
ID: Talker id (GP pour GPS)
MSG: Message id
Di: Msg data fields
CS: Ckecksum 2 hexa for 8 bits
Message Ids
- GGA : GPS fix data (NMEA Version 2.1)
- GLL : Geographic position - Latitude/Longitude
- GSA : GPS DOP and active satellites
- GSV : GPS satellites in view
- RMC : Recommended minimum specific GPS/Transit data
- VTG : Track made good and ground speed
- ZDA : Time & Date
- ...
Messages
Message GLL - Geographic Position - Latitude/Longitude
contains the latitude and longitude of the present vessel position, the time of the position fix and the status.
$GPGLL,llll.lll,a,yyyyy.yyy,a,hhmmss.s,A*hh[CR][LF]
- 1,2 Latitude, N (North) or S (South)
- 3,4 Longitude, E (East) or W (West)
- 5 UTC of position
- 6 Status: A = Valid, V= Invalid
- hh Checksum
Message GGA - GPS Fix Data
includes time, position and fix related data for the GPS receiver.
$GPGGA,hhmmss,llll.lll,a,nnnnn.nnn,b,t,uu,v.v,w.w,M,x.x,M,y.y,zzzz*hh[CR][LF]
- 1 UTC of Position
- 2,3 Latitude, N (North) or S (South)
- 4,5 Longitude, E (East) or W (West)
- 6 GPS Quality Indicator: 0 = No GPS, 1 = GPS, 2 = DGPS
- 7 Number of Satellites in Use
- 8 Horizontal Dilution of Precision (HDOP)
- 9, 10 Antenna Altitude in Meters, M = Meters
- 11, 12 Geoidal Separation in Meters, M=Meters. Geoidal separation is the difference between the WGS-84 earth ellipsoid and mean-sea-level.
- 13 Age of Differential GPS Data. Time in seconds since the last Type 1 or 9 Update
- 14 Differential Reference Station ID (0000 to 1023)
- hh Checksum
Exemples
$GPGGA,164503.0,4511.636,N,00546.242,E,1,6,3.25,00220,M,048,M,,*66 $GPVTG,000.0,T,002.0,M,000.00,N,000.00,K*4C $GPRMC,214434,A,3753.666,N,12203.162,W,0.0,0.0,270901,15.4,E,A*33 $GPGGA,214616,3753.667,N,12203.167,W,1,04,5.6,121.1,M,-27.4,M,,*79 $GPGSV,3,1,10,01,69,062,47,03,12,106,37,04,12,279,00,08,12,250,00*77 $GPGLL,3753.667,N,12203.167,W,214616,A,A*54 $GPBOD,,T,,M,,*47
Bibliothèques
Arduino
Java avec RXTX