Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-09-2014, 16: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, 16:35   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,020
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, 17:12   #3
Registered User

Join Date: May 2011
Location: Toronto
Boat: Sandpiper 565
Posts: 2,943
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, 17: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, 17:21   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,020
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, 01: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, 12:59   #7
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 374
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, 16:58   #8
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 374
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, 18:14   #9
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,101
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.
http://gilana.org
sy_gilana is offline   Reply With Quote
Old 06-09-2014, 10: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, 17: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: http://blog.arribasail.com
scruzin is offline   Reply With Quote
Old 26-08-2015, 22:10   #12
Registered User

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

vYacht Yacht automation
__________________

__________________
RhythmDoctor is offline   Reply With Quote
Reply

Tags
nmea, nmea 0183, seatalk

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 01:16
NMEA-0183 and RS-422 vs RS-232 scotte Marine Electronics 32 23-05-2014 23:47
Seatalk <--> Nmea 0183 Information rgleason OpenCPN 0 01-04-2013 06:22
NMEA 0183 Garmin Chartplotter -> Raymarine ess105 Navigation 5 24-11-2008 05:54
NMEA 0183 wind instrument? hglad Marine Electronics 2 18-08-2008 10:29



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:13.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.