Adding a GPS Device

Many different GPS devices can be used to provide OpenCPN with the boat’s position. For simplicity the Globalsat BU-353S4 GPS is used to demonstrate installing and using a GPS with OpenCPN

3.0

Other GPS devices that are available are listed HERE.

The GPS needs line of sight with satellites. You may need to move the GPS 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 GPS. 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 GPS 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 GPS 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 GPS.

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 GPS output.

3.4

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 GPS 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 GPS advice.

3.13

If you need to remove the GPS 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.