- Description
- Ask a Question
-
Yacht Devices YDPG-01N Python Gateway with NMEA 2000 Micro Male Connector, NMEA 0183, CAN Bus and USB
The Yacht Devices YDPG-01N 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 device includes two serial channels for NMEA 0183 communication, a CAN bus interface for NMEA 2000, 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 for development, testing and diagnostics.
Main Features
- NMEA 2000 Micro Male 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 user programs
- USB virtual COM port with interactive Python REPL
- 16 MB internal disk for user programs and logging
- Supports real-time filtering and modification of marine data
- Can connect NMEA 0183 equipment operating at different baud rates
- Supports custom gateways and protocol conversion
- 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 marine messages
- Filter and modify data in real time
- Correct sensor offsets and transmitted values
- Create virtual NMEA 0183 or NMEA 2000 instruments
- Add or modify NMEA 0183 checksums
- Modify transducer names in NMEA 0183 sentences
- Develop gateways for other CAN-based systems
- Create diagnostic tools and live network monitors
- Record or stream network data to internal storage
Supported Interfaces
Interface Specification NMEA 2000 CAN bus, NMEA 2000 Micro Male 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-01N NMEA 2000 connector Micro Male 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
USB Interface
The USB connection provides two interfaces simultaneously: a mass-storage device and a virtual serial COM port. The internal disk is used to store user Python programs, libraries and log files, while the serial interface provides access to the interactive Python prompt.
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
MicroPython Programming
The YDPG-01N runs MicroPython, a compact implementation of Python 3 designed for embedded systems. The device includes a subset of the standard Python library together with the Yacht Devices library for NMEA 0183 and NMEA 2000 data processing.
The internal disk contains boot.py for peripheral and interface initialization and main.py 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 storage
- Support for additional Python libraries and subfolders
- Real-time access to CAN and UART interfaces
- User-programmable LED behavior
Thonny IDE Support
The gateway can be programmed using the free Thonny IDE on Microsoft Windows, Linux and macOS. Thonny can edit files directly on the device, provide syntax highlighting, save backups to the PC, run and stop code, interact with the REPL and plot 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 applications and other CAN-based networks. User programs can access the CAN bus directly or process marine data 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 functions such as a digital logbook or collection of vessel data for custom analysis.
PC Compatibility
- Microsoft Windows 10 and Windows 11
- Older Microsoft Windows versions with driver configuration
- Linux
- macOS
The virtual serial 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 device to the standard system USB serial driver.
Installation
The YDPG-01N can be connected directly to an NMEA 2000 backbone without a drop cable. It 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 NMEA 2000, so care is required when simultaneously connecting the gateway to a PC and an onboard NMEA 2000 network.
Package Contents
- YDPG-01N 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-01N -
