YAPP: Homemade Seatalk to USB interface

I'm really interested in this project. I have recently purchased an Arduino Uno and started playing with NMEA interfacing. My latest purchase is an Raymarine ST2000+, and Seatalk vs NMEA is an interresting topic. I'm interrested in code listings from yout seatalk projects, preferable in c.
 
I'm really interested in this project. I have recently purchased an Arduino Uno and started playing with NMEA interfacing. My latest purchase is an Raymarine ST2000+, and Seatalk vs NMEA is an interresting topic. I'm interrested in code listings from yout seatalk projects, preferable in c.

Send me an email address via this site's private message system, and I'll send you the stuff you are interested in. It's all in C, which will be slightly different for Arduino from PIC, but it's similar enough.
 
Keep it up Angus as I like these kinds projects as I used to play with 8031/51 micro controllers many years ago.

I also think that without much modification several of your YAPP's projects could be used for other application like your diesel tachometer couls be used for the chain counter that was discussed a day or 2 age.

It could also be the basis of a fuel consumption gauge using one of the very small flow sensors available fro RS and other suppliers.

Hopefully next year when I have a little more time I can have ago at some of your YAPP's
 
Keep it up Angus as I like these kinds projects as I used to play with 8031/51 micro controllers many years ago.

I also think that without much modification several of your YAPP's projects could be used for other application like your diesel tachometer couls be used for the chain counter that was discussed a day or 2 age.

It could also be the basis of a fuel consumption gauge using one of the very small flow sensors available fro RS and other suppliers.

Hopefully next year when I have a little more time I can have ago at some of your YAPP's

This is an old YAPP that has recently come back to life, but it seems like quite a popular one from the number of requests I have had for information over the last year. I'm thinking about designing a PCB and making pre-assembled kits for this one, which I will supply at whatever price people think it is worth. It will remain a kit though, rather than a product. The user will have to screw the lid on the box, or something similar.
 
Spooky...

ocpn.jpg


How did you know I'm currently on that berth, 8B17? :eek:

Nick (Rivendell)
 
Arduino St2000+ Seatalk

Hello everyone,

I am new to the site. Came across the site googling around looking for info about Arduino Seatalk interfaces. I am about to install a ST2000+ tiller pilot on my boat and would like the possibility of controlling it with initially a wired arduino remote, can't see spending $500 for the Raymarine wireless remote. Down the road I envision it would be possible to come up with a bluetooth version that is controlled by an Android phone/tablet. I am a complete newbie to Arduino / Seatalk so I was hoping to get some direction from everyone here.

Hopefully someone can point me in the right direction.

Thanks
 
Angus - I tried to send you a PM. I have only just joined the Forum (because of your YAPPs). I can read Seatalk to RS232 but can't write it. Thomas Knauf describes the need to set a parity bit on the first command character but I am having trouble - any thoughts?

Andrew G
 
There's another YAPP that writes to Seatalk - the remote autopilot control. I'd post a link but the forum is working so poorly at the moment with the repeated jumps to the blank page that I haven't been able to find it. I can send you the source, but all writing to Seatalk via my YAPPs is at your own risk!

I am updating the YAPP in this thread to use a cheaper processor; then I will get a PCB made and people can have a made up device (but not in a case) if they want.
 
Thanks Nigel. A (gentle) rebuf on my very first post to the forum. In my defence I was not keen to publicly post my e-mail address so Angus could e-mail me the information he'd offered above (and to many others).
Thomas Knauf, in the only description I can find says:

"Serial Data Transmission
11 bits are transmitted for each character:
• 1 Start bit (0V)
• 8 Data Bits (least significant bit transmitted first)
• 1 Command bit, set on the first character of each datagram. Reflected in the parity bit of most UARTs. Not compatible with NMEA0183 but well suited for the multiprocessor communications mode of 8051-family microcontrollers (bit SM2 in SCON set).
• 1 Stop bit (+12V) ".

I know I am doing something wrong - but I read this as 8 data bits plus the parity bit set only on the command character and not set for the rest. My only glimmer of hope is that I know it is "possible" to do with a PC because the "SeaSigma" program successfuly sends canned SeaTalk datagrams (on my PC) to my instruments.
I really am open to suggestions . . .

Cheers,

Andrew
 
I read this as 8 data bits plus the parity bit set only on the command character ...

I'm sure "Angus" will correct me if I'm wrong (read as: too lazy to look it up) but an 8-bit IO method you use from a library (C or whatever) will calculate the parity bit for you. You don't want this, so as he says: use bit bashing, or find a 9-bit IO method.

Note to programming newbies: I'm using the word "method" in its technical meaning, read as similar to "subroutine" in old money.
 
Top