On OpenPlotter 4, configure your CAN adapter, confirm traffic on SocketCAN can0, and add it as an NMEA 2000 input in Signal K. Signal K maps supported incoming PGNs to data paths automatically. OpenPlotter CAN input and Signal K Server configuration.
Configure the CAN adapter
For physical installation, follow the adapter maker’s manual and local rules. OpenPlotter identifies H and L as CAN data terminal labels and specifies a 120 Ω terminator at each end of the NMEA 2000 backbone. OpenPlotter CAN terminals and backbone termination.
In OpenPlotter Settings, install CAN Bus if needed. Open Main → OpenPlotter → CAN Bus or run openplotter-can. For a supported Raspberry Pi HAT, use the MCP2515 or MCP251xfd tab that matches the controller and click the button to add a device in that tab. Match Interface to the HAT’s SPI wiring. Read Oscillator from the board’s crystal and use the HAT documentation to find the Interrupt GPIO. Reboot to apply the settings. CAN Bus app and MCP2515/MCP251xfd setup.
For the MacArthur HAT v1.2, select Add MCP251xfd device, set Interface to SPI0 CE1, Oscillator to 20000000, and Interrupt to GPIO 25. Click OK and reboot. MacArthur HAT configuration.
For an Actisense NGT-1 or a USB adapter that uses slcand, follow the OpenPlotter USB converter setup.
Check can0 and incoming traffic
Run the Linux status command below. Check the interface flags for UP and the CAN settings for bitrate 250000. Check the packet count under RX for incoming traffic. Use the actual CAN interface name in the command if yours differs. Linux SocketCAN documentation and Signal K SocketCAN FAQ.
ip -details -statistics link show can0
For a native SocketCAN adapter that already appears as can0 but is down, bring it up at 250,000 bits per second. This manual setting lasts until reboot. For startup configuration, follow instructions for your Linux distribution and CAN transceiver. Signal K SocketCAN FAQ.
sudo ip link set up can0 type can bitrate 250000
For a HAT configured in OpenPlotter, return to its tab after reboot. Select the device and click Check device traffic to watch for incoming frames. OpenPlotter CAN input guide.
Connect SocketCAN to Signal K
In the OpenPlotter CAN Bus app, select your configured HAT interface and click Add Connection. OpenPlotter restarts Signal K. Open the Signal K Admin UI and confirm the connection under Server → Data Connections. On the machine running Signal K, the default Admin UI address is http://localhost:3000. OpenPlotter CAN input guide and Signal K data connections.
For the HALPI2 CAN interface, Hat Labs documents this Signal K setup. As an administrator, open Server → Data Connections and use +Add to create the connection with the settings below. After the connection is created, click Restart at the top right and check the dashboard for data. Signal K Server configuration and Hat Labs SocketCAN settings example.
| Field | HALPI2 example setting |
|---|---|
| Data Type | NMEA2000 |
| Enabled | Yes |
| ID | A name for this connection |
| NMEA 2000 Source | Canbus (canboatjs) |
| Interface | can0 |
Verify the incoming PGN mappings
Signal K Server decodes incoming NMEA 2000 messages through canboatjs and maps the decoded fields through n2k-signalk. Open Data → Data Browser and look for the paths that correspond to your instruments’ PGNs. Check the source and watch the timestamp for updates. Signal K Server configuration.
| Incoming PGN | Fields to check | Signal K paths in n2k-signalk v4.0.0 |
|---|---|---|
| 128267 | depth, with a positive offset for depth below the surface or a negative offset for depth below the keel. | environment.depth.belowTransducer for depth. With the corresponding offset, also environment.depth.belowSurface or environment.depth.belowKeel. Depth mapper |
| 130306 | windSpeed and windAngle when reference is Apparent. | environment.wind.speedApparent and environment.wind.angleApparent. Wind mapper |
| 127250 | heading with reference set to Magnetic or True. | navigation.headingMagnetic for magnetic or navigation.headingTrue for true. Heading mapper |
Look up other PGN numbers and their fields in the CANboat PGN database.
Find where data stops
- No traffic at the adapter. Check that the interface is up, then review the HAT settings, wiring and backbone termination. Linux SocketCAN, HAT configuration, and OpenPlotter wiring.
- Traffic at the adapter but no updates in Signal K. Check that the NMEA 2000 connection is enabled and points to the same interface. If Filters is enabled, check for entries that remove the device or PGN from Signal K data. Signal K connection options and SocketCAN settings example.
- Other paths update but one is missing. If
candumpjsis installed, runcandumpjs can0and look for the PGN in its decoded output. If it appears, compare the message fields with the mapper conditions above. canboatjs monitoring. - A decoded PGN needs a custom mapping. A Signal K Server plugin can register a custom mapping. n2k-signalk custom mappings.
For sending data back onto the bus, see the OpenPlotter NMEA 2000 output guide.
Evidence and limits. OpenPlotter 4.x.x, MacArthur HAT v1.2, Linux 6.11 SocketCAN, Signal K Server documentation and the n2k-signalk v4.0.0 mapper were checked on November 26, 2026. The setup was not run on hardware for this guide.