- Description
- Ask a Question
-
Yacht Devices YDPG-01R Python Gateway with SeaTalk NG Connector, NMEA 0183, CAN Bus and USB
The Yacht Devices YDPG-01R Python Gateway is a programmable marine data interface designed to connect NMEA 0183 equipment with NMEA 2000 networks while providing advanced data processing, filtering and protocol conversion through MicroPython.
The YDPG-01R version is equipped with a Raymarine SeaTalk NG-compatible NMEA 2000 connector. It also includes two serial channels for NMEA 0183 communication, a CAN bus interface and a USB Mini-B port for connection to a PC. The USB connection simultaneously provides a virtual disk for user programs and a virtual serial port with an interactive Python REPL.
Main Features
- Raymarine SeaTalk NG-compatible network connector
- Programmable MicroPython platform based on Python 3
- CAN bus interface for NMEA 2000 and other CAN-based applications
- Two serial NMEA 0183 channels: one RX and one TX
- USB Mini-B Female connector
- USB mass-storage interface for loading user programs
- USB Virtual COM Port with interactive Python REPL
- 16 MB internal disk for user programs and data logging
- Real-time data filtering and modification
- Supports NMEA 0183 devices operating at different speeds
- Supports custom gateway and protocol conversion applications
- 2500 VRMS galvanic isolation between NMEA 2000 / USB and NMEA 0183
Programmable Gateway Functions
- Create custom NMEA 0183-to-NMEA 2000 gateways
- Process proprietary or non-standard messages
- Filter and modify data in real time
- Correct transducer or sensor offsets
- Create virtual NMEA 0183 or NMEA 2000 instruments
- Add or modify NMEA 0183 checksums
- Modify transducer names in NMEA 0183 sentences
- Develop gateways for compatible CAN-based networks
- Create diagnostic tools and live network monitoring applications
- Record or stream network data to internal storage
Supported Interfaces
Interface Specification NMEA 2000 / SeaTalk NG CAN bus with Raymarine SeaTalk NG-compatible connector NMEA 0183 RX 1 serial receive channel NMEA 0183 TX 1 serial transmit channel USB Mini-B Female USB interfaces Mass storage + Virtual COM Port
Electrical Specifications
Parameter Specification NMEA 2000 supply voltage 9–16 V NMEA 2000 current consumption 68 mA maximum / 32 mA average USB current consumption 90 mA maximum / 37 mA average Load Equivalency Number 2 LEN Galvanic isolation between NMEA 2000 and USB Not isolated Galvanic isolation between NMEA 2000 / USB and NMEA 0183 2500 VRMS NMEA 0183 receiver input resistance 96 kOhm
Physical Specifications
Parameter Specification Model YDPG-01R Network connector Raymarine SeaTalk NG-compatible USB connector Mini-B Female NMEA 0183 cable length 450 mm Device case length 54 mm Internal disk space 16 MB Weight 38 g Operating temperature range -20 to +55°C
MicroPython Programming
The YDPG-01R runs MicroPython, a compact implementation of Python 3 for embedded systems. The gateway includes a subset of the standard Python library together with the Yacht Devices library for NMEA 0183 and NMEA 2000 processing.
The internal disk contains boot.py, which initializes libraries and configures device peripherals, and main.py, which is intended for user code. These files are executed sequentially when the gateway starts.
- Python 3-based MicroPython environment
- Interactive REPL through USB serial connection
- User code stored directly on internal flash memory
- Support for additional Python libraries and subfolders
- Real-time access to CAN and UART interfaces
- User-programmable LED behavior
USB Interface
The USB connection provides two interfaces simultaneously: a mass-storage device and a Virtual COM Port. The internal disk can be used for Python programs, libraries and log files, while the serial interface provides access to the interactive Python prompt for development and diagnostics.
USB Parameter Specification USB versions supported USB 1.1 / 2.0 USB Device VID / PID 0483 / A217 hex Mass storage interface USB class 8, subclass 6 Virtual COM Port USB class 2, subclass 2
Thonny IDE Support
The gateway can be programmed with the free Thonny IDE on Microsoft Windows, Linux and macOS. Thonny allows files to be edited directly on the gateway, provides syntax highlighting, saves backup files to the PC, runs and stops code, interacts with the REPL and plots variables.
For connection in Thonny, the interpreter should be configured as MicroPython (general) with the serial port assigned to the Python Gateway.
NMEA 0183 Interface
The NMEA 0183 interface includes separate transmit and receive channels. The factory serial speed is 4800 baud and can be changed by modifying the corresponding baudrate setting in boot.py.
Signal Gateway Wire TX+ (A) Red TX- (B) Black RX+ (A) Yellow RX- (B) Blue Ground Clear
CAN and NMEA 2000 Applications
The CAN interface can be used for NMEA 2000 and other compatible CAN-based networks. User programs can work with CAN bus data directly or process marine information through the Yacht Devices NMEA library.
- NMEA 2000
- J1939
- BRP CAN
- CANOpen
- Other compatible CAN-based networks
Data Logging
The internal 16 MB flash disk can be used by user applications for data logging or streaming. This allows development of applications such as a digital logbook or collection of vessel data for custom analysis and depth mapping.
PC Compatibility
- Microsoft Windows 10 and Windows 11
- Older Microsoft Windows versions with driver configuration
- Linux
- macOS
The Virtual COM Port does not require a dedicated driver in Windows 10, Windows 11, Linux or macOS. Older Windows versions require a configuration file that links the gateway to the standard system USB serial driver.
Installation
The YDPG-01R can be connected directly to the SeaTalk NG / NMEA 2000 backbone without a drop cable. The gateway can be powered from either the NMEA 2000 interface or USB.
The device should be installed in a dry location. The USB interface is not galvanically isolated from the NMEA 2000 interface, so appropriate precautions are required when simultaneously connecting the gateway to a PC and an onboard network.
Package Contents
- YDPG-01R Python Gateway – 1 pc.
- USB Mini-B Male to USB Type-A Male cable, 20 cm – 1 pc.
- USB connector sealing stickers – 6 pcs.
- User Manual – 1 pc.
Product Identification
Parameter Specification Brand Yacht Devices MPN YDPG-01R -
