Adding a GNSS Device

There are a variety of GNSS devices that can provide OpenCPN with position data. We use "GNSS" here instead of "GPS" because today the receivers usually use several constellations. Besides GPS, for example, Galileo, GLONASS or Beidou. For simplicity the Globalsat BU-353S4 GPS is used to demonstrate installing and using a GNSSS with OpenCPN

3.0

Other GNSS devices that are available are listed HERE.

It is possible to use an existing ship’s GNSS receiver interfaced with a serial-to-USB adapter.

The GNSS needs line of sight with satellites. You may need to move the GNSS until it has a clear view of the sky. On a boat you could find that sufficient signal is received through a fibreglass deck.

Device Drivers

Device drivers for various OS can be downloaded HERE

Windows

Download the installer for the version of Windows you are running.

Install the driver using the installer .exe.

Plug in the GNSS. Windows should recognise the device and use the appropriate driver for it.

Options Connections

3.1

Add connection

3.2

Using the DataPort dropdown select the Prolific USB port.

3.3

Scroll up and tick the Show NMEA Debug Window. This is not strictly necessary but gives a good indication of whether the GNSS is functioning correctly.

3.4

Apply OK

You may need to move the chart a litle but the ship’s position appears.

3.5

The NMEA Debug Window can be closed with the Close 3.6 button.

The Compass/GPS Status Window shows a green bar 3.7 which indicates the strength of the GNSS signal.

The Status Bar shows the ship’s position.

Zooming in 3.8 the icon for the ship changes to a boat outline 3.9. The mouse scroll button can also be used to zoom in/out.

MacOS

Plug in the GNSS.

Options Connections

3.1

Add connection

Use Serial

3.21

With the DataPort dropdown select the /dev/cu.usbserial-1410 option.

3.22

Tick the Show NMEA Debug Window to view the GNSS output.

3.4

The NMEA Debug Window can be closed with the Close 3.6 button.

The Compass/GNSS Status Window shows a green bar 3.7 which indicates the strength of the GNSS signal.

The Status Bar shows the ship’s position.

Zooming in 3.8 the icon for the ship changes to a boat outline 3.9. The mouse scroll button can also be used to zoom in/out.

Linux

Options Connections

Add connection

Using the serial connection the DataPort dropdown has an entry /dev/ttyUSB0-Prolific …​.

3.11

Apply and then tick Enable for this connection.

This presents a message about permissions.

3.10

Install rule

3.12

OK

Follow the advice for restarting OpenCPN.

A rule (symlink) has been created for using the GNSS advice.

3.13

If you need to remove the GNSS and clean up the installation the symlink can be removed using Terminal.

3.14

After restarting OpenCPN and editing the DataPort connection to use the symlink opencpn0 the ship’s position appears on the map.

3.5

Zoom in 3.8 and the boat icon 3.9 appears.