background image

User Manual

Yacht Devices Python Gateway YDPG-01

also covers models

YDPG-01N, YDPG-01R

Software version

1.00

2024

Summary of Contents for YDPG-01

Page 1: ...User Manual Yacht Devices Python Gateway YDPG 01 also covers models YDPG 01N YDPG 01R Software version 1 00 2024...

Page 2: ...without limitation the rights to use copy modify merge publish distribute sublicense and or sell copies of the Software and to permit persons to whom the Software is furnished to do so subject to the...

Page 3: ...allation and Connection to NMEA 18 V LED Signals 20 VI Firmware Updates 21 VII Programming the Device 23 VIII Device Reset 27 Appendix A Troubleshooting 28 Appendix B Supported NMEA 2000 Messages 30 A...

Page 4: ...data on the fly The Device s internal disk can be used by user code to store logs and other data The Gateway hosts MicroPython www micropython org This is a very popular implementation of the Python...

Page 5: ...de the cost of equipment installation and configuration or shipping of the defective Device to the manufacturer 5 Responsibility of the manufacturer in case of any damage as a consequence of the Devic...

Page 6: ...are supplied with different types of NMEA 2000 connectors Models with R at the end of the model name are equipped with NMEA 2000 connectors and are compatible with Raymarine SeaTalk NG Models with an...

Page 7: ...500 VRMS NMEA 0183 cable length 450 mm NMEA 0183 receiver input resistance 96 kOhm Internal disk space for user programs 16 MBytes Device case length 54 mm Weight 38 g Operating temperature range 20 5...

Page 8: ...d of a NMEA 0183 interface is 4800 baud A high speed interface is 38400 baud and was designed especially for AIS but usually chart plotters and instrument displays allow any data not only AIS on a hig...

Page 9: ...ace which has two RX lines RX can also be marked as A and RX or B two TX lines TX or A grey at Figure 2 b and TX or B dotted at Figure 2 and ground not shown at Figure 2 b Modern devices use five wire...

Page 10: ...n talk and all devices receive all messages Many electronic manufacturers presented branded versions of NMEA 2000 Raymarine SeaTalk NG Simrad SimNet FurunoCAN differ only in the type of connectors use...

Page 11: ...n be connected to any place of backbone between terminators The cable from network backbone to the Device is called a drop cable see 4 at Figure 4 Our devices can be connected directly to a backbone A...

Page 12: ...d Linux these operating systems automatically use a system driver In older versions of Microsoft Windows you should install a driver INF file only no code that links the standard system driver to a De...

Page 13: ...gure 5 Device Manager on Windows 11 The Device uses Windows drivers and should be installed automatically To check the installation you can open the Device Manager from the Control Panel and check the...

Page 14: ...al port driver for Microsoft Windows can be found in the root folder of the mass storage device which does not require a driver and should be accessible immediately after connection or in the Download...

Page 15: ...e Figure 6 run Update Driver Software from the context menu then select Browse my computer for driver software and on the next page click Let me pick from a list of device drivers on my computer Then...

Page 16: ...n Ubuntu At the end of the output you will see the properties of the Device the name of the serial port and the name of the disk To use the internal disk see the Figure 8 line 605 082413 if it was not...

Page 17: ...ens Locate YDPG 01 Virtual COM Port in the USB subsection of the Hardware section as shown in Figure 9 Figure 9 Python Gateway connected to MacBook In the Device properties in Figure 9 you can see the...

Page 18: ...n the connection to ensure its water resistance and reliability The Device is powered from the NMEA 2000 network or USB and has a LED that blinks red or green After powering up the NMEA 2000 network o...

Page 19: ...Soldered connections can break down quickly in the marine environment and require air insulation with paint or lacquer The Device is supplied with the serial port configured at 4800 baud standard NMEA...

Page 20: ...aracter ASCII 10 is received from UART NMEA 0183 otherwise RED Flash 5 GREEN when line feed character has been sent to UART otherwise RED Flash 6 user defined will be absent from the sequence if the u...

Page 21: ...ateway from the power source USB or NMEA 2000 during the update When the update is complete the LED will alternate between red and green for 5 seconds The boot loader then deletes the update file from...

Page 22: ...22 Figure 10 YDPG 01 in the list of boat network devices on Simrad NSX MFD...

Page 23: ...witch off the Device disconnect it from USB and from NMEA 2000 The next time you switch it on the new software will start As the LED signals can be controlled by user code ask your software supplier h...

Page 24: ...The running program or code can be aborted by pressing Ctrl C and after that the Python interpreter can be soft reset by pressing Ctrl D The soft reset is much faster than a Device reboot power cycle...

Page 25: ...the command uart_rx test to receive and print ten lines received from NMEA 0183 The result of these two commands is shown at Figure 11 However if you are a software developer the most convenient way t...

Page 26: ...place the 4800 by the speed you need To apply changes you can cycle Device power or soft reset the Python interpreter To add the sixth flash to the normal operation signals sequence see Section V type...

Page 27: ...to start the procedure again 3 Connect the Device to USB for the fifth time and the LED will turn red Wait about 5 seconds for it to change color to green and disconnect immediately If you have change...

Page 28: ...e damaged and the Device is broken Otherwise check and clean the Device s contacts try to replace the USB or NMEA 2000 cable making sure that the cables are properly connected at both ends Chaotic or...

Page 29: ...anager settings after connection it can open new ports for one minute and the port is not available for use by other applications at that time Try to reconnect the Device Although the terminal program...

Page 30: ...PGN 59904 0xEA00 Yes No ISO Transport Protocol DT PGN 60160 0xEB00 Yes No ISO Transport Protocol CM PGN 60416 0xEC00 Yes No ISO Address Claim PGN 60928 0xEE00 Yes Yes ISO Commanded Address PGN 65240 0...

Page 31: ...or Ethernet gateways or routers you can download our free CAN Log Viewer software runs on Microsoft Windows Mac OS X and Linux at http www yachtd com downloads Note 2 The Equipment Status field of th...

Page 32: ...32 Appendix C Device Connectors Figure 1 NMEA 2000 connectors of YDPG 01R left and YDPG 01N right models The USB connector type Mini B female and NMEA 0183 wires are shown in Figure 1 in the Section I...

Page 33: ...33 NOTES...

Page 34: ......

Reviews: