background image

Orion NMEA User Manual 
GPS Receiver Module        

 

 

Micro Modular Technologies Pte. Ltd. 

 

Page 1 of 25 

No. 3, Ubi Avenue 3, #03-02  Crocodile House  408857  Singapore 
Tel: 65-6745-8832  Fax: 65-6293-0661  Email: sales@micro-modular.com 

www.micro-modular.com 

Overview 

This  document  describes  the  format  and  usage  of  NMEA  messages  for  Orion  GPS  navigation 
software.  It  also  details  the  implementation  specifics  of  NMEA  input  commands  and  output 
sentences supported by Orion.  

 

 

Message Format 

Orion  NMEA  messages  conform  to  the  NMEA-0183  Ver.  3.01  (January  1,  2002)  standard  with 
implementation specifics as noted below.  

Commands start with a dollar-sign (“$”), followed by “PUNV”, and a comma (“,”). The command text 
(which  is  defined  in  section  4)  comes  next,  followed  by  an  asterisk  (“*”),  two-digit  hexadecimal 
checksum, and the <carriage return> <new line> characters.  

Example: 

$PUNV,<command>*cc<carriage return><new line> 

2.1 

Checksum Calculation 

In accordance  with NMEA-0183, the checksum is calculated  by  taking  the 8 bit  exclusive OR of all 
characters between (but not including) the “$” and the “*”. The checksum is then appended after the 
“*” as a 2 character hexadecimal number.  

If a command’s checksum is omitted or illegal the command will be rejected and an error message 
issued.  

A command with the checksum value “cc” (two lower case “c” characters) will be accepted as valid 
(this is primarily used for testing purposes). 

2.2 

Sentence Termination Delimiter 

All  sentences  end  with  the  sentence  termination  delimiter  <carriage  return><new  line>.  This 
combination  is  “\r\n”  in  C-language  format  and  hexadecimal  ASCII  values  are  0Dh  0Ah.  Both 
characters are required for a command to be recognized. 

2.3 

NMEA Message Sizes 

In accordance  with NMEA-0183, the maximum number of characters between the starting delimiter 
“$” and the terminating <CR><LF> should be 79. That is, the maximum needed buffer size should be 
82 for one output sentence.  

For input NMEA commands, the maximum size accepted is 128 characters. 

Summary of Contents for Orion NMEA

Page 1: ...w line 2 1 Checksum Calculation In accordance with NMEA 0183 the checksum is calculated by taking the 8 bit exclusive OR of all characters between but not including the and the The checksum is then appended after the as a 2 character hexadecimal number If a command s checksum is omitted or illegal the command will be rejected and an error message issued A command with the checksum value cc two low...

Page 2: ...x becomes valid Altitude is reported referenced to the ellipsoid and the Geoidal Separation is null GLL UTC time field as in GGA GSA Satellite ID numbers are in the range 00 to 99 GSV No implementation specific notes RMC UTC time field as in GGA Course and Speed over ground as in VTG Magnetic Variation is null VTG Course over ground is reported with 0 1 degree precision Speed over ground is report...

Page 3: ...g with configured offsets GPDTM W84 0 000000 S 0 000000 W 0 00 W84 50 Name Description Type Example MsgID DTM Header GPDTM DatumID Local Datum ID W84 DatumSubD Datum Subdivision Code null LatOfs Latitude Offset in minutes 0 000000 LatDirection N North S South S LonOfs Longitude Offset in minutes 0 000000 LonDirection E East W West W AltOfs Altitude Offset in meters 0 00 RefDatum Reference Datum ID...

Page 4: ...7 32 28 M 16 Name Description Type Example MsgID GGA Header GPGGA FixTime Fix Time UTC hh mmss sss 042626 001 Lat Latitude ddmm mmmm 3345 7471 LatDirection N North S South N Lon Longitude dddmm mmmm 11750 8451 LonDirection E East W West W FixQuality 0 No fix 1 Valid Fix 1 SatsUsed Number of satellites in solution 04 HDOP Horizontal Dilution of Precision 8 7 Alt Altitude in meters referenced to the...

Page 5: ...itude This sentence contains the fix latitude and longitude GPGLL 3345 7471 N 11750 8451 W 042628 001 A A 4E Name Description Type Example MsgID GLL Header GPGLL Lat Latitude ddmm mmmm 3345 7471 LatDirection N North S South N Lon Longitude dddmm mmmm 11750 8451 LonDirection E East W West W FixTime Fix Time UTC hhmmss sss 042628 001 FixStatus V No fix A Valid Fix A FixMode N No Fix A Autonomous Mod...

Page 6: ...f fix PRNs of the satellites used in the solution as well as PDOP HDOP and VDOP GPGSA A 3 15 22 18 21 03 14 09 19 16 26 1 5 1 0 1 2 3E Name Description Type Example MsgID GSA Header GPGSA OpMode A Automatic M Manual not used by Orion A FixType 1 No fix 2 2D fix 3 3D fix 3 SatID01 SV on channel 01 15 SatID12 SV on channel 12 null PDOP Position Dilution of Precision 1 5 HDOP Horizontal Dilution of P...

Page 7: ...0 26 06 035 37 70 Name Description Type Example MsgID GSV Header GPGSV NumMsgs Total number of GSV sentences 3 MsgNum Sentence number of the total 1 NumSatView Number of satellites in view 10 SatID1 SV on channel 1 5 or 9 03 Elevation1 Elevation in degrees 37 Azimuth1 Azimuth in degrees True 299 C No1 C No of satellite in dB Hz 47 SatID2 SV on channel 2 6 or 10 09 Elevation2 Elevation 15 Azimuth2 ...

Page 8: ...x Type PDOP and VDOP GPRMC 042626 001 A 3345 7471 N 11750 8451 W 0 0 270 0 140707 A 77 Name Description Type Example MsgID RMC Header GPRMC FixTime Fix Time UTC hhmmss sss 042626 001 FixStatus V No fix A Valid Fix A Lat Latitude ddmm mmmm 3345 7471 LatDirection N North S South N Lon Longitude dddmm mmmm 11750 8451 LonDirection E East W West W Speed Speed in knots 0 0 Tcourse True Course in degrees...

Page 9: ...ce contains the course and speed of the navigation solution GPVTG 270 0 T 0 0 N 0 0 K A 45 Name Description Type Example MsgID VTG Header GPVTG Tcourse True Course in degrees 270 0 ReferenceT T True T Mcourse Magnetic Course in degrees null ReferenceM M Magnetic null Speed Speed in knots 0 0 UnitN N Knots Nautical Miles per Hour N SpeedKPH Speed in Kilometers per Hour 0 0 UnitK K KPH K Mode N No f...

Page 10: ...r com 3 8 ZDA Time and Date This sentence contains UTC date time and local time zone offset information GPZDA 042626 001 14 07 2007 54 Name Description Type Example MsgID ZDA Header GPZDA Time hhmmss sss 042626 001 Day Day UTC dd 14 Month Month UTC mm 07 Year Year UTC yyyy 2007 TZH Local Time Zone Offset Hours null TZM Local Time Zone Offset Minutes null ChkSum Checksum 54 EOL NMEA end of line CR ...

Page 11: ...ands 4 1 GETCONFIG Command The GETCONFIG command allows the user to read the current system configuration For details of each field please refer to the CONFIG command in section 4 2 The format of the GETCONFIG command is PUNV GETCONFIG section ID cc 4 1 1 Section 00 Output Configuration Read the current output configuration PUNV GETCONFIG 00 41 The response message is PUNV CFG_R 00 00 0 1000 UART ...

Page 12: ...NFIG 17 47 The response message is PUNV CFG_R 17 PosThreshold VelThreshold 2DStartMode cc PosThreshold Threshold value meters for position jump Position will not be pinned if this value is reached VelThreshold Threshold value meters second for position jump Position will not be pinned if this value is reached 2DStartMode indicates whether the receiver will initially enter 2D fix mode using last na...

Page 13: ...peed in bits per second All communications use 8 data bits no parity and one stop bit MASK is a two digit hexadecimal number which enables selected output NMEA sentences Each NMEA output sentence is assigned a bit in the mask Examples Only transmit the GSA GSV VTG ZDA and DTM sentences EC GSA 4 GSV 8 VTG 20 ZDA 40 DTM 80 Transmit the default sentences 1D GGA 1 GSA 4 GSV 8 RMC 10 Orion will check t...

Page 14: ...IG 00 00 0 1000 4800 1D 73 4 2 2 Section 03 Time Zone Offset Configuration Set the time zone offset PUNV CONFIG 03 TZH TZM cc Table 12 Time Zone Offset Configuration Parameters TZH is the UTC offset in whole hours It may be negative zero or positive and is generally negative for West longitudes TZM is the additional minutes of UTC offset It must be zero or positive Note that this time zone offset ...

Page 15: ...ame of the datum Maximum is 8 characters Examples Select the TOY B South Korean datum PUNV CONFIG 16 211 0E Select the default datum WGS 84 PUNV CONFIG 16 1 0D 4 2 4 Section 17 Position Pinning 2D 3D Startup Set position pinning and 2D 3D startup parameters PUNV CONFIG 17 PosThreshold VelThreshold 2D 3DStartMode cc PosThreshold is the threshold value for position jump Position pinning will be disa...

Page 16: ...design includes an external RTC please refer to the module Data Sheet the SLEEP command can specify a sleep duration Note that the receiver will wake up on UART activity or when the duration expires whichever occurs first PUNV SLEEP HH MM SS CC HH is hours 0 to 24 MM is minutes 0 to 59 DD is seconds 0 to 59 Maximum sleep time is 24 59 59 and minimum is 00 00 05 Example sleep for 30 seconds PUNV SL...

Page 17: ...rmat is PUNV ERR ID ERROR DATA cc ID is the section ID which causes the error 05 NMEA command processor ERROR is the error number defined in the section DATA is error specific optional data ID ERROR Description 5 NMEA 1 Illegal command form 5 NMEA 2 Illegal command prefix 5 NMEA 3 Illegal command 5 NMEA 4 Illegal section ID 5 NMEA 5 Illegal parameter 5 NMEA 6 Illegal checksum 5 NMEA 7 Illegal mess...

Page 18: ... 6 ADI C Mali 7 ADI D Senegal 8 ADI B Sudan 9 AFG Somalia 10 AIN A Bahrain 11 AIN B Saudi Arabia 12 AMA American Samoa Islands 13 ANO Cocos Islands 14 AIA Antigua Leeward Islands 15 ARF A Botswana 16 ARF H Burundi 17 ARF B Lesotho 18 ARF C Malawi 19 ARF M MEAN FOR Botswana Lesotho Malawi Swaziland Zaire Zambia Zimbabwe 20 ARF D Swaziland 21 ARF E Zaire 22 ARF F Zambia 23 ARF G Zimbabwe 24 ARS M ME...

Page 19: ...hamas Florida 45 CGE Tunisia 46 CHI New Zealand Chatham Island 47 CHU Paraguay 48 COA Brazil 49 DAL Guinea 50 DID Deception Island Antarctica 51 BAT Indonesia Sumatra 52 GIZ New Georgia Islands Gizo Island 53 EAS Easter Island 54 EST Estonia 55 EUR E Cyprus 56 EUR F Egypt 57 EUR G England Channel Islands Scotland Shetland Islands 58 EUR K England Ireland Scotland Shetland Islands 59 EUR C Finland ...

Page 20: ...2 GAA Republic of Maldives 73 GEO New Zealand 74 GRA Azores Faial Graciosa Pico Sao Jorge Terceira 75 GUA Guam 76 GSE Indonesia Kalimantan 77 DOB Guadalcanal Island 78 HEN Afghanistan 79 HER Croatia Serbia Bosnia Herzegovina 80 HJO Iceland 81 HKD Hong Kong 82 HTN Taiwan 83 IND B Bangladesh 84 IND I India Nepal 85 IND P Pakistan 86 INF A Thailand 87 ING B Vietnam Con Son Island 88 ING A Vietnam Nea...

Page 21: ...7 NAS D Alaska Excluding Aleutian Ids 118 NAS V Alaska Aleutian Ids East of 180 W 119 NAS W Alaska Aleutian Ids West of 180 W 120 NAS Q Bahamas Except San Salvador Id 121 NAS R Bahamas San Salvador Island 122 NAS F Canada Alberta British Columbia 123 NAS H Canada Manitoba Ontario 124 NAS G Canada New Brunswick Newfoundland Nova Scotia Quebec 125 NAS I Canada Northwest Territories Saskatchewan 126 ...

Page 22: ...SD Algeria 144 FLO Azores Corvo Flores Islands 145 OEG Egypt 146 OHA A Hawaii 147 OHA B Kauai 148 OHA C Maui 149 OHA M MEAN FOR Hawaii Kauai Maui Oahu 150 OHA D Oahu 151 FAH Oman 152 OGB A England 153 OGB B England Isle of Man Wales 154 OGB M MEAN FOR England Isle of Man Scotland Shetland Islands Wales 155 OGB C Scotland Shetland Islands 156 OGB D Wales 157 PLN Canary Islands 158 PIT Pitcairn Isla...

Page 23: ... Poland 180 SPK C Czechoslovakia 181 SPK D Latvia 182 SPK E Kazakhstan 183 SPK F Albania 184 SPK G Romania 185 CCD Czechoslovakia Prior 1 JAN 1993 186 SAE Espirito Santo Island 187 SAO Azores Sao Miguel Santa Maria Ids 188 SAP East Falkland Island 189 SCK Namibia 190 SGM Salvage Islands 191 SRL Sierra Leone 192 SAN A Argentina 193 SAN B Bolivia 194 SAN C Brazil 195 SAN D Chile 196 SAN E Colombia 1...

Page 24: ...dular com ID NAME Region of use 206 TAN Madagascar 207 TIL Brunei E Malaysia Sabah Sarawak 208 TOY A Japan 209 TOY M MEAN FOR Japan South Korea Okinawa 210 TOY C Okinawa 211 TOY B South Korea 212 TDC Tristan da Cunha 213 MVS Fiji Viti Levu Island 214 VOR Algeria 215 WAK Wake Atoll 216 ENW Marshall Islands 217 WGS72 Global Definition 218 WGS84 Global Definition 219 YAC Uruguay 220 ZAN Suriname 221 ...

Page 25: ...t to make changes in the product design and specifications as needed and without notification to its users Please check our website for the most current documentation All information contained herein is the property of Micro Modular Technologies Pte Ltd and may not be copied or reproduced other than for your information without prior written consent 8 Contact Information Corporate Headquarters Mic...

Reviews: