nmea2000 gateway with ESP32
Go to file
wellenvogel 3c915570da add xdr nmea0183 logs 2021-12-04 12:44:30 +01:00
.github/workflows update upload action 2021-11-07 21:11:28 +01:00
doc Update Conversions.odt 2021-11-25 21:00:34 +01:00
lib correct engine rapid xdr back mapping 2021-12-04 12:44:15 +01:00
simtest add xdr nmea0183 logs 2021-12-04 12:44:30 +01:00
src intermediate: fix some n2k->xdr mappings, add backwards conversions 2021-12-03 22:07:21 +01:00
tools free GwApi from ArduinoJson 2021-11-28 12:11:47 +01:00
web correct backward xdr mapping for unknown instance, prefer instance mode single for unmapped, improve traces 2021-12-03 22:51:31 +01:00
.gitignore intermediate: generic handling of user tasks 2021-11-27 14:57:16 +01:00
LICENSE add license, update readme 2021-11-07 21:31:03 +01:00
Readme.md update readme 2021-11-07 21:31:50 +01:00
extra_script.py allow usercode to define config and set capabilities 2021-11-27 20:56:36 +01:00
partitions_custom.csv prepare github release flow and version handling 2021-11-07 20:48:28 +01:00
platformio.ini show how to restrict the default build to your user defined environments 2021-11-27 21:13:25 +01:00
post.py prepare github release flow and version handling 2021-11-07 20:48:28 +01:00

Readme.md

NMEA2000-Gateway with ESP32

Based on the work of

Goal

Have a simple ready-to-go ESP32 binary that can be flashed onto a M5 Atom CAN, potentially extended by an Atom Tail485 for NMEA0183 connection and power supply.

But will also run on other ESP32 boards.

Modes

  • NMEA2000 -> Wifi (NMEA0183)
  • NMEA2000 -> USB (NMEA0183)
  • NMEA0183 -> Wifi
  • NMEA0183 -> NMEA2000
  • Wifi (NMEA0183) -> NMEA2000
  • USB (NMEA0183) -> NMEA2000
  • ....

Environment

PlatformIO. Should be possible to use M5Burner to flash ready binaries.

Pre Build Binaries

In the release section you can find a couple of pre-build binaries that can easily be flashed on your ESP32 board using ESPTool. The flash command must be (example for m5stack-atom):

esptool.py --port XXXX --chip esp32 write_flash 0x1000  m5stack-atom-all.bin

For the meaning of the boar names have a look in platformio.ini and look for the hardware definitions in GwHardware.h.

Starting

After flushing a wifi access point is created. Connect to it (name: ESP32NMEA2K, password: esp32nmea2k). Afterwards use a Bonjour Browser, the address ESP32NMEA2k.local or the ip address 192.168.15.1 to connect with your browser. You will get a small UI to watch the status and make settings. If you want to connect to another wifi network, just enter the credentials in the wifi client tab. On the data page you will have a small dashboard for the currently received data. On the status page you can check the number of messages flowing in and out.

more to come...