2018-06-21, 09:01 AM
(2018-06-20, 11:47 PM)Smartell Wrote: Paddy,
It works!
FINALLY, we got the bI@@dy thing working!
Soo...Thanks for all your support !
To sum it up:
it was the missing linefeed in NASA's implementation of the NMEA protocol that caused all this misery. Not too impressive effort by NASA i must say.
I will engage in a discussion with them to see what they come up with. They also use the old unbalanced version of NMEA with (+), (-) and (TX)
Note that i am using a cheap Prolific chipset RS232/USB adapter without any advanced loopbacks, just three cables.
The (temporary?) solution was to use Node Red with a serial connection that i first confirmed to work and then connected to Paddy's code above which worked rather splendidly.
Next (yes i like windmills) i will try to connect my Seatalk to the system too
And then i will try to get Sailgauge to work on my Samsung Gear s3 ... keeping busy
And then ...
Yippee!!!!
Seatalk, now that might be a slightly tougher nut to crack - anyone managed it? From memory it uses something like 9 bit data which apparently arduino can do - anyone know if an ESP could as well? A sketch for seatalk to signalk would be gold dust. As is this one from Scott - https://github.com/mxtommy/EspSigK/blob/...spSigK.cpp