Reading a sentence
$GPRMC,123519.00,A,5132.4810,N,00005.2380,W,5.4,084.4,191126,1.2,W,A*3A
- $ starts the sentence (! for AIS).
- GP is the talker — a GPS. RMC is the sentence type: recommended minimum data.
- The fields follow, separated by commas: time, status, latitude and longitude (degrees and minutes, then the hemisphere), speed in knots, course, date, variation and mode. An empty field means no data.
- *3A is the checksum: the XOR of every character between
$and*, in hexadecimal.
Latitude 5132.4810 is 51° and 32.4810 minutes, which is 51.541350°. The decoder converts every position this way.
What it decodes
| Position & time | RMC, GGA, GLL, ZDA |
| Course & speed | VTG, VHW, VLW |
| Satellites | GSA, GSV |
| Heading & steering | HDG, HDM, HDT, ROT, RSA, XTE |
| Depth | DBT, DPT |
| Wind & water | MWV, MWD, VWR, MTW |
| Engine & sensors | RPM, XDR |
| AIS | VDM, VDO — position reports (types 1–3, 18); type and MMSI for the rest |
Any other sentence — including manufacturers' proprietary $P… sentences — is still split into its fields and checksum-checked. Multi-part AIS messages are joined before decoding.
Connecting 0183 to NMEA 2000
To get these instruments onto an NMEA 2000 network — or a Victron GX device — you need a gateway. The NMEA 0183 to NMEA 2000 gateway guide covers wiring, baud rates and filters, and the network planner checks the NMEA 2000 side. Once data is on the CAN bus, the CAN log analyzer decodes it.
Questions
How is the NMEA 0183 checksum calculated?
It is the 8-bit XOR of every character between the $ (or !) and the *, written as two hexadecimal digits after the *. The checksum calculator on this page works it out for any sentence.
What do the first letters of an NMEA 0183 sentence mean?
After the $ come a two-letter talker ID (GP for a GPS, GN for combined satellite systems, II for integrated instruments, SD for a depth sounder, AI for AIS) and a three-letter sentence type such as RMC, GGA or DPT. Sentences starting with P are proprietary to one manufacturer.
Why do I see bad checksums?
One or two can be noise. Many usually mean a wiring or settings problem: the wrong baud rate (4800 for most instruments, 38400 for AIS), swapped A/B or +/− wires, or a long unshielded run near a noisy cable.
Which NMEA 2000 PGNs does a gateway make from NMEA 0183?
It depends on the gateway's conversion table. This decoder shows Yacht Devices' YDNG-03 table: for example RMC becomes PGNs 129025, 129026, 126992 and 127258, DPT becomes 128267, MWV becomes 130306, and AIS position reports become 129038 (Class A) or 129039 (Class B).