Opencpn Raspberry Pi4 Plotter V1e
Opencpn Raspberry Pi4 Plotter V1e
About: I set out to build a touch screen plotter for Amethyst that would be highly functional,
reliable & cost effective. Previously I had built a PC based plotter which although it worked ok was
using Windows 10 which I thought was not entirely suitable for a stand alone dedicated device.
Because the Raspberry Pi4 (Rpi) works on 5 volts DC it makes it ideal to run from a 12 volt boat
supply through a low cost 12 > 5v voltage converter.
The Opencpn software is free to download & use but you can make a donation to the authors.
There are many chart features in Opencpn that are not present in the cheaper leisure software
versions. This makes the Opencpn very useful for small commercial vessels.
The satellite device I employed is a dual receiver which will use GPS & GLONASS satellites
simultaneously to determine the position. The manufacturers claim around 2mrt accuracy. I doubt
that but it is certainly much more accurate than a GPS PC dongle receiver.
Everything I used to built the plotter & GPS receiver was found & purchased on Ebay.
The Raspberry Pi4 uses Linux software, this I found very difficult to understand & really struggled
to find my way through the setup. So I recorded what I did & checked it to make sure it works.
Overall it has been a challenging project but now it is working well worth it. The following is a
guide only which should get the system running after which Opencpn will need setting up using
their manual.
Hardware Items I used:
1 - 15” Eyoyo touchscreen monitor
2 – Raspberry Pi4B 4 gig Micro computer
3 – Metal case with 5 volt fan for Pi4B
4 – 64 gigabyte micro SD card
5 – 30 volt adjustable 10 amp power supply
6 – 4 way fuse panel
7 – Earth terminal strip
8 – 3mm Aluminium back plate
9 – Raspberry Pi header strip solder plug
10 - Micro to standard HDMI cable
11 – USB mouse
12 – USB mini keyboard.
13 – 4 way USB hub with external 5 volt power supply
14 – GPS GLONASS satellite receiver
15 – TTL to USB connector
Note: The power supply is very important with a Raspberry Pi4, if it does not provide enough
current the onboard WIFI will not function properly & a lightning symbol will appear on the screen.
It is best to power the external USB hub from the 10amp 5v supply via the fuse box.
It is also advisable to fit a 5v silent cooling fan to both the power supply & Raspberry Pi case's.
These fans should be powered from the fuse box & not the onboard Raspberry Pi header. I also had
problems with overheating that affected the HDMI output to the monitor, the addition of a cooling
fan solved this. I connected the 5v power to the GP10 header on the RPi using a header plug (see
picture of Rpi). The accuracy of the satellite receiver can also be affected by a bad power supply.
4/ To Open a TTL USB Port (I used this to communicate with the dual satellite receiver):
Note: To use USB input to Opencpn permission is required, this is granted using the following
code.
A4/ Open the Terminal Application
B4/ Type – sudo usermod -a -G dialout root Press Enter then reboot the Raspberry Pi
Summary:
This project is after a great deal of trial & error finally working as stand alone touchscreen plotter. If
you decide to use these notes to build your own system please do not blame me if it does not work.
The operating system used here was “Raspbian Buster” earlier versions might not work with the
code used here.
Warning: this setup is not waterproof & can only be used in a dry atmosphere
If anybody can improve on this setup then please share it with the rest of us.
Malcolm Burge.
GPS receiver & USB TTL connector
Both items are joined together with a 5 wire cable then connected to the Rpi4
The GPS receiver needs to be housed in a weatherproof plastic container.
Covers can be purchased for the TTL USB connector, I made one for the GPS receiver.