gadgetPool SeaTalk NMEA User manual

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
SeaTalk <-> NMEA
SeaTalk <-> RS232
Converter
Installation and Operation
Manual
To be used with AtMega1284p processor only
Hardware Version V 3.5
Software Version 2.00
Dec 2012

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Contents
Credits / Warning / Disclaimer............................................................................................ 3
Function overview............................................................................................................... 3
NMEA Input..................................................................................................................... 4
Special NMEA-like configuration sentences.................................................................... 5
NMEA Output.................................................................................................................. 6
The $STALK sentence................................................................................................... 7
SeaTalk Input.................................................................................................................. 8
SeaTalk Output ............................................................................................................... 9
Collision detection.................................................................................................... 9
Same type of Data on NMEA & SeaTalk......................................................................... 9
SeaTalk Connection.......................................................................................................... 10
NMEA / RS232 Connection ...............................................................................................11
Input Jumper RS232..................................................................................................... 12
Input Jumper RS422..................................................................................................... 14
RS422 In -> RS232 Out................................................................................................ 15
Configuration settings....................................................................................................... 17
Options............................................................................................................................. 20
LCD Display.................................................................................................................. 20
Pushbutton.................................................................................................................... 21
Software update ............................................................................................................... 22
Bootstrap Loader Method.............................................................................................. 22
Circuit Diagram................................................................................................................. 23
SeaTalk & NMEA conversion Table .................................................................................. 24
Terminals & Connectors ................................................................................................... 25
ASCII Table....................................................................................................................... 27

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Credits / Warning / Disclaimer
The Protocol converter is a
RESEARCH PROJECT.
It is used for research on data communication, computer communication and data
conversion on computers used on board boats.
Hard- and Software are still under development and have NOT been fully tested.
Malfunctions of the protocol converter and of any connected device are possible at any
time.
It is not an end user product and must not be used for navigation.
The protocol converter could cause damage to connected devices.
Liability cannot be accepted for any damages, personal injuries or malfunctions caused
by the converter.
There are no Seatalk technical specifications available from the manufacturer. I have used
the Technical Reference of the Seatalk protocol, compiled by Thomas Knauf GmbH.
See http://www.thomas-knauf.de/seatalk.htm .Thank you to Thomas Knauf for his work.
Do not use for navigation
An operating GSM mobile phone should not be placed within 2m of an
unshielded Seatalk/NMEA Bridge because of interference from the phone's
radio transmissions. If a phone is brought closer than this 2m distance, the
bridge may stop operating or data may become corrupted.
( Thank's John Blaiklock for testing )
Function overview
The converter interconnects two different data communication systems –SeaTalk
1
and
NMEA.
Information from the SeaTalk bus is transformed into NMEAData and sent to the
NMEA bus.
Information from the NMEAport is transformed into SeaTalk data and sent to the
SeaTalk bus.
Optionally information from both busses can be shown on a LCD display.
1
SeaTalk is Reg. Trademark of Raymarine Inc.

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
NMEA Input
Processing of NMEA data starts, when a complete NMEA sentence has been received.
If the received sentence contains a checksum, this checksum is used to check for
communication errors. If the checksum does not match the sentence, the received NMEA
sentence is discarded.
If the sentence does not contain a checksum, the sentence is always regarded as valid.
After complete reception of a NMEA sentence, this sentence is sent to the NMEA-Out port
of the converter Board and can be used by other NMEA devices.
(This function can be switched off by control setting –see below )
If the received sentence is known, the sentence information is extracted and processed. At
this time the following NMEA sentences can be received:
$xxRMC Speed over Ground, Course over Ground,
Latitude, Longitude, Time, Date
$xxVTG Course over ground
$xxGLL Position
$xxVHW Speed through water
$xxRMB Waypoint Information
$xxAPB Waypoint Information
$xxBWC Waypoint Information
$xxDBT Depth below transducer
$xxDPT Depth below keel
$xxMTW Water Temperature
$xxVLW Total / Trip Mileage
$xxHDM Heading magnetics
$xxHDG “ “
$xxZDA Date & Time
$xxVTG Ground speed
$xxVHW Compass
$xxVLW Trip mileage, Total mileage
$xxMWV Wind angle Wind Speed
$xxVWR Relative Wind Speed and Angle

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Special NMEA-like configuration sentences
$STALK Special SeaTalk datagram
$SNBSE Board configuration
$COLCO SeaTalk Bus collision counter
$SWUPDATE Update board to new firmware
$SWVERSION Display firmware version number
Example
Enter : $SWVERSION<ENTER>
Result : SWVERSION*72
With LCD
$STVER,2.00,BRIDGE*45
2.00 = This board has Software Version 2.00
With LCD = Software is for board with LCD Display
BRIDGE = This Software is for SeaTalk Nmea BRIDGE
Example
Enter : $COLCO*45
Result: $IICOLLISIONS,000*11
$IIERRORS,0*27
No SeaTalk collisions so far.
No Buffer overflow errors so far.

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
NMEA Input
SeaTalk Input
NMEA Output
SeaTalk -> NMEA
translation
NMEA Output
All valid NMEA sentences –whether processed by
the converter or not –are forwarded to the NMEA-
Out port.. If the NMEA-Out port is busy, the
sentence is temporarily stored in memory and
transmitted as soon as the NMEA-Out port
becomes free.
The converter also continuously checks for new incoming SeaTalk data.
Incoming SeaTalk data is converted to NMEAData and transferred to the NMEA-Out Port.
The following NMEA sentences will be generated from incoming SeaTalk data :
$IIDBT Depth below transducer
Optional $IIDPT can be sent instead of $IIDBT
$IIVHW Speed t. Water
$IIMTW Water Temperature
$IIVLW Total / Trip Mileage
$IIMWV Apparent Wind angle & Wind speed
$IIMWV True Wind angle & Wind speed
$IIHDM Heading compass
$IIRMC Speed over ground, Course over ground,
Latitude, Longitude, UTC time, Date
Optional an additional $IIGLL sentence can be
sent for position information
$IIRSA Rudder angle
$STALK special SeaTalk datagram
$SNBSE special system configuration datagram

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
The $STALK sentence
The converter can process a special NMEA-like sentence.
With this special sentence any SeaTalk command can be sent to SeaTalk.
$STALK,cc,p1,p2..,pn*xx
cc = SeaTalk Command
p1 = Parameter1
p2 = Parameter 2
..
*xx = NMEAchecksum ( optional ) .
This special sentence will be sent to the NMEA Bus for every received SeaTalk datagram
–regardless as to whether it was recognised and processed or not.
( This function can be switch off by control setting –see below )

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
SeaTalk Input
NMEA Output
SeaTalk -> NMEA
translation
SeaTalk Input
When a SeaTalk datagram is received the system checks if this datagram is known and
can be processed. When the datagram is known, all parameters are extracted and stored.
Any unknown datagram is ignored.
(Exception: $STALK is sent even for unknown datagrams)
At this time the following SeaTalk datagrams are known.
00 Depth
10 Wind angle
11 Wind speed
20 Speed through water
21 Trip mileage
22 Total mileage
23 Water temperature
25 Total & trip mileage
26 Speed through water
27 Water temperature
30 Lamp brightness
50 Latitude
51 Longitude
52 Speed over ground
53 Course over ground
54 UTC time
56 Date
58 Latitude & Longitude
84 Compass heading
89 Compass ST40 heading
9C Compass heading & rudder position

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
NMEA Input
SeaTalk Output
NMEA -> SeaTalk
translation
SeaTalk Output
The converter periodically checks if any new data has arrived from NMEA, which have to
be sent to SeaTalk. New data is written to the SeaTalk bus only if the bus is not in use by
any other instrument. If the bus is in use, the converter waits for a while, and tries again.
Collision detection
Every single bit sent out to the SeaTalk bus is read back again and checked for successful
transmission. If the transmission was corrupted, the transmission is stopped immediately.
When the bus becomes free, the transmission will be started again.
At this time the following SeaTalk datagrams can be sent
00 Depth
10 Wind angle
11 Wind speed
20 Speed through water
25 Total & Trip mileage
27 Water temperature
30 Lamp intensity
50 Latitude
51 Longitude
52 Speed over ground
53 Course over ground
54 Time
56 Date
82 Target Waypoint Name
85 Navigation to Waypoint information
89 Compass ST40 heading
Same type of Data on NMEA & SeaTalk
Information available from like instruments on both Busses ( SeaTalk & NMEA ) are not
converted.
Example:
We have a depth sounder on the SeaTalk Bus and another depth sounder on the NMEA
bus.
So, on both sides depth information is available.
In this case no depth information in transferred from one bus to the other.
( If depth information is not updated within 30 sec. on one bus, sending to the other bus is
activated again. )

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
SeaTalk Connection
+12V DATA GND
There is a 3-Pin terminal for the connection to the SeaTalk bus.
Please double check for correct connection.
The board takes it’s power supply from +12V and GND.
+12V & GND MUST be connected, even if the SeaTalk bus is not needed.
A wrong connection could damage the converter or other devices on
the SeaTalk Bus.

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
RS232 / RS422
Jumper
Receive
RS422
Rx
RS232
Receive RS422 (NMEA)
Receive RS232
NMEA / RS232 Connection
Choosing RS232 <-> RS422
The Serial IN ports can be used as RS232 or RS422 port by setting a jumper.
RS232 setting is used for connecting a PC, a notebook, a GPS mouse, a Garmin GPS, or
any other device with a RS232 port.
RS422 is used for standard NMEA devices.
Standard NMEA devices have terminals marked with NMEA IN+, NMEA IN-, while RS232
devices usually have RxD, TxD .
Please double check the correct Jumper setting before usage.
Only 1 input port must be used at a time.
Either RxD + GND with Jumper setting RS232
Or IN+/IN- with Jumper setting RS422
It is not possible to use both Input ports at the same time.

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Both Output port are always enabled. The SeaTalk NMEA Bridge always sends data to the
RS232 Port and to the RS422 Port
You can - for example - send data from the SeaTalk NMEA Bridge to a Computer and a
GMDSS Radio.
Input Jumper RS232
= Jumper
GND TxD RxD
In this setting the terminals marked RxD and GND and are used for NMEA input.
The bridge sends NMEAData to the Ports TxD/GND and
NMEA OUT+/NMEA OUT-

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Example : Sending & Receiving SeaTalk Data to/from a Computer
In this configuration SeaTalk
Data can be received from the
Computer AND the computer
can send Data to the SeaTalk
bus.
Example : Connecting a Garmin GPS, and Computer and the SeaTalk Bus.
In this configuration the GPS
sends Data to the Computer
AND to the SeaTalk bus.
The Computer can only
receive Data from the GPS
and from the SeaTalk bus. It
can not send any data.
GPS with RS232 ( Garmin)
Seatalk<-> NMEA
Bridge
TxD
GND
Computer
RxD Gnd
GND
SeaTalk
SeaTalk
Device
RS232
NMEA OUT GND
RxD
Seatalk<-> NMEA
Bridge
TxD
GND
Computer
RxD TxD Gnd
SeaTalk
SeaTalk
Device
RS232
RxD

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Input Jumper RS422
= Jumper
GND
NMEA IN -
NMEA IN +
NMEA OUT +
NMEA OUT -
In this configuration the terminals NMEA-IN+ and NMEA-IN- are used to receive NMEA
Data.
The bridge sends NMEAData out to the Ports TxD/GND and
NMEA OUT+/NMEA OUT-
The terminal “RS232-RxD” must not be used.
On some devices the NMEA terminals are labelled with Aand Binstead of +and –
On some devices the NMEA terminals + and –are even reversed. If communication can
not be established, just try to swap NMEA + and NMEA - . Swapping NMEA+ and NMEA -
only results in communication failure.
!! Please check your manual before connecting!!

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
RS422 In -> RS232 Out
You can use the SeaTalk NMEA Bridge to connect a RS422 device to an RS232
computer.
Use Jumper settings for RS422.
Data input comes from RS422 IN+/IN-, Data output is sent to RS232-TxD and RS422
Out+/Out-. Of course SeaTalk Data can also be read and sent.
NMEA Talker
S
eaTalk
<
-
>
Nmea
Bridge
RS422
connec
tion
IN +
IN
-
TxD
GND
Computer
RxD Gnd
NMEA Listener
GND
SeaTalk
SeaTalk
Device
RS232
OUT+ OUT- GND

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
RS232 In -> RS232 & RS422 Out
Since Output is always routed to both out-ports, you can connect two different devices to
the output ports.
In this example the
GPS sends Data to the
SeaTalk Bus and to the
computer and to a
GMDSS radio.
Computer and GMSDD
Radio receive data from
GPS and from SeaTalk
instruments.
SeaTalk Instruments
receive data from other
SeaTalk instruments and
from GPS.
The computer cannot send
any data.
Garmin GPS
SeaTalk <->NMEA
RS232
connec
tion
RxD
GND
TxD
GND
Computer
SeaTalk
SeaTalk
Device
RS232
NMEA OUT GND
OUT+ OUT- GND
RS422
GMSDD
Radio
RxD
GND
IN + IN- GND

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Configuration settings
The SeaTalk NMEA converter can be configured to meet the users requirements.
The configuration is made by sending a NMEA-like sentence. The settings are stored in an
EEProm.
The configuration sentence is :
$SNBSE,address,data<CR><LF>
(Optionally a Checksum can be appended $SNBSE,address,data*XX<CR><LF>)
( SNBSE = Seatalk NMEA Bridge Set Eeprom )
Configuration settings a read, when the bridge gets switched on. So when you change the
configuration, you need to switch it off/on to activate the changes.
How to set the configuration :
Connect the bridge to a PC.
Open a terminal programm ( i.e. hypertern ) and set it to 4800 Baud, 8 Bit, no parity, no
handshake.
Type “ $xxx “ and press ENTER
Bridge responds with “ $xxx “. When you receive the $xxx, connection to your bridge is
ok. If $xxx does not appear after you pressed ENTER, check connection, setting of Com-
Port, Baudrate etc.
Example :
In this example, we configure the bridge, so that every incoming SeaTalk sentence
will be sent to the PC as $STALK,xx,yy sentence.
In your terminal programm enter
$SNBSE,0,1
The bridge will respond with
$SNBSE,0,1
Next time you switch the bridge on, it will send every incoming SeaTalk sentence to
the PC as a $STALK,xx,yy,zz … sentence.

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Address
Data
0
1 = Send out every incoming SeaTalk datagram as "$STALK....." to NMEA
0 = Do not generate $STALK,xx,yy sentence for each incoming SeaTalk
datagram If you don’t really need this function – better switch if OFF.
It causes additional load on the NMEA Bus.
1
Set NMEA Port Baudrate
1 = 300 Baud
2= 600 Baud
3= 1200 Baud
4 = 2400 Baud
5 = 4800 Baud ( Default )
6 = 9600 Baud
7 = 19200 Baud
8 = 38400 Baud
any other value defaults to 4800 Baud
Baud rate is changed at next start of the converter
Warning :
The baud rate selected is also the baud rate used for any further
configuration.
If your configuration program cannot handle the selected baud rate, there is
no way to reconfigure the device.
2,3,4,5
N.A.
6+7
Prefix for generated NMEASentence - Character 1+2
Every NMEASentence generated from the system begins with this two
letters
Default = “II” ( Integrated Instrumentation )
WARNING You have to enter theASCII Value of the character, not the
character itself.
Example : To set character 1 to “I” and character 2 to “A”
$SNBSE,2,73 ( Character “I” is a 73 in ascii )
$SNBSE,3,65 ( Character “A” is a 65 in ascii ) See Ascii Table
8
1= Echo every incoming NMEA Sentence
0 = Do not echo incoming NMEAsentences
9
N.A:
10
1 = Send $IIVHW Sentence when new Data from SeaTalk arrives
0 = Do not send $IIVHW Sentence
11
1 = Send $IIHDM Sentence when new Data from SeaTalk arrives
0 = Do not send $IIHDM Sentence
12
1 = Send $IIMWV Sentence when new Data from SeaTalk arrives
0 = Do not send $IIMWV Sentence
13
1 = Send $IIDBT Sentence when new Data from SeaTalk arrives
0 = Do not send $IIDBT Sentence
14
1 = Send $IIMTW Sentence when new Data from SeaTalk arrives
0 = Do not send $IIMTW Sentence
15
1 = Send $IIVLW Sentence when new Data from SeaTalk arrives
0 = Do not send $IIVLW Sentence
16
0 = Don’t send Display light on/off to SeaTalk Bus
1 = Send Display light on/off to SeaTalk Bus

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
17
1 = Send welcome message to NMEA Port after power up
0 = Do not send welcome message
18
0 = Speed over Ground from NMEA input is sent to SeaTalk bus as Speed
over Ground and as Speed through Water ( Needed for ST60 Wind
instrument, that does not recognise Speed Over Ground )
1 = Normal operation. No special SOG => STW handling ) ( default )
( See Webpage www.gadgetPool.de for more on this special ST60 Wind function )
19
0 = Every incoming SeaTalk datagram is sent to NMEA as "$STALK,xxx,yyy
–no matter if the system can interpret the SeaTalk data or not.
1 = Normal operation. Only SeaTalk sentences known to the system are
echoed as $STALK,xxx,yyy
Only valid if Address “0” is switch on.
20
0 = Don’t send any data to the SeaTalk Port. SeaTalk Port is READ-ONLY
21
0 = Display wind speed in knots. 1= Display wind speed in m/s
22
0 = Don’t send SOG to SeaTalk 1 = Send SOG to SeaTalk
23
0 = Don’t send Position to SeaTalk 1= Send Position to SeaTalk
24
0 = Display depth on SeaTalk instrument in feed,
1 = display in Meters
25
0= set time from RMC ... (only valid at position fix)
1= set time only from ZDA sentence
26
0=send only RMC sentence for position
1=send GLL and RMC sentence for position
27
27+28 Offset of depth transducer. In mm ( +- 1000th Meter )
If this value is set to -1, the bridge will send DBT NMEA Sentence and no
offset will be used.
If this values is set to something between -32000 to 32000, the bridge will
produce DPT sentences including the offset.
29
Reserved. ( Used for SeaTalk NMEALink )
30
1 = send Nmea RSA sentence for rudder angle data
0 = dont send RSA sentence
31,32
Reserved. Not used for SeaTalk Nmea Bridge
33
0= Course over Ground from NMEA input is also sent to SeaTalk bus as
compass course
1 = Normal operation. No special COG => CMAG handling ) ( default )
34,35
Reserved. Not used for SeaTalk Nmea Bridge
36
0 = Do not calculate TRUE Wind data. Send only apparent wind data.
1 = Calculate TRUE Wind data and send as $IIMWV sentence.

Valid only with © 2004-2010 All Rights Reserved http://www.gadgetPool.de
ATMega1284P processor © 2004-2010Alle Rechte vorbehalten FWallenw[email protected]
Options
The NMEA SeaTalk converter is normally used without any visualisation or user input.
Optionally however, a LCD Display and a Pushbutton can be connected.
In standard mode –without LCD and Pushbutton –the board consumes less power and
data conversion is faster than with LCD.
LCD Display
If data visualisation is needed, a 4x20 character LCD Display Type
„LCD Modul EA-DIP204-4“ can be connected.
It is available from
Conrad Elektronik - www.conrad.de Part No. 181863-14
Electronic Assembly GmbH http://www.lcd-module.de/
Display illumination can be switched on/off by a pushbutton or by SeaTalk command.
The display shows:
Page 1: Speed through water, Speed over ground
Depth, Temperature
Position Long. Track
Position Lat.
Page 2: App. Wind Speed. App. Wind Direction
Compass Track
Trip Miles UTC-Time
Total Miles
Page 3: Route FROM Waypoint Name Route TO Waypoint Name
Heading to WP Current Bearing
Distance to WP X-Track Error
Page 4: Speed over ground in BIG-Digits.
The displayed values are blanked out if no new data has been received for more than 30
seconds.
This manual suits for next models
1
Table of contents
Popular Media Converter manuals by other brands

Kramer
Kramer VP-426C quick start guide

Solartron
Solartron LE/12/SV user manual

Weidmüller
Weidmüller ACT20M-BAI-AO-S operating instructions

Perle
Perle S-110 series installation guide

Network Electronics
Network Electronics SDI-EO-D15 Series user manual

Nexgrill
Nexgrill 710-0778A Installation Instructions and Use & Care Guide