A chartplotter can tell you how fast the boat is moving and how much fuel the engine is using. But what if you want to know how much fuel you burned over a particular stretch of a trip, or whether the engine ran warmer than it did on the same route last month? To answer those questions, you need a record of what was happening on the network at the time.
That’s where an NMEA 2000 gateway comes in. It gives your own software access to the data that instruments already publish on the boat’s network. With an ESP32-S3 and a CAN transceiver, you can build a gateway that receives those messages and forwards them over USB or Bluetooth Low Energy. From there, you can decide what to record, how to display it, and what to do with it later.
What the gateway does
NMEA 2000 is a higher-layer protocol that uses CAN Bus. On the wire, the gateway receives CAN frames. The data your application wants, such as engine speed or battery voltage, is carried in NMEA 2000 messages identified by Parameter Group Numbers, or PGNs. Some messages fit in a single CAN frame. Others, including messages that use the NMEA 2000 Fast Packet mechanism, need to be assembled from multiple frames before the data can be decoded.
One of the first design decisions is where to do that work. The ESP32-S3 can forward raw frames and let a computer decode them. That gives you a capture you can revisit as your software develops. The gateway can also decode selected PGNs itself and send the application values such as engine RPM or battery voltage. That approach works well when the receiving application is a dashboard that only needs a handful of readings.
In either case, the devices on the network determine what data is available. A gateway can capture fuel flow only if an engine interface or another device publishes it. The same applies to tank levels, depth, wind, and battery status.
USB for development, Bluetooth LE for mobile access
I’d start with USB. A direct connection makes it easy to inspect incoming messages, check timestamps, and save a recording to a laptop or Raspberry Pi. The application and gateway firmware still need to agree on a data format. I would define that format early so a recording made during the first test can also be read by later versions of the software.
Bluetooth LE makes sense when the receiving device is a phone or tablet. The gateway can expose selected readings through a BLE service, and the mobile app can subscribe to updates. Before trying to forward every CAN frame over Bluetooth, decide how often the reader actually needs to see each value. An engine RPM gauge and a battery trend chart can have very different update requirements.
Build a logger before building a dashboard
If I were starting this project, I’d build a USB logger for one trip. I’d record timestamps, engine RPM, speed over ground, and fuel flow, assuming those values are available on the network. I’d also keep the source address in the capture and retain device or instance information where available. That matters if the boat has two engines or more than one device reporting the same kind of data.
Even that small recording can answer a worthwhile question. If the engine is burning 8 gallons per hour while the boat is traveling at 16 knots, the boat is covering 2 nautical miles per gallon over the ground. Record those values over a trip and you can compare fuel economy across different cruising speeds. Current and sea conditions affect the result, so the comparison means more when you know where and under what conditions the readings were taken.
A logger also gives you something to develop against when the boat is at the dock or you’re back at your desk. Replay the same capture while working on your decoder or dashboard. You can check which readings were actually available, how often they arrived, and what your application displays when a reading goes stale.
Put the same data to work elsewhere
A voyage log can add position, depth, wind, and engine readings to a common timeline. After the trip, you can select a point on the route and see what the instruments were reporting at that moment. For maintenance, you can compare coolant temperature at similar engine speeds across several trips and see whether a change persists.
A custom dashboard uses many of the same decoded values. A tablet in the cabin might show battery voltage and tank levels, while a laptop connected during a sea trial can plot engine RPM, coolant temperature, and fuel flow together. Once a logger and a dashboard share a decoder, every PGN you add becomes available to both applications.
Remote monitoring adds another piece to the system. Bluetooth LE serves the nearby tablet or phone. To see battery status or receive an alert from home, something aboard the boat needs an internet connection and software to forward the selected data. A battery history also gives a low-voltage alert some context. You can see whether the voltage dipped briefly or declined steadily after shore power was disconnected.
The first project can be as simple as recording a trip and plotting two readings against time. Once you have that recording, you can use it to test a mobile display, compare fuel consumption on later trips, or reproduce a problem you saw on the water. That’s the part I find most useful about a gateway. It lets you bring the boat’s data back to the workbench.
ESP32S3 CAN-Bus Board with NMEA2000 Connector
The ESP32-S3 CAN-Bus Board with NMEA 2000 Connector is a powerful development platform designed for engineers, makers, and marine electronics developers who need seamless access to NMEA 2000 networks. Built around the high-performance ESP32-S3 processor, the board combines dual-core processing, integrated Wi-Fi, Bluetooth LE, 8 MB Flash, and 8 MB PSRAM with an onboard CAN transceiver and native NMEA 2000 connectivity. This unique combination allows developers to rapidly create smart marine devices, wireless gateways, data loggers, cloud-connected monitoring systems, and custom vessel instrumentation without the complexity of designing CAN hardware from scratch.
Whether you’re building the next generation of marine IoT products, collecting vessel data for remote diagnostics, or integrating sensors into an NMEA 2000 backbone, this board provides a fast path from concept to deployment. The integrated USB-C interface simplifies programming and debugging, while the wide 7V–24V power input and I²C expansion connector support real-world marine installations and sensor integration. With extensive example code, documentation, and support for modern ESP32 development tools, the ESP32-S3 CAN-Bus Board with NMEA 2000 Connector delivers a professional-grade foundation for innovative marine networking and embedded system projects. More information...
Source used for the adaptation Copperhill





