Back to Serial Studio

NMEA 2000 Messages

app/rcc/scripts/native/nmea_2000.md

4.0.1924 B
Original Source

NMEA 2000 Messages

Decodes common marine PGNs (attitude, position, speed, depth and environment) from preprocessed CAN frames. Values latch between frames.

Wire Format

[CAN id: 4 bytes little-endian][data length][data: up to 8 bytes]

The PGN is extracted from the 29-bit CAN identifier.

Parameters

This template has no parameters.

Output Channels

ChannelValuePGN
1-3Yaw, pitch, roll (degrees)127257
4-5Latitude, longitude (degrees)129025
6-8COG (degrees), SOG (knots), reference129026
9-10Water speed, ground speed (knots)128259
11-12Depth (m), transducer offset (m)128267
13-14Water and outside temperature (Celsius)130310
15-17Pressure (hPa), air temperature (Celsius), humidity (%)130311

Pipeline Notes

Select the Binary (raw bytes) decoder. Frames with unknown PGNs are ignored.