NMEA 0183
   HOME

TheInfoList



OR:

NMEA 0183 is a combined electrical and data specification for communication between
marine electronics Marine electronics refers to electronics devices designed and classed for use in the marine environment on board ships and yachts where even a small amount of salt water can destroy some electronics devices. Therefore, the majority of these types o ...
such as
echo sounder Echo sounding or depth sounding is the use of sonar for ranging, normally to determine the depth of water (bathymetry). It involves transmitting acoustic waves into water and recording the time interval between emission and return of a pulse; ...
,
sonar Sonar (sound navigation and ranging or sonic navigation and ranging) is a technique that uses sound propagation (usually underwater, as in submarine navigation) to navigation, navigate, measure distances (ranging), communicate with or detect o ...
s,
anemometer In meteorology, an anemometer () is a device that measures wind speed and direction. It is a common instrument used in weather stations. The earliest known description of an anemometer was by Italian architect and author Leon Battista Alberti ...
,
gyrocompass A gyrocompass is a type of non-magnetic compass which is based on a fast-spinning disc and the rotation of the Earth (or another planetary body if used elsewhere in the universe) to find geographical direction automatically. The use of a gyroc ...
,
autopilot An autopilot is a system used to control the path of an aircraft, marine craft or spacecraft without requiring constant manual control by a human operator. Autopilots do not replace human operators. Instead, the autopilot assists the operator' ...
,
GPS receiver A satellite navigation device (satnav device) is a user equipment that uses one or more of several global navigation satellite systems (GNSS) to calculate the device's geographical position and provide navigational advice. Depending on the ...
s and many other types of instruments. It has been defined and is controlled by the
National Marine Electronics Association The National Marine Electronics Association (NMEA) is a US-based marine electronics trade organization setting standards of communication between marine electronics. Standards NMEA 0183 NMEA 2000 NMEA OneNet NMEA OneNet is a latest standard f ...
(NMEA). It replaces the earlier NMEA 0180 and NMEA 0182 standards. In leisure marine applications it is slowly being phased out in favor of the newer
NMEA 2000 NMEA 2000, abbreviated to NMEA2k or N2K and standardised as IEC 61162-3, is a plug-and-play communications standard used for connecting marine sensors and display units within ships and boats. Communication runs at 250 kilobits-per-second and allows ...
standard, though NMEA 0183 remains the norm in commercial shipping.


Details

The electrical standard that is used is
EIA-422 RS-422, also known as TIA/EIA-422, is a technical standard originated by the Electronic Industries Alliance that specifies electrical characteristics of a digital signaling circuit. It was meant to be the foundation of a suite of standards that ...
, although most hardware with NMEA-0183 outputs are also able to drive a single
EIA-232 In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such ...
port. Although the standard calls for isolated inputs and outputs, there are various series of hardware that do not adhere to this requirement. The NMEA 0183 standard uses a simple
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
,
serial communications In telecommunication and data transmission, serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are ...
protocol that defines how data are transmitted in a "sentence" from one "talker" to multiple "listeners" at a time. Through the use of intermediate expanders, a talker can have a unidirectional conversation with a nearly unlimited number of listeners, and using multiplexers, multiple sensors can talk to a single computer port. At the application layer, the standard also defines the contents of each sentence (message) type, so that all listeners can parse messages accurately. While NMEA0183 only defines an RS422 transport, there also exists a de facto standard in which the sentences from NMEA0183 are placed in UDP datagrams (one sentence per packet) and sent over an IP network. The NMEA standard is proprietary and sells for at least US$2000 (except for members of the NMEA) as of September 2020. However, much of it has been reverse-engineered from public sources.


Serial configuration (data link layer)

There is a variation of the standard called NMEA-0183HS that specifies a baud rate of 38,400. This is in general use by
AIS AIS may refer to: Medicine * Abbreviated Injury Scale, an anatomical-based coding system to classify and describe the severity of injuries * Acute ischemic stroke, the thromboembolic type of stroke * Androgen insensitivity syndrome, an intersex ...
devices.


Message structure

* All transmitted data are printable
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
characters between 0x20 (space) to 0x7e (~) * Data characters are all the above characters except the reserved characters (See next line) * Reserved characters are used by NMEA0183 for the following uses: * Messages have a maximum length of 82 characters, including the $ or ! starting character and the ending * The start character for each message can be either a $ (For conventional field delimited messages) or ! (for messages that have special encapsulation in them) * The next five characters identify the talker (two characters) and the type of message (three characters). * All data fields that follow are comma-delimited. * Where data is unavailable, the corresponding field remains blank (it contains no character before the next delimiter – see
Sample file Sample or samples may refer to: Base meaning * Sample (statistics), a subset of a population – complete data set * Sample (signal), a digital discrete sample of a continuous analog signal * Sample (material), a specimen or small quantity of s ...
section below). * The first character that immediately follows the last data field character is an asterisk, but it is only included if a checksum is supplied. * The asterisk is immediately followed by a
checksum A checksum is a small-sized block of data derived from another block of digital data for the purpose of detecting errors that may have been introduced during its transmission or storage. By themselves, checksums are often used to verify data ...
represented as a two-digit
hexadecimal In mathematics and computing, the hexadecimal (also base-16 or simply hex) numeral system is a positional numeral system that represents numbers using a radix (base) of 16. Unlike the decimal system representing numbers using 10 symbols, hexa ...
number. The checksum is the bitwise exclusive OR of
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
codes of all characters between the ''$'' and ''*'', not inclusive. According to the official specification, the checksum is optional for most data sentences, but is compulsory for RMA, RMB, and RMC (among others). * ends the message. As an example, a waypoint arrival alarm has the form: : ''$GPAAM,A,A,0.10,N,WPTNME*32'' Another example for AIS messages is: :!AIVDM,1,1,,A,14eG;o@034o8sd062D,0*7D


NMEA sentence format

The main talker ID include

https://www.nmea.org/Assets/NMEA%200183%20Talker%20Identifier%20Mnemonics.pdf] * BD or GB - BeiDou, Beidou * GA -
Galileo Galileo di Vincenzo Bonaiuti de' Galilei (15 February 1564 – 8 January 1642) was an Italian astronomer, physicist and engineer, sometimes described as a polymath. Commonly referred to as Galileo, his name was pronounced (, ). He was ...
* GP -
GPS The Global Positioning System (GPS), originally Navstar GPS, is a Radionavigation-satellite service, satellite-based radionavigation system owned by the United States government and operated by the United States Space Force. It is one of t ...
* GL -
GLONASS GLONASS (russian: ГЛОНАСС, label=none, ; rus, links=no, Глобальная навигационная спутниковая система, r=Global'naya Navigatsionnaya Sputnikovaya Sistema, t=Global Navigation Satellite System) is ...
. NMEA message mainly include the following "sentences" in the NMEA messag

One example, the sentence for Global Positioning System Fixed Data for GPS should be "$GPGGA".


Vendor extensions

Most GPS manufacturers include special messages in addition to the standard NMEA set in their products for maintenance and diagnostics purposes. Extended messages begin with "$P". These extended messages are not standardized.


Software compatibility

NMEA 0183 is supported by various navigation and mapping software. Notable applications include: *
DeLorme DeLorme is the producer of personal satellite tracking, messaging, and navigation technology. The company’s main product, ''inReach'', integrates GPS and satellite technologies. ''inReach'' provides the ability to send and receive text messages ...
Street Atlas *
ESRI Esri (; Environmental Systems Research Institute) is an American multinational geographic information system (GIS) software company. It is best known for its ArcGIS products. With a 43% market share, Esri is the world's leading supplier of GIS ...
*
Google Earth Google Earth is a computer program that renders a 3D computer graphics, 3D representation of Earth based primarily on satellite imagery. The program maps the Earth by superimposition, superimposing satellite images, aerial photography, and geog ...
*
Google Maps Google Maps is a web mapping platform and consumer application offered by Google. It offers satellite imagery, aerial photography, street maps, 360° interactive panoramic views of streets ( Street View), real-time traffic conditions, and rou ...
Mobile Edition *
gpsd gpsd is a computer software program that collects data from a Global Positioning System (GPS) receiver and provides the data via an Internet Protocol (IP) network to potentially multiple client applications in a server-client application architec ...
-
Unix Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, and ot ...
GPS Daemon *
JOSM JOSM () ''(Java OpenStreetMap editor)'' is a free software desktop editing tool for OpenStreetMap geodata created in Java, originally developed by Immanuel Scholz and currently maintained by Dirk Stöcker. The editing tool contains advanced featu ...
- OpenStreetMap Map Editor * MapKing *
Microsoft MapPoint Microsoft MapPoint is a discontinued software program and service created by Microsoft that allows users to view, edit and integrate maps. The software and technology are designed to facilitate the geographical visualization and analysis of eithe ...
*
Microsoft Streets & Trips Microsoft Streets & Trips, known in other countries as Microsoft AutoRoute, is a discontinued mapping program developed and distributed by Microsoft. Functionally, the last version is a subset of Microsoft MapPoint targeted at the average consumer ...
*
NetStumbler NetStumbler (also known as Network Stumbler) was a tool for Windows that facilitates detection of Wireless LANs using the 802.11b, 802.11a and 802.11g WLAN standards. It runs on Microsoft Windows operating systems from Windows 2000 to Windows XP ...
*
OpenCPN OpenCPN (Open Chart Plotter Navigator) is a free software maritime chart plotter and navigation software for use underway or as a planning tool. Developed by a team of active sailors and tested in real world conditions, it has multiple supported ...
- Open source navigation software *
OpenBSD OpenBSD is a security-focused, free and open-source, Unix-like operating system based on the Berkeley Software Distribution (BSD). Theo de Raadt created OpenBSD in 1995 by forking NetBSD 1.0. According to the website, the OpenBSD project em ...
's
hw.sensors The hw.sensors framework is a kernel-level hardware sensors framework originating from OpenBSD, which uses the sysctl kernel interface as the transport layer between the kernel and the userland. , the framework is used by over a hundred devi ...
framework with the nmea(4)
pseudo-device In Unix-like operating systems, a device file or special file is an interface to a device driver that appears in a file system as if it were an ordinary file. There are also special files in DOS, OS/2, and Windows. These special files allow a ...
driver * *
OpenNTPD OpenNTPD (also known as OpenBSD NTP Daemon) is a Unix daemon implementing the Network Time Protocol to synchronize the local clock of a computer system with remote NTP servers. It is also able to act as an NTP server to NTP-compatible clients. ...
through sysctl API *
Rand McNally Rand McNally is an American technology and publishing company that provides mapping, software and hardware for consumer electronics, commercial transportation and education markets. The company is headquartered in Chicago, with a distribution c ...
StreetFinder * ObserVIEW


Sample file

A sample file produced by a Tripmate 850 GPS logger. This file was produced in
Leixlip Leixlip ( or ; , IPA: lʲeːmʲənˠˈwɾˠad̪ˠaːnʲ is a town in north-east County Kildare, Ireland. Its location on the confluence of the River Liffey and the Rye Water has marked it as a frontier town historically: on the border betwee ...
,
County Kildare County Kildare ( ga, Contae Chill Dara) is a county in Ireland. It is in the province of Leinster and is part of the Eastern and Midland Region. It is named after the town of Kildare. Kildare County Council is the local authority for the county, ...
,
Ireland Ireland ( ; ga, Éire ; Ulster Scots dialect, Ulster-Scots: ) is an island in the Atlantic Ocean, North Atlantic Ocean, in Northwestern Europe, north-western Europe. It is separated from Great Britain to its east by the North Channel (Grea ...
. The record lasts two seconds.
$GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76
$GPGSA,A,3,10,07,05,02,29,04,08,13,,,,,1.72,1.03,1.38*0A
$GPGSV,3,1,11,10,63,137,17,07,61,098,15,05,59,290,20,08,54,157,30*70
$GPGSV,3,2,11,02,39,223,19,13,28,070,17,26,23,252,,04,14,186,14*79
$GPGSV,3,3,11,29,09,301,24,16,09,020,,36,,,*76
$GPRMC,092750.000,A,5321.6802,N,00630.3372,W,0.02,31.66,280511,,,A*43
$GPGGA,092751.000,5321.6802,N,00630.3371,W,1,8,1.03,61.7,M,55.3,M,,*75
$GPGSA,A,3,10,07,05,02,29,04,08,13,,,,,1.72,1.03,1.38*0A
$GPGSV,3,1,11,10,63,137,17,07,61,098,15,05,59,290,20,08,54,157,30*70
$GPGSV,3,2,11,02,39,223,16,13,28,070,17,26,23,252,,04,14,186,15*77
$GPGSV,3,3,11,29,09,301,24,16,09,020,,36,,,*76
$GPRMC,092751.000,A,5321.6802,N,00630.3371,W,0.06,31.66,280511,,,A*45
Note some blank fields, for example: * GSV records, which describe satellites 'visible', lack the SNR (signal–to–noise ratio) field for satellite 16 and all data for satellite 36. * GSA record, which lists satellites used for determining a
fix (position) Geopositioning, also known as geotracking, geolocalization, geolocating, geolocation, or geoposition fixing, is the process of determining or estimating the geographic position of an object. Geopositioning yields a set of geographic coordinates ...
and gives a DOP of the fix, contains 12 fields for satellites' numbers, but only 8 satellites were taken into account—so 4 fields remain blank.


Status

NMEA 0183 continued to be maintained separately: V4.10 was published in early May 2012, and an erratum noted on 12 May 2012. On November 27, 2018, it was issued an update to version 4.11, which supports
Global Navigation Satellite System A satellite navigation or satnav system is a system that uses satellites to provide autonomous geo-spatial positioning. It allows satellite navigation devices to determine their location (longitude, latitude, and altitude/elevation) to high pr ...
s other than
GPS The Global Positioning System (GPS), originally Navstar GPS, is a Radionavigation-satellite service, satellite-based radionavigation system owned by the United States government and operated by the United States Space Force. It is one of t ...
.


See also

* GPS Exchange Format *
TransducerML TransducerML (Transducer Markup Language) or TML is a retired Open Geospatial Consortium standard developed to describe any transducer ( sensor or transmitter) in terms of a common model, including characterizing not only the data but XML formed m ...
*
IEEE 1451 IEEE 1451 is a set of smart transducer interface standards developed by the Institute of Electrical and Electronics Engineers (IEEE) Instrumentation and Measurement Society's Sensor Technology Technical Committee describing a set of open, common ...
*
IEC 61162 IEC 61162 is a collection of IEC standards for "Digital interfaces for navigational equipment within a ship". The 61162 standards are developed in Working Group 6 (WG6) of Technical Committee 80 (TC80) of the IEC. Sections of IEC 61162 Standard '' ...
*
NMEA 2000 NMEA 2000, abbreviated to NMEA2k or N2K and standardised as IEC 61162-3, is a plug-and-play communications standard used for connecting marine sensors and display units within ships and boats. Communication runs at 250 kilobits-per-second and allows ...
*
NMEA OneNet The National Marine Electronics Association (NMEA) is a US-based marine electronics trade organization setting standards of communication between marine electronics. Standards NMEA 0183 NMEA 2000 NMEA OneNet NMEA OneNet is a latest standard ...
*
RTCM SC-104 RTCM SC-104 is a communication protocol for sending differential GPS (DGPS) to a Satellite navigation device, GPS receiver from a secondary source like a radio receiver. The standard is named for the Special Committee 104 of the Radio Technical Co ...
*
RINEX In the field of geodesy, Receiver Independent Exchange Format (RINEX) is a data interchange format for raw satellite navigation system data. This allows the user to post-process the received data to produce a more accurate result — usually w ...


References

{{Reflist


External links


National Marine Electronics Association

NMEA's website about NMEA 0183

NMEA Specifications at APRS Info
Global Positioning System Network protocols Computer buses Marine electronics Satellite navigation