Python Gateway – YDPG-01

Python Gateway YDPG-01 Unboxed

Python Gateway – YDPG-01 allows connection of NMEA 0183 devices to a NMEA2000 network while also providing data processing and filtering capabilities using the Python 3 programming language and built in Yacht Devices library.

How can the Python Gateway – YDPG-01 be used:

  • Create a custom gateway. The Python Gateway allows users to create a custom gateway to support processing of proprietary or non-standard messages. Utilising the flexibility of Python and the Yacht Devices NMEA library.
  • Ensure proper functioning of NMEA equipment. With minimal code you can use the Python Gateway to create a virtual NMEA2000 or NMEA0183 depth sounder that sends a corrected depth value from a real instrument or adds sensor offset data.
  • Ensure equipment compatibility. The Python Gateway – YDPG-01 allows the user to set custom speeds for NMEA0183 transmit and receive lines. A user can code to forward messages, add checksums (not required in early NMEA versions), fix transducer names in NMEA sentences etc.
  • Not just NMEA. The Python Gateway can be used on any CAN network (J1939, BRP CAN, CANOpen) with speeds up to 1Mbps and with any RS-232 or RS-422 device.
  • Diagnose faults. Connect your laptop via USB to the gateway and issue commands into the terminal to view live network data or run tests.
  • Log network data. Using the gateways internal 16MB flash drive you can create data logging or streaming applications. For example, you can create a digital log book or collect data for your own depth chart.
Python Gateway YDPG-01 NMEA2000 version

The Python Gateway – YDPG-01 is equipped with a NMEA2000 (CAN bus) interface with NMEA2000 micro male connector, two serial ports (one NMEA0183 Tx and one RX), and a mini USB Type-B connector that provides both USB serial port and USB disc interfaces. The NMEA2000 and NMEA0183 interfaces have high voltage galvanic isolation.

Python Gateway YDPG-01 Schematic

User programs can be transferred from a PC to the Python Gateway’s internal disc using the USB connection. We recommend the free and open source Thonny IDE to work with the gateway. This simple IDE allows you to edit files directly on the gateway, highlight syntax, save backup files to the PC, run and stop your code, interact with the REPL, plot variables, ect.

Code Examples:

Manufacturers Product Page: Python Gateway