This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seatalk1 to NMEA0183 with Arduino
#11
FYI sk server NMEA 0183 parser can decode STALK sentences that carry the raw Seatalk data, so you don’t need to do any per sentence conversions if you have a sk server already running.
Reply
#12
Do you have any code you'd like to share? I'm still struggling with this.
Reply
#13
(2020-06-11, 06:11 PM)richardonaboat Wrote:
(2020-05-14, 03:25 PM)abarrow Wrote: it appears that someone has already done a 9bit version of SoftwareSerial for ESP. https://github.com/ionini/espsoftwareserial

espsoftwareserial works well for me on my web based autopilot controller. Set up 8bit Mark/space parity. Parity bit will be mark for command bytes. Call readParity to check.

Could you share some of your code ?
Reply
#14
(2020-06-11, 07:45 PM)olewsaa Wrote:
(2020-06-11, 06:11 PM)richardonaboat Wrote:
(2020-05-14, 03:25 PM)abarrow Wrote: it appears that someone has already done a 9bit version of SoftwareSerial for ESP. https://github.com/ionini/espsoftwareserial

espsoftwareserial works well for me on my web based autopilot controller. Set up 8bit Mark/space parity. Parity bit will be mark for command bytes. Call readParity to check.

Could you share some of your code ?

I have put the code onto github (I hope - I'm new to this app)[/url]

[url=https://github.com/richardJG/APRemote]APRemote control


It asumes that your Seatalk 1 interface inverts the signal otherwise change true to false in the software serial initialization

mySerial.begin(4800, SWSERIAL_8S1, RX_IN, TX_OUT, true, 256, 256);

Processing Seatalk takes place in the readST function.
Reply
#15
Awesome! Thank you so much.
Reply
#16
Just to let you know, I was finally able to get your code to compile in PlatformIO. The web page comes up great - I haven't had a chance to test it on a working SeaTalk network yet. Thanks so much for sharing.
Reply
#17
https://forum.openmarine.net/showthread.php?tid=3165
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)