2021-03-29, 02:17 PM
(2021-01-13, 09:22 PM)Phil_Shotton Wrote: This is very interesting, thank you. Do you think the NASA Depth Gauge works the same way (obvs without the log!)?
I've been trying to build an NMEA output using the secondary gauge connection as described here but the code is much more complicated (not helped by there being no code repository and the code in the atricle being affected by formatting and html escapes. I've built the module and yet to get it to work successfully, not helped by having limited access to the boat due to Covid lockdowns.
I have used the sketch off the page you linked. I had to copy it to a plaintext editor and then into arduinoIDE and check all the formatting to get it to work, but here's the sketch I'm successfully running on an Arduino Nano to interface my OpenPlotter build to by NASA Clipper Depth. To get it working on OpenPlotter I also had to enable the depth sentences in the Signal K to NMEA 0183 plugin. My guess is Signal K must have been misinterpreting or dumping the sentences in the conversion to SK before the data got to OpenCPN, now it doesn't touch them and just forwards the NMEA data.