2026-05-31, 12:53 AM
Hi, I wanted a small size (about the size of a hockey puck/Raymarine RS150 - a bit smaller, actually) single unit boat data source for GPS, compass, IMU, and environmentals (temp, pressure) sensor unit on a single USB cable that I could mount above my companionway. I used three commonly available, but essentially instrument grade, sensors: a ublox M10 GPS (in my case, a Sequre M10-25Q, which has a QMC5883L three axis compass on the board), a BME680, and a BMO08x (I used the ...085, but any of those in that series should work), behind a single ESP32, which converts their I2C and UART signals to either NMEA1308, or json (there is code for both in the repo below), and sends via a single powered USB cable. I 3D printed a small enclosure that is watertight for all components, but still exposes temp/pressure sensor to ambient air. Anyhow, for me it's just super convenient to have all those data sources on a single cable feeding signalK (a lot easier than dealing with I2C or UART sources directly to SK). Anyhow, here is the code is anyone wants it. If you use it, or any part of it, please let me know your thoughts or let me know if there are things I should do to enhance it:
https://github.com/sv-enkidu/esp-32-sign...tData-puck
Note it would be fairly trivial to send via wifi or bluetooth to SK from the ESP, and I may do a version of that for kicks, but I preferred to keep it wired, just for robustness. Note also that contrary to what is sometimes believed, NMEA0183 can send data at 115200 baud (I've read that it has limits of 9800 baud, which is just old news). It's actually way less verbose than json and human readable, so it still has its merits; chose your poison, I guess, but it's what I'm using for this gadget and it works fine.
https://github.com/sv-enkidu/esp-32-sign...tData-puck
Note it would be fairly trivial to send via wifi or bluetooth to SK from the ESP, and I may do a version of that for kicks, but I preferred to keep it wired, just for robustness. Note also that contrary to what is sometimes believed, NMEA0183 can send data at 115200 baud (I've read that it has limits of 9800 baud, which is just old news). It's actually way less verbose than json and human readable, so it still has its merits; chose your poison, I guess, but it's what I'm using for this gadget and it works fine.

