Contents Introduction Warranty and Technical Support I. Product Specification II. NMEA Basics III. MicroSD Slot and Card’s Compatibility IV. Installation and Connection of Device V. LED Signals VI. Device Settings VII. Recording of Diagnostics Data VIII. Firmware Updates IX. Autopilot Control and Settings Appendix A.
Introduction The NMEA 0183 Gateway (hereinafter Gateway or Device) allows you to connect NMEA 0183 equipment to a NMEA 2000 network and vice versa. It has a bi-directional converter with wide support of message types including AIS (see Appendix D) and autopilot control. The Gateway has one NMEA 2000 connection and one NMEA 0183 port with transmit and receive data lines.
Warranty and Technical Support The Device warranty is valid for two years from the date of purchase. If a Device was purchased in a retail store, the sales receipt may be requested when applying for a warranty claim. The Device warranty is terminated in case of violation of the instructions in this Manual, case integrity breach, or repair or modification of the Device without the manufacturer’s written permission.
I. Product Specification Figure 1. Drawing of YDNG-03N (left) and YDNG-03R (right) models of Gateway Our devices are supplied with different types of NMEA 2000 connectors. Models containing R in the suffix of model name are equipped with NMEA 2000 connectors and are compatible with Raymarine SeaTalk NG. Models containing N in the suffix are equipped with NMEA 2000 Micro Male connectors.
Page 7
- 20..55 Note: the Gateway is powered from the NMEA 2000 network. Yacht Devices Ltd declares that this product is compliant with the essential requirements of EMC directive 2004/108/EC. Dispose of this product in accordance with the WEEE Directive. Do not mix electronic disposal with domestic or industrial refuse.
II. NMEA Basics This section describes the basics of NMEA 0183 and NMEA 2000 networks. We are recommend getting familiar with this section before connecting the Device. These networks are very different at the electrical and software levels. NMEA 0183 also has traveled a long evolutionary path, but thanks to its simplicity and cheapness, it is still very popular and widely used.
Page 9
NMEA 0183, until version 2.0 (1992), used a “single ended” RS-232 interface with one TX line and one RX signal line (grey at Figure 1.a) and ground line (dotted at Figure 1.a) used as reference for TX and RX signals. Therefore, old devices have only three wires. Since version 2.0, NMEA 0183 has been based on a “differential”...
Page 10
2. NMEA 2000 NMEA 2000 network runs at 250 kbps and allows up to 60 physical devices to be connected. Unlike NMEA 0183, there are no “talkers” and “listeners”. All devices can “talk” and all devices receive all messages. Many electronic manufacturers presented “branded”...
Page 11
The network backbone (between 2 and 2 at Figure 3) has two data lines (called CAN HIGH and CAN LOW) and two power lines. Power lines should be connected to a 12-Volt power supply (see 3 at Figure 3). Low-powered devices, like our Gateway, take power directly from the network backbone. Data lines are “terminated”...
III. MicroSD Slot and Card’s Compatibility The Device has a slot for a MicroSD card that allows you to configure the Device (see Section VI), update the firmware (see Section VIII) and record diagnostics data (see Section VII). Since the MicroSD slot is usually not in use when the Device is working, we recommend sealing it with the sticker that is included with the Device or with a piece of tape to prevent water from entering the Device through the slot.
IV. Installation and Connection of Device The Device requires no maintenance. When deciding where to install the Device, choose a dry mounting location. Avoid places where the Device can be flooded with water, as this can damage it. 1. Connection to NMEA 2000 The Device is directly connected to the NMEA 2000 network backbone without a drop cable.
Page 14
Note that many NMEA 0183 devices, including the Gateway, have different wire colors than specified in the Standard. Please check the label on cable and/or documentation before connecting. Table 1. NMEA 0183 Wire Colors Signal NMEA 0183 Standart Gateway YDNG-03 Talker TX+ (A) White Talker TX- (B) Brown...
V. LED Signals The Device is equipped with a bi-color LED that indicate the Device’s state. The Device produces a short single green flash after powering on, indicating that the Device is functioning. 1. Signals during normal operation During normal operation, Device produces a series of six flashes every five seconds. The Flashes indicate the state of Device interfaces over the last five seconds and have the following meaning: •...
Page 16
equipment (fridges, generators, etc.) may also cause a checksum error. The last (sixth) signal indicates that port speed is too slow for outgoing NMEA 0183 stream. To understand the scale of the problem, you can record and check diagnostics data. See the description of overflow diagnostic messages at Section VII.
VI. Device Settings To configure the Device, a text file with the configuration should be created and named YDNG.TXT in the root folder of the MicroSD card. A sample of the configuration file is in Appendix E. The file contents must conform to these rules: •...
Page 18
once per two seconds. In the case of 38400 speed, the update rate will be 2 times per second. Our recommendation is to set the highest possible speed. If you are sure that your equipment does not require high speed, or you see checksum error signals from the LED (see Section V), you can decrease the speed.
Page 19
The Device uses 3-char sentence formatters only for filtering. The following sentences matches to GLL and VDM records (sentence formatters): $GPGLL,4146.5894,N,07029.6952,W,173412.02,A*15 !AIVDM,1,1,,B,ENk`smq71h@@@@@@@@@@@@@@@@@=MeR6<7rpP00003vf400,4*5F For example, to block processing of only GLL and VDM messages from connected equipment, use the following configuration: 0183_RX_TYPE=BLACK 0183_RX_FILTER=GLL,VDM If the filter is of BLACK type, the Device ignores messages whose sentence formatter matches with one...
Page 20
by processing the NMEA 2000 message identifier, and the second value (mask) defines the comparison concerning which bits are significant. The identifier contains a PGN (Parameter Group Number, described in NMEA 2000 Standard) and a source device address. You can use decimal and hexadecimal numbers (which start with a 0x prefix). To simplify defining filters, it is also allowed to set filters using PGN only.
Page 21
5. 0183_RTE_TYPE=x and 0183_RTE_FILTER=y Where x – WHITE or BLACK, y - empty string or the list of 3-char NMEA 0183 sentence formatters separated by a comma. Factory setting: x - WHITE, y - empty. These settings are similar to those described in VI.2 and VI.3. This filter defines which sentences received from the NMEA 0183 port should be forwarded to NMEA 0183 output.
Page 22
Magnetic variation is required to process an RMB sentence of NMEA 0183. It can be obtained from the NMEA 0183 HDG sentence or, if this sentence is absent, this setting allows use of the variation available in NMEA 2000 messages. 9.
Page 23
current, and the «true» value of true wind can be obtained using the SOG/HDG pair. Therefore, our gateways offers four options: SOG/HDG (if you love truth), SOG/COG (if you have GPS only), STW/HDG (if tradition is most important), or you can disable calculations. In the last case, the gateway reports true wind data to NMEA 0183 only if they are calculated by another device available on the NMEA 2000 network.
VII. Recording of Diagnostics Data The Device allows all processing data to be recorded to the MicroSD card for the purpose of diagnostics and configuration. Recording of diagnostics data is not a normal operation mode. Recording to the MicroSD card can cause delays in messages processing and some NMEA 2000 messages may be skipped.
Page 25
In case of TEXT log format, the file YDNGLOG.TXT is created. Here is an example of the file contents: 06:24:46.758 R 09FD0205 1E AE 01 AA F0 FA FF FF 06:24:46.761 T NMEA0183 !AIVDM,1,1,,B,148KQN7P0JQ7Vv0OSCqnqOwLJDQP,0*6D !AIVDM,1,1,,B,139Fb6002817Eo2OoELBIQsJHDQP,0*5F 06:24:46.800 R 09F10D00 00 F8 FF 7F 7C 04 FF FF 06:24:46.831 R 1DEFFF01 40 0A E5 98 B6 06 04 04 06:24:46.980 T NMEA0183 $--DTM,W84,,0000.0000,N,00000.0000,E,0.00,W84*78 $--GLL,5514.9091,N,01459.8328,E,042446.74,A,A*71...
Page 26
07:34:10.921 T NMEA0183 Overflow, TX cycle 5.2 seconds 08:11:25.004 T NMEA0183 Overflow, TX cycle 9.3 seconds, some of the AIS messages are lost 09:15:12.380 T NMEA0183 Overflow, 310 bytes are lost, check routing settings All these messages indicate that the Gateway is trying to send more data to NMEA 0183 than allowed by the port speed.
VIII. Firmware Updates In the root folder of the MicroSD card with FAT or FAT32 file system, copy NUPDATE.BIN, which contains the firmware update of the Device. Insert the card into the Device and turn on the power in the NMEA 2000 network.
Page 28
Figure 1. Raymarine c125 MFD devices list with Gateway (YDNG-03) — 28 —...
IX. Autopilot Control and Settings This chapter describes how to control NMEA 2000 (SeaTalk NG) autopilot from the application using NMEA 0183 protocol. Modern autopilots have the following modes: • Standby. In this mode, autopilot is not engaged to the vessel control. •...
Page 30
or RMC sentence or from the NMEA 2000 messages (must be turned on in the Gateway settings). If your NMEA 2000 network has GPS data, it can use data already available on NMEA 2000 and sending of the ROT, HDG and RMC sentences from the application may not be required. It is better to send minimal data from a PC to the NMEA 2000 network if possible.
Page 31
• sending of magnetic navigation data must be turned on (see VI.9). When the route or waypoint is activating in the application, autopilot switches to the Track mode from Auto. If automatic confirmations are off (default settings, see VI.7), the chart plotter and pilot head will ask for the confirmation when waypoint is changing.
Appendix A. Troubleshooting Situation Possible cause and correction 1. No power supply on the bus. Check if the bus power is supplied LED does not signal after the NMEA 2000 network (NMEA 2000 network requires a separate power connection and cannot be is powered on powered by a plotter or another device connected to the network).
Appendix C. NMEA 2000 Messages Supported by Device This appendix contains messages used in service communication with other devices on the network. “No” in the table below means that the Device will not process or send these messages during service communication with other devices.
Page 36
PC software (with a hardware connector to the NMEA 2000 network). If you have Yacht Devices NMEA 2000 Wi-Fi Gateway or Yacht Devices NMEA 2000 USB Gateway, you can download our free CAN Log Viewer software (runs on Microsoft Windows, Mac OS X and Linux) at http://www.yachtd.com/downloads/...
Appendix D. Conversions Between NMEA 2000 and NMEA 0183 Table 1. Conversions from NMEA 2000 to NMEA 0183 NMEA 2000 PGN NMEA 0183 Comment Sentence 65311 Magnetic Variation (Raymarine — See note (4) Proprietary) 126992 System Time ZDA, GLL See also PGN 129033 127237 Heading/Track Control Use PGN 129284, 129283 if possible...
Page 38
Table 1 continued NMEA 2000 PGN NMEA 0183 Comment Sentence 129025 Position, Rapid Update Also use PGN 126992 or 129029 129026 COG & SOG, Rapid Update Also used in RMC 129029 GNSS Position Data GGA, GLL, RMC, See also PGN 129033 129033 Local Time Offset —...
Page 39
Table 1 continued NMEA 2000 PGN NMEA 0183 Comment Sentence 130311 Environmental Parameters XDR, MTW, MDA See notes (1), (2), (5) 130312 Temperature XDR, MTW, MDA See notes (1), (2), (5) 130313 Humidity XDR, MDA See notes (1), (2), (5) 130314 Actual Pressure XDR, MDA See notes (1), (2), (5)
Page 40
Note (3): Devices with factory settings perform conversion from true to apparent wind. The MWV sentence is sent twice (one for apparent wind and one for true). See VI.11 for details. Note (4): Magnetic variation is used in RMC, HDT, HDG, VDR, VHW, VTG. Priority of variation PGNs: 127250, 127258, 65311.
Page 41
Table 2. Conversions from NMEA 0183 to NMEA 2000 NMEA 0183 NMEA 2000 PGN Comment Sentence 129283 Cross Track Error Also used in PGN 129284 127488 Engine Parameters, Rapid Update According SeaSmart.Net protocol 127489 Engine Parameters, Dynamic specification v1.6.0 127493 Transmission Parameters, Dynamic 127505 Fluid Level 127508 Battery Status 128267 Water Depth...
Page 42
Table 2 continued NMEA 0183 NMEA 2000 PGN Comment Sentence 127245 Rudder 130066 Route and WP Service — Use data from WPL Route/WP-List Attributes 130067 Route and WP Service — Route - WP Name & Position 127251 Rate of Turn 128259 Speed, Water referenced 129291 Set &...
Page 43
Table 2 continued NMEA 0183 NMEA 2000 PGN Comment Sentence VDO, VDM 129038 AIS Class A Position Report AIS VHF messages 1, 2 and 3 129039 AIS Class B Position Report AIS VHF message 18 129040 AIS Class B Extended Position Report AIS VHF message 19 129041 AIS Aids to Navigation (AtoN) Report AIS VHF message 21...
Appendix E. Example of Configuration File Contents listed below of the file correspond to the factory settings. # Current configuration of Yacht Devices NMEA 0183 Gateway YDNG-03 # Firmware: 1.03 06/08/2018 # Default speed 4800, Navtex 9600, AIS 38400 (recommended)
Page 45
0183_RTE_FILTER= # Autopilot RAY_AUTOPILOT=OFF WPT_AUTO_CONFIRM=OFF RMB_N2K_VARIATION=OFF NAV_DATA_MAG=ON # End of file — 45 —...
Need help?
Do you have a question about the YDNG-03 and is the answer not in the manual?
Questions and answers