Skip to main content

Developer Guide: NMEA 2000 Core & IoT CAN Bus 🔌🔌

Athena Helm integrates with standardized marine electronics using an optimized local micro-controller socket simulator and native CAN-bus parser.


🧭 Hardware Interface Architecture

For real vessels, NMEA 2000 (IEC 61162-3) operates in standard CAN (Controller Area Network) profiles at a raw 250 kbps baud-rate.

[NMEA 2000 Backbone] ──┬── [Actisense NGT-1 USB Gateways] ── [Raspberry Pi Node Server]
├── [GPS/Compass Transceiver]
└── [Yanmar Engine Microcontrollers]

🔌 Actuator Control & PGNS

Athena maps physical yacht status properties to common NMEA Parameter Group Numbers (PGNs):

PGNDescriptionTracked Core Values
127250Vessel HeadingPitch, Roll, Heading, Magnetic Variance
130306Wind DataApparent Wind Angle, Apparent Wind Speed, True Direction
127508Battery StatusState of Charge, Output Amps, Voltage Levels, Temperature
127505Fluid Level DBBilge Sump Sump Rate, Fresh Water Tank, Diesel Level

🛠️ Testing via JSON API Trigger Frame Injection

To test specific alarms or trigger emergency bilge actions on your boat's digital twin panels during simulations, developer post requests can target:

POST /api/nmea/inject-frame

{
"pgn": 127505,
"data": {
"sump_pump_overflow": true,
"bilge_height_inches": 3.4
}
}

The system dashboard will instantly pivot, launching thermal warnings and starting extraction pumps within <12ms.