Tag Archives: AIS decoder

How to decode AIS sentences !AVDM !AVDO

So you would like to decode NMEA AIS sentences of the type !AVDM and !AVDO

!AIVDO,1,1,,,B3ErsM03wk?8mP=18D3Q3wv5sP06,0*08
!AIVDM,1,1,,A,14RNTp001OOn5B8HmbB48kI600Rw,0*33
!AIVDM,1,1,,B,D02;bAAFhLfq6DM6Erlu6D3,2*2B
!AIVDM,1,1,,B,13E`Tn8P00Oo<rbHjWstI?w20D0B,0*1B

The best thing is to use one of the free available programs to decode AIS messages we listed here.

But if you want to do this on-line, you have some on-line tools where you can paste the messages that you would like to decode. These are NMEA 0183 messages:

And if you would like to dig in further and build your own decoder, there is available information here:

AIS receiver (AIS decoder hardware) Simple to install and connect with a USB cable

AIS decoder hardware. Simple to install and connect with a USB cable

How to connect AIS receiver or transponder to OpenCPN software

As you probably know the AIS receivers generate NMEA sentences.

In other posts we have presented the excellent software for navigation OpenCPN that more and more sailors are using as their main chartplotting solution on board. This open source software is available for Windows, Linux and Mac OSX.

In the latest version 3.2 there are significant improvements for AIS data processing.

Today we will focus on the installation and configuration procedure.

1. Connecting the AIS receiver to the chart plotting software OpenCPN

If the AIS receiver has USB connection, like for example the True Heading AIS RX Carbon, then it is very straight-forward.

If it has a serial connector (DB9 RS232), then you will normally have to use an adapter, because modern computers do not feature serial ports anymore. These have been replaced by USB ports.

We can recommend any Prolific chipset based converter, there are a lot of generic brands. Or if you want to search for a specific model, Belkin offers a few.

2. Configuring OpenCPN

You should follow the same guide used to configure a GPS, because basically as the GPS uses NMEA sentences, it works similarly to an AIS receiver. You can find them here http://opencpn.org/ocpn/setting_up_gps. This example is based on Windows. Basically you have to identify what is the COM port being used by the USB serial converter.

There is additional info in this page http://opencpn.org/ocpn/data_connections. You will see that the example is based on Linux.

3. Plotting AIS targets

The result of decoding the AIS data can be shown in the charts, as seen in the below image:

OpenCPN navigation software AIS decoding example view

OpenCPN navigation software AIS decoding example view

And a lot of configuration options are available, as described in the manual here: http://opencpn.org/ocpn/ais

Free AIS decoder software

If you want to set up an AIS receiver station, this is what you need to put together:
- VHF antenna
- AIS receiver/decoder
- Connection to a PC (via serial or, even better, USB)
- PC
- Decoding and plotting software

Apart from the software used, the most important piece of the set is the AIS receiver. We offer an affordable, two-channel, light and USB pluggable receiver:

http://www.aisnautica.com/en/productos/ais-receiver-true-heading-rx-carbon

Regarding the antenna, a VHF compatible antenna is suitable to receive AIS frequencies, since they are within the range of VHF.

Thanks to our experience and some research, we have put together a list of free AIS decoder software available. Some of these programs offer AIS decoding as a subset of something much more capable as a generic navigation software.

OPEN CPN
http://opencpn.org/ocpn/
A complete and open source navigation software, with very good AIS plotting features

OpenCPN navigation software AIS decoding example view

OpenCPN navigation software AIS decoding example view

GNU AIS
http://sourceforge.net/projects/gnuais/
Another open source software

GNUAIS AIS decoder open source software

GNUAIS AIS decoder open source software

SHIPPLOTTER
http://www.coaa.co.uk/shipplotter.htm
A classic one, offers tons of options for sharing

SHIPPLOTTER AIS decoding and sharing software

SHIPPLOTTER AIS decoding and sharing software

SEACLEAR
http://www.sping.com/seaclear/

SeaClear navigation software with AIS decoding and plotting capabilities

SeaClear navigation software with AIS decoding and plotting capabilities

AISPlotter LITE
http://www.yachtingsoftware.com/ais-viewer—free-download_c23.aspx

AIS Plotter software to decode and display AIS targets

AIS Plotter software to decode and display AIS targets