Difference between revisions of "NMEA 0183"

From air
Jump to navigation Jump to search
Line 5: Line 5:
 
Documentation http://www.sparkfun.com/datasheets/GPS/NMEA%20Reference%20Manual1.pdf
 
Documentation http://www.sparkfun.com/datasheets/GPS/NMEA%20Reference%20Manual1.pdf
   
  +
Chaque message est une ligne de texte commencant par $ et se terminant par [CR][LF] et contient les champs suivants
 
<pre>
 
<pre>
 
$IDMSG,D1,D2,D3,...Dn*CS[CR][LF]
 
$IDMSG,D1,D2,D3,...Dn*CS[CR][LF]
Line 12: Line 13:
 
<br>Di: Msg data fields
 
<br>Di: Msg data fields
 
<br>CS: Ckecksum 2 hexa for 8 bits
 
<br>CS: Ckecksum 2 hexa for 8 bits
 
   
 
Message Ids
 
Message Ids
Line 24: Line 24:
 
* ...
 
* ...
   
  +
===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.
 
  +
====Message GLL - Geographic Position - Latitude/Longitude====
Format $GPGLL,llll.lll,a,yyyyy.yyy,a,hhmmss.s,A*hh[CR][LF]
 
 
contains the latitude and longitude of the present vessel position, the time of the position fix and the status.
 
<pre>$GPGLL,llll.lll,a,yyyyy.yyy,a,hhmmss.s,A*hh[CR][LF]</pre>
 
* 1,2 Latitude, N (North) or S (South)
 
* 1,2 Latitude, N (North) or S (South)
 
* 3,4 Longitude, E (East) or W (West)
 
* 3,4 Longitude, E (East) or W (West)
Line 32: Line 34:
 
* hh Checksum
 
* hh Checksum
   
  +
====Message GGA - GPS Fix Data====
  +
includes time, position and fix related data for the GPS receiver.
  +
<pre>$GPGGA,hhmmss,llll.lll,a,nnnnn.nnn,b,t,uu,v.v,w.w,M,x.x,M,y.y,zzzz*hh[CR][LF]</pre>
  +
* 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
 
Exemples

Revision as of 16:01, 24 February 2011

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

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


Pour en savoir plus