Add your AIS feed to OpenCPN as a serial input through an RS-422-to-USB adapter or as a network input over Wi-Fi. Once vessel targets appear in OpenCPN, add a separate UDP output to send the AIS feed to the address and port assigned to your MarineTraffic station. MarineTraffic’s receiver connection guide · Digital Yacht Wi-Fi setup · MarineTraffic forwarding guide
Wire the RS-422 output to USB
Use an NMEA 0183 USB adapter with an RS-422 input, such as the isolated Actisense USG-2. Identify the leads and any required ground connections in the installation diagrams for your receiver and adapter. The table shows the one-way data pair from Garmin’s differential NMEA 0183 wiring diagram. Actisense USG-2 · Garmin wiring diagram
| AIS receiver output | USB adapter input |
|---|---|
| TX A (+) / OUT + | RX A (+) / IN + |
| TX B (-) / OUT - | RX B (-) / IN - |
- Plug the adapter into your OpenCPN computer. In Options → Connections, choose Add Connection, then Serial.
- Set DataPort to the adapter’s serial port. Match Baudrate to the receiver’s AIS output, typically 38400 baud. Check your receiver’s documentation for its setting.
- Select Apply. Actisense USB connection · Digital Yacht serial setup · MarineTraffic AIS baud rate
Add an AIS feed over Wi-Fi
Connect the OpenCPN computer to the AIS device or gateway over Wi-Fi. Open Options → Connections → Add Connection → Network. Use the TCP or UDP mode configured on the device. Digital Yacht OpenCPN Wi-Fi instructions · Quark-elec Wi-Fi modes
| Device sends AIS over | OpenCPN Protocol | OpenCPN Address | OpenCPN DataPort |
|---|---|---|---|
| TCP | TCP | IP address of the AIS device or gateway | Device’s TCP port |
| UDP | UDP | 0.0.0.0 is one option | Same UDP port the device sends to |
For UDP unicast, set the sender’s destination to the OpenCPN computer’s local IP address. Select Apply. OpenCPN’s UDP input guidance · MarineTraffic’s local UDP feed example
Quark-elec’s OpenCPN example uses 192.168.1.100 and TCP port 2000 in direct Wi-Fi mode. For Quark-elec station mode, use the IP address assigned in the device configuration. Quark-elec’s Wi-Fi example · MarineTraffic’s internet requirements
Verify AIS in OpenCPN
In OpenCPN 5.12 and later, open Tools → Data Monitor. In versions with the former NMEA debugger, use Options → Connections → Show NMEA Debug Window. Check the incoming lines from the serial or network connection you added for !AIVDM sentences. OpenCPN Data Monitor · Digital Yacht’s debug window guide · MarineTraffic’s raw AIS examples
If !AIVDM lines arrive but the chart has no targets, enable target display in the AIS menu and zoom out. If the monitor is empty, recheck the connection settings above. Digital Yacht connection and AIS display settings · MarineTraffic’s OpenCPN guide
Forward AIS to MarineTraffic
For a fixed shore station, sign in to MarineTraffic and go to My Account → My Station → Add Receiving Station. Complete the required fields, enter the station’s latitude and longitude in decimal degrees, and select Submit. Save the destination address and unique port MarineTraffic sends you. MarineTraffic station registration
- In Options → Connections, select Add Connection, then Network. Choose UDP, the protocol MarineTraffic recommends for this setup. MarineTraffic’s OpenCPN output settings
- Enter the assigned MarineTraffic destination in Address and the assigned port in DataPort. Turn off Receive Input on this Port and turn on Output on this port. MarineTraffic’s forwarding guide
- Set Output Filtering to transmit only
VDMon this connection. This passes the!AIVDMsentences you checked earlier. Select Apply, then OK. OpenPlotter’s output filter controls · OpenCPN’s sentence matching rules · MarineTraffic’s raw AIS examples · MarineTraffic’s OpenCPN setup - After a few minutes, open the station page from My Account → My Station and check its statistics for received data. If OpenCPN still shows AIS but the station statistics stay empty, check the MarineTraffic address and port, the output checkbox, and the computer’s internet connection. MarineTraffic’s verification steps · MarineTraffic’s station overview · MarineTraffic’s internet requirements
For an onboard transponder contribution from a commercial vessel, see the MarineTraffic Roaming Data Partnership guide. For NMEA 2000 hardware, see MarineTraffic’s receiver connection guide.
Evidence and limits. The wiring and Wi-Fi examples follow Garmin, Actisense, Digital Yacht and Quark-elec documentation. Forwarding follows MarineTraffic’s OpenCPN 5.8.4 guide, with the OpenCPN 5.12 Data Monitor path from the OpenCPN manual. Sources were checked on November 26, 2026. The steps were not run on hardware or with a live feed.