2026-06-10, 02:00 PM
Thanks for the suggestion, I'd not thought about that! I'll try and take a look at it in the next few days.
|
Troubleshooting NMEA 0183 data connections
|
|
2026-06-10, 02:00 PM
Thanks for the suggestion, I'd not thought about that! I'll try and take a look at it in the next few days.
2026-10-09, 03:31 PM
(2026-06-10, 02:00 PM)DanLXIX Wrote: Thanks for the suggestion, I'd not thought about that! I'll try and take a look at it in the next few days. I am having the same problem with the SM017 from Silicon Marine: I see the strings coming through the port but signalk does not. Did you solve the problem?
2026-10-13, 07:00 PM
(2026-10-09, 03:31 PM)divermanblue Wrote:(2026-06-10, 02:00 PM)DanLXIX Wrote: Thanks for the suggestion, I'd not thought about that! I'll try and take a look at it in the next few days. I solved the problem by swapping to an SM007 for two reasons. The original sensor kept going haywire, which Silicone Marine said could be damp getting in. I tried to seal the unit with not luck, so I assumed it was faulty. They also admitted the strict NMEA 0183 format is not followed in the SM010. There is an extra comma before the checksum and I wondered if that was causing the problem, so they offered me an upgrade to the SM007, which has been working fine, but with an occasional loss of NMEA signal I've been trying to get to the bottom of that I'm pretty sure sin't the sensor.
2026-10-19, 04:52 PM
(2026-10-13, 07:00 PM)DanLXIX Wrote:(2026-10-09, 03:31 PM)divermanblue Wrote:(2026-06-10, 02:00 PM)DanLXIX Wrote: Thanks for the suggestion, I'd not thought about that! I'll try and take a look at it in the next few days. Thank you for your reply. I solved the problem by using Node-RED to read the information from the serial port, extract the piece of the NMEA0183 string that held the current temperature and the read that out to a signalk item. Here's the code: [ { "id": "976cbcea69830f9d", "type": "tab", "label": "Silicon Marine NMEA", "disabled": false, "info": "", "env": [] }, { "id": "def93b4955518d71", "type": "debug", "z": "976cbcea69830f9d", "name": "debug 1", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 600, "y": 100, "wires": [] }, { "id": "5ca88d4a6322b8dc", "type": "serial in", "z": "976cbcea69830f9d", "name": "MacHat0183serial", "serial": "df4cb7c62772774c", "x": 150, "y": 100, "wires": [ [ "def93b4955518d71", "a4a89ddacac30719", "969462310950519e" ] ] }, { "id": "cbbc538e17ee6454", "type": "signalk-send-pathvalue", "z": "976cbcea69830f9d", "name": "exhaustTem", "path": "propulsion.engine.temperature", "source": "Node Red", "meta": "", "x": 810, "y": 200, "wires": [] }, { "id": "969462310950519e", "type": "function", "z": "976cbcea69830f9d", "name": "exhaustTemp", "func": "let sentence = msg.payload;\n\nif (!sentence.startsWith(\"$IIXDR\")) {\n return null;\n}\n\nreturn msg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 390, "y": 200, "wires": [ [ "fabd5d41b252c634" ] ] }, { "id": "bc1e024b443d5e3f", "type": "debug", "z": "976cbcea69830f9d", "name": "debug 2", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 800, "y": 280, "wires": [] }, { "id": "fabd5d41b252c634", "type": "function", "z": "976cbcea69830f9d", "name": "Extract Value", "func": "let parts = msg.payload.split(\",\");\n\nmsg.payload = parseFloat(parts[2]) + 274.15;\n\nreturn msg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 610, "y": 200, "wires": [ [ "cbbc538e17ee6454", "bc1e024b443d5e3f" ] ] }, { "id": "a4a89ddacac30719", "type": "tcp out", "z": "976cbcea69830f9d", "name": "Node Red TCP 10110", "host": "localhost", "port": "10110", "beserver": "client", "base64": false, "end": false, "tls": "", "x": 640, "y": 140, "wires": [] }, { "id": "df4cb7c62772774c", "type": "serial-port", "name": "MacHat0183Serial", "serialport": "/dev/ttyAMA3", "serialbaud": "4800", "databits": 8, "parity": "none", "stopbits": 1, "waitfor": "", "dtr": "none", "rts": "none", "cts": "none", "dsr": "none", "newline": "\\n", "bin": "false", "out": "char", "addchar": "", "responsetimeout": 10000 }, { "id": "50e4855270de9f09", "type": "global-config", "env": [], "modules": { "node-red-node-serialport": "2.0.3", "@signalk/node-red-embedded": "2.21.0" } } ] |
|
« Next Oldest | Next Newest »
|