GPS Nmea

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

CT

COMMUNICATION TECHNOLOGY GmbH

NMEA Input/Output Messages 12 KANAL GPS (SIRF Chipset)


2.1 NMEA Checksum
All NMEA sentences have an optional checksum. The Checksum can be enabled/disabied when setting up the NMEA Protocol. The optional checksum field consists of a " * " and two hex digits representing the exklusive OR of all characters between, but not including, the s " and ' * ". The following pseudo code calculates a checksum over an array of characters line '. The first character in the array is " line [ 0 1

2.2 NMEA Output Messages


The Evaluation Unit outputs the following messages as shown in Table 2.1:

2.2.1 GGA -Global Positioning System Fixed Data

Table 2.2 contains the values for the following example: $GPGGA,161229.487,3723.2475,N,12158.3416,W,1,07,1.0,9.0,M, 0000*18

NMEA Record GGA GLL GSA GSV RMC VTG Table

Description Global positioning system fixed data Geographic position - latitude/longitude GNSS DOP and active satellites GNSS satellites in view Recommended minimum specific GNSS data Course over ground and ground speed 2.1: NMEA-0183 Output Messages

Name Message ID UTC Position Latitude N/S Indicator Longitude E/W lndicator Position Fix Indicator Satellites Used HDOP

Example $GPGGA 161229.487 3723.2475 N 12158.3416 w 1 07 1.0

Units

Description GGA protocol header hhmmss.sss ddmm.mmmm N=north or S=south dddmm.mmmm E=east or W=west See Table 2.3 Range 0 to 12 Horizontal Dilution of Precision

CT COMMUNICATION TECHNOLOGY GmbH NMEA Messages 12 KANAL GPS www.ct-gmbh.de

CT
MSL Altitude Units Geoid Separation Units Age of Diff. Corr. Diff. Ref. Station ID Checksum CR LF Table 2.2: GGA Data Format m 0000 *18 9.0 m meters meters meters meters second's

COMMUNICATION TECHNOLOGY GmbH

Null f ield When DGPS is not used -

End of message termination

Note - This implementation does not support geoid corrections. Values are WG584 eilipsoid heights.

Value 0 1 2 3

Description Fix not available or invalid GPS SPS Mode, fix valid Differential GPS, SPS Mode, fix valid GPS PPS Mode, fix valid Table 2.3-. Position Fix Indicator

2.2.2 GLL-Geographic Position - Latitude/Longitude Table 2.4 contains the values for the following
example: $GPGLL,3723.2475,N,12158.3416,W,161229.487,A-2C
Name Message ID Latitude N/S lndicator Longitude E/W Indicator UTC Position Status Checksum CR LF Table 2.4: GLL Data Format Example $GPGLL 3723.2475 N 12158.3416 W 161229.487 A *2C End of message termination Units Description GLL protocol header ddmm.mmmm N=north or S=south dddmm.mmmm E=east or W=west hhmmss.sss A=data valid or V=data not valld

CT COMMUNICATION TECHNOLOGY GmbH NMEA Messages 12 KANAL GPS www.ct-gmbh.de

CT

COMMUNICATION TECHNOLOGY GmbH

2.2.3 GSA-GNSS DOP and Active Satellites

Table 2.5 contains the values for the following example:

$GPGSA,A,3,07,02,26,27,09,04,15...........

1.8,1.0,1.5*33

Name Message ID Mode 1 Mode 2 Satellite Used Satellite Used Satellite Used PDOP HDOP VDOP Checksum CR LF Table 2.5: GSA Data Format

Example Units $GPGSA A 3 07 02

Description GSA protocol header See Table 2.6 See Table 2.7 Sv on Channel 1 Sv on Channel 2 Sv on Channel 12

1.8 1.0 1.5 *33

Position Dilution of Precision Horizontal Dilution of Precision Vertical Dilution of Precision

End of message termination

Value 1 2 3 Table 2.6: Mode 1

Description Fix not available 2D 3D

2.2.2 GLL-Geographic Position - Latitude/Longitude Table 2.4 contains the values for the following
example: $GPGLL,3723.2475,N,12158.3416,W,161229.487,A*2C Name Message ID Latitude N/S Indicator Example $GPGLL 3723.2475 N Units Description GLL protocol header ddmm.mmmm N=north or S=south

CT COMMUNICATION TECHNOLOGY GmbH NMEA Messages 12 KANAL GPS www.ct-gmbh.de

CT
Longitude E/W Indicator UTC Position Status Checksum CR LF Table 2.4: GLL Data Format 12158.3416 W 161229.487 A *2C dddmm.mmmm E=east or W=west hhmmss.sss

COMMUNICATION TECHNOLOGY GmbH

A=data valid or V=data not valid

End of message termination

2.2.3 GSA-GNSS DOP and Active Satellites

Table 2.5 contains the values for the following example:

$GPGSA,A,3,07,02,26,27,09,04,15...........

1.8,1.0,1.5*33

Name Message ID Mode 1 Mode 2 Satellite Used Satellite Used Satellite Used PDOP HDOP VDOP Checksum CR LF Table 2.5: GSA Data Format

Example Units $GPGSA A 3 07 02

Description GSA protocol header See Table 2.6 See Table 2.7 Sv on Channel 1 Sv on Channel 2 Sv on Channel 12

1.8 1.0 1.5 *33

Position Dilution of Precision Horizontal Dilution of Precision Vertical Dilution of Precision

End of message termination

Value 1 2 3

Description Fix not available 2D 3D Table 2.6: Mode 1

CT COMMUNICATION TECHNOLOGY GmbH NMEA Messages 12 KANAL GPS www.ct-gmbh.de

CT

COMMUNICATION TECHNOLOGY GmbH

Value M A

Description Manual-forced to operate in 2D or 3D mode Automatic-allowed to automatically switch 2D/3D Table 2.7: Mode 2

2.2.4 GSV-GNSS Satellites in View

Table 2.8 contains the values for the following example:

$GPGSV,2,1,07,07,79,048,42,02,51,062,43,26,36,256,42,27,27,138,42*71 $GPGSV,2,2,07,09,23,313,42,04,19,159,41,15,12,041,42*41

Name Message ID Number of Messages Message Numberl Satellites in View Satellite ID Elevation Azimuth SNR (C/No) Satellite ID Elevation Azimuth SNR (C/No) Checksum CR LF

Example Units $GPGSV 2 1 07 07 79 048 42 27 27 138 42 *71

Description GSV protocol header Range 1 to 3 Range 1 to 3

Channel 1 (Range 1 to 32) degrees degrees dBHz Channel 1 (Maximum 90) Channel 1 (True, Range 0 to 359) Range 0 to 99, null when not tracking Channel 4 (Range 1 to 32) degrees degrees dBHz Channel 4 (Maximum 90) Channel 4 (True, Range 0 to 359) Range 0 to 99, null when not tracking

End of message termination

Table 2.8: GSV Data Format

Note - Depending on the number of satellites tracked multipie messages if GSV data may be required. This is reported in the 'Number of Messages" and "Message Number" fields.

CT COMMUNICATION TECHNOLOGY GmbH NMEA Messages 12 KANAL GPS www.ct-gmbh.de

CT

COMMUNICATION TECHNOLOGY GmbH

2.2.5 RMC-Recommended,Minimum Specific GNSS Data Table 2.9 contains the values for the following example:
$GPRMC,161229.487,A,3723.2475,N,12158.3416,W,0.13,309.62,120598, *10
Name Message ID UTC Position Status Latitude N/S Indicator Longitude E/W Indicator Speed Over Ground Course Over Ground Date Magnetic Variation Checksum CR LF Table 2.9: RMC Data Format Note - Magnetic Declination is not supported. Alt 'course over ground' data are geodetic WGS84 directions. *10 End of message termination Example $GPRMC 161229.487 A 3723.2475 N 12158.3416 w 0.13 309.62 120598 degrees knots degrees True ddmmyy E=east or W=west Units Description RMC protocol header hhmmss.sss A=data valid or V=data not valid ddmm.mmmm N=north or S=south dddmm.mmmm E=east or W=west

2.2.6 VTG-Course Over Ground and Ground Speed


Table 2.10 contains the values for the following example: $GPVTG,309.62,T, m,0.13,N,0.2,K*6E Name Message ID Course Reference Course Reference Speed Units Speed Units Checksum CR LF m 0.13 N 0.2 K *6E End of message termination km/hr knots Example $GPVTG 309.62 T degrees degrees Units Description VTG protocol header Measured heading True Measured heading Magnetic Measured horizontal speed Knots Measured horizontal speed Kilometer per hour

CT COMMUNICATION TECHNOLOGY GmbH NMEA Messages 12 KANAL GPS www.ct-gmbh.de

You might also like