Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-09-2014, 15:20   #1
Registered User

Join Date: Apr 2010
Location: Cape Cod N.E. USA
Boat: Pearson 30
Posts: 7
Seatalk to NMEA 0183

Looking for a way to get my Seatalk data into Open CPN as NMEA 0183 data.
I can do the transistor hardware stuff but need a program to run in a Arduino UNO to do the software. Or any other suggestions to get the job done without breaking the bank?
Basically: Seatalk to NMEA 0183 converter.
Thanks
George
GeorgeSmith is offline   Reply With Quote
Old 01-09-2014, 15:35   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Seatalk to NMEA 0183

George...
Then use the Arduino part of Freeboard [MeshCMS]

Pavel
nohal is offline   Reply With Quote
Old 01-09-2014, 16:12   #3
Registered User

Join Date: May 2011
Location: Lake Ont
Posts: 8,561
Re: Seatalk to NMEA 0183

Some info here.

This person has put together a Seatalk interface using a PIC (my microcontroller of choice) that connects right to USB. Cool.
Lake-Effect is offline   Reply With Quote
Old 01-09-2014, 16:13   #4
Registered User

Join Date: Apr 2010
Location: Cape Cod N.E. USA
Boat: Pearson 30
Posts: 7
Re: Seatalk to NMEA 0183

Thanks. I'll look at it again. Didn't know you could just use that part of it.
Do you think I can use the UNO or do I need the larger Arduino?
George
GeorgeSmith is offline   Reply With Quote
Old 01-09-2014, 16:21   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Seatalk to NMEA 0183

George...
How good are you at programming for AVR microcontrollers? If not at all, then sure not with Freeboard.
From the names of the repositories at https://github.com/rob42?tab=repositories it is obvious which ones are supported (read the respective README documents, the Due has limitations you will probably not like)

Pavel
nohal is offline   Reply With Quote
Old 02-09-2014, 00:51   #6
Registered User

Join Date: Jun 2010
Location: on my boat in Med
Boat: Bavaria 40 Cruiser
Posts: 5
Re: Seatalk to NMEA 0183

Quote:
Originally Posted by Lake-Effect View Post
Some info here.

This person has put together a Seatalk interface using a PIC (my microcontroller of choice) that connects right to USB. Cool.
Hi,

You can find an implementation of Thomas Knauf interface on the 3.3 version on

https://github.com/JONA-GA/OpenCPN/tree/devga.

ST/nmea converter is in software and included in Opencpn.
Currently working in Linux and read only.

Gilles
JONA is offline   Reply With Quote
Old 02-09-2014, 11:59   #7
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Seatalk to NMEA 0183

Quote:
Originally Posted by JONA View Post
Hi,

You can find an implementation of Thomas Knauf interface on the 3.3 version on

https://github.com/JONA-GA/OpenCPN/tree/devga.

ST/nmea converter is in software and included in Opencpn.
Currently working in Linux and read only.
Very interesting. I'm trying to get my head round the logic you're using for detecting the command bit: Can you explain it? I'm not sure I understand how this can be done using parity error detection with odd parity set.
muttnik is offline   Reply With Quote
Old 02-09-2014, 15:58   #8
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Seatalk to NMEA 0183

Quote:
Originally Posted by muttnik View Post
I'm not sure I understand how this can be done using parity error detection with odd parity set.
OK I see it now: Very good! When I implemented something similar I was using space parity (parity error indicates cmd byte). Your version has a marginal overhead in the additional parity calculation but is superior in being more widely usable: space parity not being POSIX (no mention in the MacOS terms man page) and not all Linux serial to usb drivers supporting it (I had a keyspan one which didn't).

Minor thing to note for users: Not all serial to usb devices implement parity error checking correctly (even straight forward odd parity). I was testing a startech one last year which gave a parity error on the byte *after* the one which actually had the error. Startech eventually acknowledged the bug and were supposed to be sending me a new device when they'd fixed it but I never heard form them again....
muttnik is offline   Reply With Quote
Old 02-09-2014, 17:14   #9
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,410
Send a message via Skype™ to sy_gilana
Re: Seatalk to NMEA 0183

+1 on the Yapp electronics one, and there are others that are multiplexers too.

The benefit here is that the output is USB in NMEA 0183 format.

www.gadgetpool.de - Die Homepage

and

YAPP Electronics - Home Page for YBW

Why re-invent the wheel?
__________________
Tight sheets to ya.
https://gilana.org
sy_gilana is offline   Reply With Quote
Old 06-09-2014, 09:24   #10
Registered User

Join Date: Jun 2010
Location: on my boat in Med
Boat: Bavaria 40 Cruiser
Posts: 5
Re: Seatalk to NMEA 0183

the "gadgetpool.de " is ok ( and isolated!) for the hardware interface.
The "idea" is to realize the Stk-nmea converter in software and include it in Opencpn.
As the Stk is using a 9bit serial, classically it is possible to read it on an UART at 8bit and using the parity bit. On my implementation, I use a particularity of POSIX driver in LINUX ,wich leave intact the data with parity error and include two special characters before the data with "faulty" parity. Unfortunatly,this behaviour is not present in the windows driver ( The "faulty" data is zeroed !!...).
As far as I know, it's necessary to write a "special" serial device driver for Windows (not so easy task...).
It's possible that this solution should work with MacOs, but I can't test it.
I will test it on Prolific driver ( serial to usb) asap.
@Muttnik thanks for your comments

Gilles
JONA is offline   Reply With Quote
Old 24-08-2015, 16:56   #11
Registered User

Join Date: Nov 2014
Location: Adelaide, South Australia
Boat: Lightwave 38
Posts: 35
Re: Seatalk to NMEA 0183

If you're comfortable coding, there's quite a bit out there on Arduino forums for interfacing Seatalk. The trick is to the use 9-bit version of Arduino's Hardware Serial. Bit 0x100 is set to 1 for the first byte of the Seatalk message, then 0 thereafter.

Just search for "Seatalk using Arduino."
__________________
My blog: https://blog.arribasail.com
scruzin is offline   Reply With Quote
Old 26-08-2015, 21:10   #12
Registered User

Join Date: Jan 2011
Posts: 670
Re: Seatalk to NMEA 0183

vYacht Yacht automation
RhythmDoctor is offline   Reply With Quote
Reply

Tags
nmea, nmea 0183, seatalk


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seatalk to NMEA 0183 GeorgeSmith Marine Electronics 1 02-09-2014 00:16
NMEA-0183 and RS-422 vs RS-232 scotte Marine Electronics 32 23-05-2014 22:47
Seatalk <--> Nmea 0183 Information rgleason OpenCPN 0 01-04-2013 05:22
NMEA 0183 Garmin Chartplotter -> Raymarine ess105 Navigation 5 24-11-2008 04:54
NMEA 0183 wind instrument? hglad Marine Electronics 2 18-08-2008 09:29

Advertise Here


All times are GMT -7. The time now is 17:20.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.