This Raspberry Pi Boat Computer Is for Sailors

An open-source Raspberry Pi project with a marine twist.

raspberry pi for yachts

Ready to hit the water? This Raspberry Pi boating project was created by a developer known on Reddit as bearthesailor . Bareboat Necessities is a DIY Pi-powered computer designed with all of your boating needs in mind.

This project houses a Raspberry Pi 4 below deck, so waterproofing your Pi isn't necessary. The Bareboat Necessities has a panel of interfaces on the front and back with a wide selection of features. You'll find USB ports, voltage meters and power switches for different components. There are even RF connectors to use with antennas.

The maker has the Pi running the Pi's Raspbian operating system, along with OpenPlotter 2.0, an open-source sailing platform. Because the project uses a Raspberry Pi 4, you can use Wi-Fi to set up the software remotely and even access the boat computer using a smartphone or tablet.

Bearthesailor provided a big list of recommended software on the project Github page. You can find applications to display weather predictions, a compass, plus temperature and barometric readings. There are even marine-specific applications, like SailGuage to help monitor things such as speed over ground, course over ground and depth below transducer. 

Tuktuk Chart Plotter and KIP Dashboard interface with Signal K—an open-source self-described universal marine data exchange. And, of course, you can add a music player because boats absolutely need kicking tunes. 

Visit the official Bareboat Necessities Github page for an intricate breakdown of the project and how to create one yourself.

Stay On the Cutting Edge: Get the Tom's Hardware Newsletter

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.

Ash Hill is a contributing writer for Tom's Hardware with a wealth of experience in the hobby electronics, 3D printing and PCs. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting while also finding the best coupons and deals on all tech.

Best Raspberry Pi Projects: November 2024

Electronics builder qualifies for ‘Father of the Year’ with this Raspberry Pi-enhanced kids’ electric car

Dell’s incredible 32-inch 2K curved gaming monitor is selling for just $199

admin said: This Raspberry Pi Boat Computer is for Sailors
robotboy321 said: A boat computer for sailors? Are they sure it's not intended for those who travel by horse?
  • derekullo You could power a Raspberry Pi and a Wifi adapter to send an email from a horse. Horse powered email FTW. Reply
  • Darkbreeze The "E" in that E-mail, must stand for Equestrian. Reply
  • bit_user I would not trust a Pi for anything mission-critical. Get a proper industrial or marine PC. The one positive about this project would be if it's cheap enough that you could easily get two. However, there could be some batch failure that makes them both unreliable. However, I hear that mariners are wise to such issues, and often get backup systems that are an entirely different brand than their primary. Reply
bit_user said: I would not trust a Pi for anything mission-critical. Get a proper industrial or marine PC. The one positive about this project would be if it's cheap enough that you could easily get two. However, there could be some batch failure that makes them both unreliable. However, I hear that mariners are wise to such issues, and often get backup systems that are an entirely different brand than their primary.
GeoffreyMH said: Having twice been struck by lightning (once mid-Atlantic, once at anchor in Belize) I notice that nature isn't picky about what brand or make of electronics equipment it destroys. Both times it destroyed both our Raymarine autopilots (yes, so much for backups!). Now I rely on my windvane (Monitor) self steering.
GeoffreyMH said: I certainly wouldn't bother with a "marine computer" - a Pi 4 in an Argon 1 case will do everything you want. And it is tiny enough to fit in your oven or a small cake tin when there is lightning about. Loads of open-source software on the web for chartplotting, autopilots, etc (eg Open CPN, pypilot and so on) and LibreOffice leaves Microsoft Office for dead.
bit_user said: Thanks for the reply. It's great to hear from someone with actual experience, which I clearly lack. I gather the point about having a backup of a different brand was in case there's a bug or internal defect in the device. As you point out, it's not going to protect you from lightning. My concern about using Pi hardware is that it was built primarily to hit a low price point, and not to prioritize robustness or reliability. The first thing you want to look for is ECC memory, but industrial boards will also use higher quality components, PCBs, etc. In conclusion, I'll just say that if it were my ass on the line, I would go the industrial PC route and not rely on a Pi. Also, beware that flash drives and SSDs have data retention issues , if you leave them unplugged for too long. So, I would chose my storage wisely. Some filesystems, like BTRFS, even have a checksum. So, you can simply check it before launching, to verify that your data is 100% intact.
GeoffreyMH said: The Raspberry Pi was not built to hit a low price point
GeoffreyMH said: but to educate peope to use computers and electronics-driven equipment.
GeoffreyMH said: There is now a vast knowledge base on the Pi to support anyone who wants to learn.
GeoffreyMH said: And then there is the cost. The key sensors of an autopilot (gyroscope, accelerometer and magnetometer) are packaged in the Raspberry Pi Sense Hat for £30 from Amazon.
bit_user said: ...
GeoffreyMH said: ...
  • View All 12 Comments

Most Popular

raspberry pi for yachts

OpenMarine

  • 1 (current)
  • 0 Vote(s) - 0 Average
.)
More in Getting Started Guide:

This OS had been in development for over 2 years. Latest stable release (#21) available via GitHub link at:



Project Home Page:





Fair Winds!

Video of actual installation:




.)

(Download speeds from the link above will be slower)

Video of actual installation:






Report your issues at:



Thanks

Video of actual installation:




.) mgrouch Wrote: Beta version of BBN OS based on arm64 Bullseye is available for testing

Download from here:



Report your issues at:



Thanks


A release (Preview Release) of BBN Marine OS for Raspberry Pi, now fully 64-bit and based on Bullseye
is available for downloads at 



While it needs more testing, it's performance looks much better than the previous stable Buster-based version.

There are also some new features:

- Victron Web UI interface
- HF Propagation Web UI
- Clock (With timer and alarm)
- TODO list application

There is a number of important issues addressed:

- Boot speed when not connected to a network
- Better touchscreen detection
- Better auto-detection of pypilot hardware
- OpenGL performance is much better in a number of applications (Chromium, Stellarium, and more)

More add-ons.

Many OpenCPN plugins and SignalK plugins are included.

HomeAssistant and JellyFin are on the image. They just need activation via add-ons.


BBN OS is completely free and opensource. Free downloadable SD card image. Extensive documentation is available.

Give this image a try, and report bugs to help making it a stable version soon.

Thanks

Video of actual installation:






Video of actual installation:






Getting Started Guide and Documentation:


For those who would like to help with translations
CrowdIn translation project page:


Since Raspberry Pi is hard to find which other boards are you using? I'm considering creating Armbian based
version too.

The list of boards I consider is here:

It needs to be narrowed down to few.

Fair Winds!

Video of actual installation:




mgrouch Wrote: First Bullseye-based stable release of free and open source BBN Marine OS for Raspberry Pi is available for downloads.

This release is arm64 with noticeable improvements in performance.

There is number of new features (compared to previous Buster-based releases)

Better PyPilot support
Better Victron support
Few additional apps

Many included plugins for SignalK and OpenCPN

Fair Winds!

Download link:


A new release 2022-12-20 of free and open source BBN Marine OS for raspberry pi is available for downloads.

- Stability fixes for PyPilot and Signalk
- Some fixes for tides in OpenCPN
- Regular OS updates
- Documentation improvements

Download from:

Getting Started Guide:

Fair Winds!

Video of actual installation:





now includes OpenCPN 5.8.2

Fair Winds!



Video of actual installation:




.)

It should be really stable and performant release.
If you do not feel it, speak up and report any issues at GitHub



Feel free to explore other BBN projects 

As esp32 MFD marine display 



Or DIY NMEA 2000 sensors or gateways


Video of actual installation:






Video of actual installation:




  • View a Printable Version
  • Subscribe to this thread
1 Guest(s)

raspberry pi for yachts

  • Yachting Monthly
  • Digital edition

Yachting Monthly cover

Rebuilding a yacht’s navigation system using Raspberry Pi

  • February 15, 2023

When David Bishop bought a 30-year-old boat, the batteries were dying and the wiring was a mess. He decided to rebuild the nav system using several Raspberry Pis

raspberry pi for yachts

Back in May 2021, my wife Lydia and I purchased our first boat, a 1994 Dehler 34 called Troppo Bella , and spent the summer exploring the beautiful waters around Conwy. Planning to venture further afield the following year, I decided it was time to rebuild the somewhat vintage navigation station.

With much of the wiring 30 years old and a scant complement of switches, the navigation station hadn’t kept pace with the numerous navigational devices, lights and living comforts that had been added over the years. Unfortunately, half of these additions had since been decommissioned due to faults, including the Navtex receiver, SSB weather fax receiver and autopilot. Sat at anchor using camping lights in the saloon to preserve our fading batteries, it was also clear we had to be able to control power consumption if we wanted to spend more than a night away.

We set a couple of aims for the revamp. Firstly, we wanted to make full use of the existing equipment that was still functional. This included the Furuno GP32 Navigator GPS at the navigation station and the Raymarine C80 multi-function display that was mounted on the binnacle. These devices are robust, waterproof and adventure-ready. Budget was also limited so upcycling what we had, rather than installing the latest navigational tech, was essential.

Secondly, we wanted to use the navigation station to plan and plot a route on screen, push it to the GPS, chartplotter and Navionics on our tablet, and be able to view our progress while sailing. While a laptop could do this job, space at the chart table was tight, plus recharging a laptop would be a hefty draw on house batteries during extended trips. We’d need something small and low power for the job.

raspberry pi for yachts

Lydia at the old and very cluttered nav station.

But before any of this could be achieved I had to take out the moulded switch panel and instrument board and remove all of the old switch wiring. I was then left with a simple set of power and data wires coming in from instruments around the boat, which I carefully labelled. Realising I had now effectively made the boat unusable, the project suddenly felt epic: there would be no sailing until this project was complete!

The original layout had 10 switches and I calculated that I would ideally like around 30 to give complete control of our power usage. There was no room for ready-made switch panels, so I opted for a collection of individual Blue Sea Systems Contura switches that I could group and mount easily as space allowed.

Having decided we wanted an integrated computer for route plotting, the next step was to decide which one to use, how to fit it into the small space available and where to mount the display.

raspberry pi for yachts

Two of the Raspberry Pis hidden in the old Navtex box

Raspberry ripple

My daughters and I had already been tinkering with Raspberry Pis, a cheap computer no bigger than a pack of cards, designed to encourage children to learn about technology. These computers are easy to set up and well documented with many free books available from the Raspberry Pi Foundation .

Since their invention, Raspberry Pis have been used by sailors in boat computers for a range of purposes including navigation and autopilot systems, to monitor engines, bilges and tank levels, as well as manage solar power generation. This miniature computer was ideally suited to power our new navigation solution.

To plot a course, display our position on a digital chart and see AIS Targets, I wanted to use OpenCPN chartplotting software with licensed charts from o-charts.org and was delighted to discover OpenPlotter to get me started. This software bundle provided everything I needed, including the Raspberry Pi operating system, OpenCPN and Signal K. This last bit of software can be used to connect up the boat’s instruments (wind, speed, depth, GPS, routing, AIS) and make the data available over WiFi and so was going to be vital in pushing information to our Raspberry Pi-powered chartplotter and Navionics.

I realised that the decommissioned Navtex box would make the perfect, protected place to hide two little Raspberry Pis; I would use one of the mini computers for getting the instruments to talk to each other via Signal K and another to power my OpenCPN chartplotter.

raspberry pi for yachts

David at work at the new nav station using the inbuilt computers and touch-screen display

Like a couple of hermit crabs they were soon installed in their new home. Moving things around on the instrument board I was also able to find a space for a 7-inch LCD touchscreen which could be used for our route plotting as well as reviewing weather information or as an instrument panel.

I hadn’t fully realised how much extra wiring three times the number of switches would create but, armed with many cable ties, I managed to fit it all in and the system was ready for its first sea trial in May 2022 when we set off for the Isle of Man.

The OpenCPN chartplotter and screen proved an immediate hit and we settled into a routine of creating the route on OpenCPN and then loading it via a GPX file into Navionics. In this way all our devices followed the same route and displayed the same data.

Updating the logbook became a quick and easy task, plus both helm and navigator had a real-time view of our progress. We were also really pleased to have the Raymarine C80 we’d inherited fully integrated into our navigation. While we like the portability of the iPad and the clarity of Navionics charts when on deck, in bad weather or when the helm wants to view a simple feed of boat data, the C80 comes into its own. So far so good!

raspberry pi for yachts

The new nav station, complete with a red night light and three times as many switches

Power savers

Our onboard power consumption was also back under control thanks to the additional switches I had fitted and we could now keep the depth and wind instruments on while at anchor without the drain of other electronic devices hanging off the same wires.

This switch-per-device approach which was one of the main objectives of the upgrade has had some other unexpected benefits too – if AIS targets stop being received, for example, being able to reboot the AIS receiver without turning everything off and on is a real plus.

I’ve a few more plans for the navigation system, mainly to improve our access to weather forecasts when at sea or in anchorages off the Welsh coast that 4G can’t penetrate. Top of this list is to use it to receive and display in-depth weather information via WeatherFax and Navtex. I think I could squeeze another Raspberry Pi in there somewhere if I needed to!

Lessons learned

Reduce the drain

Managing power consumption is key. Modern tablets and phones use a lot more power than you think, especially compared to older purpose-built marine technology. Removing your dependency on them for long trips will give you greater sailing range.

Legacy backup

Make intelligent use of your navigation aids. In a storm, tablets and smart phones are not reliable and you may be unable to escape the helm to consult paper charts. Legacy marine navigational equipment was designed for the sea so make sure you have loaded your route in case the weather takes a turn for the worse.

Know your electrics

Most sailors know how to bleed their engine, but few have a working knowledge of the boat electrics. However, depth and wind speed/direction are vital for sailing. Gaining a basic understanding of your boat’s electrics and boat data is a sensible skill for modern seamanship.

Prepare for frustration

Rebuilding my navigation station was a hugely rewarding and exciting project. However, I had never tinkered with boat electrics or boat data before and the process required a lot of learning, dead-ends and frustration along the way as I tried to get devices to talk to each other.

Add extra time

Don’t underestimate the effort and time required to rebuild or rewire your switch panels. This project was only just completed in an off-season and it took many hours of effort.

Enjoyed reading this?

A subscription to Yachting Monthly magazine costs around 40% less than the cover price .

Print and digital editions are available through Magazines Direct – where you can also find the latest deals .

YM is packed with information to help you get the most from your time on the water.

  • Take your seamanship to the next level with tips, advice and skills from our experts
  • Impartial in-depth reviews of the latest yachts and equipment
  • Cruising guides to help you reach those dream destinations

Follow us on Facebook , Twitter and Instagram.

BAREBOAT NECESSITIES

Custom open source marine Linux OS for your boat computer

Waterproof marine touch screen HDMI display

GNSS (GPS, GLONASS, Beidou, Galileo) receiver

Sensors for orientation (gyroscope, accelerometer, compass via IMU)

Environment temperature, barometric pressure, humidity sensors

Connections to the boat instruments such as wind, depth, speed, AIS via NMEA 0183 serial ports

Boat LTE / 4G Gateway, network storage

Boat WiFi hotspot and a router with WiFi extender and a long range waterproof WiFi antenna

Optional autopilot integration, rudder angle sensor

Other NMEA devices, engine/battery status, bilge pump monitoring, etc

Optional air mouse with a wireless keyboard and a touchpad

Lightning EMI sensor and alarm

RTL-SDR for weather fax, NavTex, satellite weather, AIS, RTL 433, morse code decoder, etc

Boat IoT Integration via MQTT

Music Player

Can be used with Iridium Satellite Modems

Can be used for processing transmissions received from SSB radio via audio interface

Variety of options of using wireless handheld devices such as smart phones and tablets to connect to boat systems via WiFi and bluetooth. There are many marine applications available for smart phones and tablets.

SeaBits

NMEA 2000 powered Raspberry Pi

Running a Raspberry Pi aboard a boat has been a popular thing to do for a number of years. I’ve had them on every boat since the Pi first came out. Connecting them to a NMEA 2000 network, and powering them off a DC battery bank has required a bit more work up until now.

There are many reasons to have a Raspberry Pi connected to your boat network that I can think of. My main reason is to run a Signal K server on it, have it connected to my NMEA 2000 network, and leverage the hundreds of plugins and pieces of software that you can install to create dashboards, gather data, set alarms and alerts, and so much more.

In addition, you can run OpenCPN or OpenPlotter and have a fully functioning boat control, autopilot, chart, etc. system that has features just like the big vendors.

On sailboats in particular, I loved having a Pi on board because I could have an always-on computer that didn't take a ton of power, had a decent amount of CPU power, and use it to monitor things while I was away.

The old way…

The first step in connecting a Pi to the boat was to find a proper power supply. Raspberry Pi's run off of USB power which is 5V, and not generally available on the boat in a permanent way. I always wanted mine to run off of the 12v DC battery bank without any connection to an AC outlet, inverter, or USB converter that isn't hard wired. I have had good luck with this 12v-5v converter from Tobsun , and I particularly like it because it has four screw down terminals on it, making it easy to connect cabling.

Once the power problem is solved, connecting the Pi to the boat network involved either an Actisense NGT-1 USB adapter ($) or a canable.io adapter to get it on the NMEA 2000 network. Both have pros and cons and require connecting to a USB port on the Pi, plus some configuration.

An easier way….

A reader and Instagram follower (thanks Ilker Temir !) pointed me to an add-on board, or HAT , for the Raspberry Pi called the PICAN-M , and I was intrigued. I ordered one from Copperhill Technologies here in the US and it arrived a few days later. The original manufacturer of the board is SK Pang Electronics out of the UK.

raspberry pi for yachts

I had a Raspberry Pi 4 that I had been playing around with ever since it came out, but didn’t have a clear purpose for it. I decided to install the PICAN-M on it, and then try out a few different things. I generally purchase the CanaKit bundle when I am buying a Raspberry Pi (I think I have about 15 right now doing various things at home and on the boat) as they tend to include a nice power supply, case, cables, and mainstream brand SD card, but you can get them cheaper without those pieces if you prefer. In this case, the extra parts and pieces were important when I bought the Pi to do testing in general, but were not necessary since the PICAN-M provides power, and the case provided by CanaKit won't work.

raspberry pi for yachts

The PICAN-M is a pretty simple, yet well designed board. It has a NMEA 0183 terminal block and NMEA 2000 port on the left side in the picture above, and the connector for the Raspberry Pi on the right hand side.

raspberry pi for yachts

There is a really nice schematic and user guide that SK Pang have provided on their website. The board looks very well built with clearly labeled bits. Here's what SK Pang say the board is capable of:

  • CAN connection via Micro-C connector
  • 120Ω terminator ready
  • SocketCAN driver
  • appears as can0 to application
  • NMEA 0183 (RS422) via 5-way screw terminal
  • appears as ttyS0 to application
  • LED indicator (GPIO22)
  • Qwiic (I2C) connector for extra sensors
  • Include 3A SMPS to power the board and the Pi from 12v line.
  • Compatible with OpenCPN, OpenPlotter, Signal K and CANBoat

So besides NMEA 2000 and 0183, you can also connect other I2C sensors if you'd like.

raspberry pi for yachts

NMEA 2000 Micro-C connector and terminal block for NMEA 0183

The biggest challenge with the board is going to be finding a proper case that has the right cutout.

raspberry pi for yachts

Installing the board is straightforwards. Included in the package are four standoffs and screws which need to be attached to the Raspberry Pi. Then carefully slide the PICAN-M down the pins on the Raspberry Pi until it is well seated, and screw it down to the standoffs.

raspberry pi for yachts

If you're interested in a step-by-step guide on how to set this up with Signal K, Grafana, InfluxDB and more, check out my article below:

raspberry pi for yachts

This is probably the only downside to this setup. The standard cases that come with the Raspberry Pi do not assume you will have an add-on or HAT board with it. Those that accommodate HATs are pretty specific, and have holes or punch outs for specific types of connectors. I have not found a NMEA 2000 specific case – perhaps an opportunity for 3d printing!

raspberry pi for yachts

I found a case from HiFiBerry that was meant for an audio HAT and hacked holes in it to allow the NMEA 2000 port to be exposed. It's not great, but it works for now and keeps the boards reasonably safe.

Software & Usage

I installed three different things on the Pi to test with, just for OpenPlotter , OpenCPN , and then just Linux with Signal K.

To do this, I simply connected the NMEA 2000 port to power up the Pi, plugged the included HDMI-mini to HDMI cable into a monitor, connected a keyboard, and followed the install instructions for OpenPlotter/OpenCPN. You can do this in an automated way, or even headless (without a monitor or keyboard) but it can get a bit fiddly if you make a mistake in the installation.

For Linux + Signal K, I used the standard Raspbian server minimal distribution and then installed Signal K afterwards.

raspberry pi for yachts

The super nice thing is that the NMEA 2000 port just shows up as can0 to the operating system, so it is very easy to start using one of these applications to access the data on the NMEA 2000 network.

The absolute best part about this entire setup is the fact that the NMEA 2000 port is native, and that it powers the entire computer . No other cables or connections are required.

This opens up even more utility when considering what you could use this for. Besides running heavier applications like the above, you could use these in strategic places all around the boat to create an entire sensor network. Connect it to a NMEA 2000 tee somewhere, and have I2C or other sensors (Raspberry Pi have a wealth of different ways to connect various sensors) connected to tanks, temperature, momentary, etc. and run Signal K on each, spitting the data back to a central Pi or other computer to display things. The possibilities are actually quite exciting. I've tried to do this in the past with Arduino and other technologies, and it has been a bit of a mess with having to power them by battery or other conversions.

Cost & Conclusion

Overall this is a pretty inexpensive way of getting a boat computer on board:

  • CanaKit Raspberry Pi 4 bundle – $114.99
  • HiFiBerry HighPi case – $17.95
  • PICAN-M HAT board – $94.95
  • NMEA 2000 cable – $15

Total: $242.89

This is a very reasonable price, and is actually about the same cost as the Actisense NGT-1 USB to NMEA 2000 interface alone! For just under $250, you end up with a bus-powered, low power usage, reasonably powerful computer on your NMEA 2000 network.

You could buy a bare Raspberry Pi instead of one in a kit like I did and save some money, since you won't need a power supply or the case it comes with. You could throw in a 7″ touch screen , similar to what I did on Grace's navigation panel , and have a complete computer setup that you could interact with like a chart plotter, all powered by the NMEA 2000 bus connection.

I think this is a fantastic way to get Signal K on board your boat in a single hardware device, all powered by the NMEA 2000 network. It's also a great way to add OpenCPN or OpenPlotter if you don't have a good navigation / boat management tool already on board. It's well made, easy to put together, and opens up the possibility of having access to boat data for those not interested in the more DIY approach. If you have a NMEA 2000 network, and don't have Signal K installed, this is a perfect way to do it.

Archived Comments

These are read only comments from the old system. Scroll down to participate in SeaBits Discussions , our new interactive forum attached to each article. Charles Milléquant November 15, 2020 at 6:26 pm Thanks for this article. I am currently building my own setup and this PICAN Hat will be part of the game ! I however have a question : how would you manage to add an active cooling device to this setup knowing that Raspberry pi 4 tends to produce a lot of heat and will need to be cooled by a fan if enclosed in whatever case I can fit all of this into ?

Phil November 15, 2020 at 7:44 pm Have been using this board full time for about 2 months now. I have not had any problems with a Pi 4 getting hot (in and enclosed case). A tip that caught me out was the the NMEA0183 (RS422) input. to send data to the PiCAN-M use pints IN+ and Ground, not IN+ and IN-

  • Charlie August 3, 2021 at 7:06 pm Phil, Can you explain. I want to go from NEMA 0183 RayMarine 6000 auto pilot to the PiCan M. Should it be Out+ Out- from the auto pilot to the In+ and Grnd? I’m trying to get GPS Output from the 0183 dongle on the USB RPi 4 to an Icom M506 with 0183 and 2000 connections. Any ideas and help would be greatly appreciated.

Bram de Vries November 24, 2020 at 11:32 am Hi Steve, great article, thanks! I do wonder though if this won’t harm the NMEA2000 power supply, as I believe it is restricted to 1A per client, and a Raspberry Pi can draw up to 3A? Cheers, Bram

  • David de Regt November 24, 2020 at 5:31 pm The Raspberry Pi specs are off the 5V line on the USB port, and it’s a 2.5A theoretical max draw through that. However, in reality, even when you’re doing video transcoding and melting the CPU and GPU on a Pi 4, it’s still been measured well under 1A. 1A @ 5V = ~.4A @ 12V. The max of 2.5A would be right around 1A @ 12V, if you could somehow add enough addon boards and such to use the entire spec, which would be the max 16 LEN or whatever it is on the N2k bus.
  • Bram de Vries February 21, 2021 at 11:02 pm Thanks for elaborating!

ML_C36 December 16, 2020 at 3:45 pm I have purchased the Pican-M and followed their installation guide. Using the candump, I am able to see the data stream similar to what is shown in the guide. I am however not able to see the data within SignalK, what are the steps for setup within SignalK to recognize the data coming from the Pican? Note I have successfully been able to get the usb data from my Lobster fridge.

jaymzru January 17, 2021 at 7:47 am I was just googling ways to connect a raspberry pi to nmea2k for my Beneteau sailboat, and this article is basically everything I was looking for! Thanks

  • Steve Mitchell January 23, 2021 at 12:52 pm Glad it’s helpful! I’m just finishing up an article on setting the whole thing up which I am publishing today.

Javier January 31, 2021 at 9:50 am Can i use this setup to read the data of my analog sensors, fuel, etc., and export those reading on the nmea 2000 port to my garmin charploter???

  • Steve Mitchell January 31, 2021 at 10:40 pm You could potentially do this, but it would depend on the analog sensors. You’d have to connect the Raspberry Pi to the analog sensors with some sort of additional connector or device, figure out the analog to digital conversion, and then convert that using a plugin or custom software on the Raspberry Pi and use Signal K to put that data onto NMEA 2000. It would be a decently technical project involving a few pieces. There are a number of NMEA 2000 sensor products that can adapt analog tank level sensors and such to NMEA 2000 native messages without using the Raspberry Pi that might be easier to get working in a shorter amount of time. It would really depend on the sensors and what they were.

Peter Wadsworth February 10, 2021 at 9:24 pm Would there be any incompatibility with using a Navionics chart in this type of setup ? I know it would be more expensive, but where we live, the CPN charts are not as detailed as Navionics.

  • Steve Mitchell February 10, 2021 at 9:45 pm I’m not sure you could use Navionics here. This setup is mostly for building a server that runs open source software and connecting it to your network. Navionics is a commercial charting company, and I think they only sell their charts for devices like chart plotters, tablets and phones using their apps, etc. OpenCPN and OpenPlotter both have charts, but they don’t support Navionics either. You’d be stuck using open charts or other free sources.

Hans Bratland March 3, 2021 at 3:09 pm Hi, Thanks for your article. Im looking into upgrading my system with a raspberry pi and openCPN, and wanted to ask something regarding this PICAN-M hat.. I have a daisy AIS reciever ( https://shop.wegmatt.com/collections/frontpage ) that outputs for NMEA0183. Is it possible to connect this AIS device to NMEA0183 on the PICAN-M board, and from there send the signal out on the NMEA2000 network? So basically using the board as a bridge between the ais and the NMEA2000 network, and at the same time get the ais data on the pi? Thanks for any help 🙂

  • Steve Mitchell March 3, 2021 at 3:46 pm Hi Hans, What you’re proposing should be possible, although I have not tested it myself. You’ll need something like Signal K which would run on the Pi and receive the NMEA 0183 data and ingest it into Signal K. You’d need the Signal K to NMEA 2000 plugin which has support for AIS PGNs 129794, 129038, 129041. This would take the data that Signal K consumes via NMEA 0183 and put it on NMEA 2000.

John Gallo April 9, 2021 at 3:16 pm Hi I read this and it was all Greek to me. I was wondering what classes I could take to get e up to speed. I am 72 and retired I feel left in the dust.

  • Steve Mitchell July 29, 2021 at 9:56 pm This is a pretty technical article that folks with DIY experience are more likely to jump into. If you were interested in learning more about this type of computing, general Linux classes would likely be a good place to start.

Jim April 11, 2021 at 1:31 am Thanks for a good post. I just resonantly bought my self a 3D printer, and as a first project I did a case for my CANPI + PI 3 B, see: https://www.thingiverse.com/thing:4817180

Jim April 13, 2021 at 9:01 am Hi I just recently bought a 3D printer, and one of the first project was a case to my RPI3 and PICAM-M card. More info can be found here: https://www.thingiverse.com/thing:4817180

  • Steve Mitchell July 17, 2021 at 1:39 pm Nice job!

Christoph Ritzmann April 18, 2021 at 1:39 am Hi Steve While i was surfing the web, i have found these 2 links for the pican-m case: https://buyzero.de/products/metal-case-for-pican-m-and-raspberry-pi-4 or http://skpang.co.uk/catalog/metal-case-for-picanm-and-raspberry-pi-4-p-1594.html Cheers! Christoph

Wolfgang April 21, 2021 at 11:27 pm Actually, you can purchase a case for the PICAN-M: http://skpang.co.uk/catalog/metal-case-for-picanm-and-raspberry-pi-4-p-1594.html

  • Steve Mitchell April 22, 2021 at 11:54 am Yes, I saw that – it just came out recently. Thanks for posting it here!
  • Bill K July 8, 2021 at 5:56 am And it’s a pain in the arse getting the case assembled with the board and pi. It’s very odd how they’ve chosen to make the Pican bolt to the top of the case using stand-offs. The NMEA connector sticking out the side makes it impossible to put the Pican on the Pi first. I finally managed to slide the Pi up into the top of the case and get the GPIO header aligned ‘just right’ into the Pican. It’d have been a lot less tedious if they’d just left from openings in the side of the case to SEE where the GPIO pins line up.
  • Steve Mitchell July 13, 2021 at 8:27 am Which case are you using? There are a few of them now, and I think they’re getting better.
  • Bill K July 15, 2021 at 11:01 am The one CopperHill sells, the metal one. https://copperhilltech.com/metal-enclosure-for-pican-m-and-raspberry-pi-4/ Their previous pi3 case for the non-N2K board was likewise lame as it required spreading the case enough to clear the connectors and latch, which leads to the plastic bending/cracking. Especially if you do it more than once. https://copperhilltech.com/plastic-enclosure-for-pican2-and-raspberry-pi-2-3/ Once I stabilize how things are set up I may switch to something different.

Colin May 8, 2021 at 11:57 am I have a boat with a Raymarine SeaTalk network. I have a ST60+ Graphic, which can convert SeaTalk to NMEA0183, so I’m trying to use this to interface to the Pican-M / Pi. I can see data coming over the line, but it’s just garbage – I’m not sure what’s meaning I’m not seeing the correct messages – any ideas? root@signalk:/home/pi# stty -F /dev/ttyS0 raw 4800 cs8 clocal root@signalk:/home/pi# cat /dev/ttyS0 ����З[�����C����v��I]-�k��������|��ߵѼ���*�ُ����7��������5������- etc, etc. I see new data every 2 seconds which matches up with what the ST60+ is supposed to be outputting.

  • Steve Mitchell July 17, 2021 at 12:29 pm Sorry for the late reply – some of the comments got flagged as spam incorrectly. Did you ever solve this? I might look at the baud rate or other settings around that to see if there is an issue.
  • Colin July 19, 2021 at 4:12 am Hi Steve – no problem thanks for the reply now though! No I didn’t solve it – I’d figured it would be baud rate, but whatever I tried didn’t make it any better (though it did result in a different version of garbage). I’ll have another go when I get a chance and see if anything jumps out… at the moment the leaking saildrive and the fridge that’s suddenly stopped working (after we’d just stocked the freezer compartment) is taking priority!
  • Steve Mitchell July 25, 2021 at 10:56 pm Good luck! Sorry for all of the other boating challenges!
  • Colin July 19, 2021 at 4:22 am Not sure if I tried it at 38400 which I now see is the other NMEA0183 rate.

Jim June 10, 2021 at 4:07 pm Is there a way to power from the HAT when NMEA 2K power is available then switch to the 5V input if available (ie on shore power)?

  • Steve Mitchell July 15, 2021 at 10:54 am I don’t know of a way to do this without making modifications to the board itself. There are some alternative boards I am playing with that have slightly better power options – more on that soon.
  • Marcus Williford August 26, 2021 at 11:51 pm I thought about this (just purchased this pican-m), here is an idea. Purchase a NMEA2000 isolator, and a NMEA 12V power T. Install the isolator and power T between the pi and the drop. You can then hook up this 12V power T to a more constant source of power, and you can shutdown the rest of your NMEA network without the PI missing a beat. I didn’t do this yet, but I consider it. I also consider doing this to power off a segment of my NMEA network to conserve power at anchor (i.e. turn off cockpit displays). Thoughts?
  • Steve Mitchell August 27, 2021 at 9:46 pm My previous boat Grace had a multi-powered NMEA 2000 network ( https://seabits.com/grace-integrated-5-part-network/ ) but I had some weird issues at some point. I can’t remember exactly what it was, but I do know it is possible to have different parts powered and unpowered technically. It’s a good idea to potentially use this method to keep the Pi running.
  • Bill K July 16, 2021 at 9:14 am The ‘switch’ part is the tricky bit. The Pi is basically a linux computer and, as such, has to depend on having reliable file system for all of it’s software. It does not take well to stop/starting the operating system without a clean shutdown. That or extra configuration steps to assure the SD card is set up as largely ‘read only’ to reduce corruption issues. Most inexpensive SD cards to notoriously unreliable when it comes to being used for generic disk I/O purposes. My point is switching power within the pi during this process is probably a bad plan. It’s probably better to have the power supplied consistently external to the Pi, and switched there instead. There are various UPS and UPS-like power managers for the Pi. The ‘car-puter’ tinkering efforts have a number of options to consider on that front. Doing clean startup/shutdown based on ignition key actions, for example.
  • Steve Mitchell July 17, 2021 at 8:45 am There is an alternate version of this hardware that I am testing that has a supercapacitor on the board. The purpose is so that if it detects a loss of power from the NMEA 2000 bus, or alternate power sources, it does an orderly shutdown of the Pi using the power remaining in the supercapacitor and safely stops the computer. Pretty neat idea – hoping to have an article published on it soon.
  • Bill K July 17, 2021 at 9:08 am Car Dashcams have been using super-caps for a while now. I have one in my Cayenne. Automagically shuts the camera down cleanly when DC power is removed. Haven’t have an SD card get corrupted for several years now (I rotate the out monthly but they’re all still working ok).
  • Gary July 29, 2021 at 3:36 pm Would that be the Sailor Hat you’re talking about? I’ve read about it and have been trying to find some comparative info between it and the Pican-M, but no luck so far..
  • Steve Mitchell July 29, 2021 at 9:53 pm That’s correct. I have both, and there are a lot of benefits with the Sailor Hat on the power and NMEA 2000 bus side of things. Perhaps after I write about the Sailor Hat itself, a comparison is in order…

Bill K July 8, 2021 at 6:06 am I generally dislike using ‘canned’ images for microSD cards. You never know what compromises were made to set it up. I greatly prefer being able to do installs from scratch (though I’m not so gung-ho as to insist they be compiled from source). It’s bad enough dealing with package manager issues, it almost NEVER gets better starting from someone else’s unknown ‘assumptions’. Thus ‘from scratch’ is preferable. In the limited time I was futzing with this last weekend I couldn’t find a clear set of instructions on what pieces are actually in an ‘openPlotter’ image and how to recreate it on an existing install. I don’t need to wander down the road of building a whole image, just the various installed pieces to get the same set of things running on an existing image. Why? Well, beyond questions about known/unknown image choices, there are other things already running on this pi4 that I’d rather not have to backup/reinstall on a different OS image.

  • Steve Mitchell July 13, 2021 at 8:27 am I am not a fan of OpenPlotter and other distributions like that for the same reason. I started in Linux/UNIX long ago where building it from a base OS was required, and although I am not one to want to spend tons of time just installing packages, I don’t like trusting distributions or packaged solutions that have things I don’t need. Not only does that mean I have to burn my precious LTE data upgrading and updating packages that I won’t use, but there are security concerns with whatever has been installed and configured – did they do it right? Have they secured everything correctly? In addition, a lot of these distributions have a whole windowing interface installed which is a huge CPU suck. In some cases, I’ve seen it consume 75% of the CPU before doing anything at all with the install! I prefer starting with RPi server image, which is super basic, and building on that myself.

Bill K July 14, 2021 at 5:08 pm I also made the mistake of ordering the one that CAN power itself from the n2K bus. I meant to get one that did not. As I want to be able to power cycle the system externally, but don’t want to also power off the n2k bus. That and I don’t want the added drain on the n2k bus to power it. I’m told that desoldering the small green power supply board on the pican-m will accomplish that. Though I don’t know if that also means I have to use the 12vdc pads on the board.

  • Bill K July 25, 2021 at 6:17 pm An update, I succeeded in keeping the PICAN-M board from using the N2K bus 12vdc power with the use of an N2K power isolator. I put that in-line from the N2K bus on the drop cable. The PICAN-M gets it’s power through the pi4 GPIO connection. https://www.amazon.com/gp/product/B00ABI6BF4 So now I don’t have to de-solder the add-on power supply board, and control the power to whole setup using the power to the pi4 itself. Which I have going in to the USB-C connection on the pi4, using a 12vdc buck converter from 12vdc. What I have not yet tried is a direct connection of 12vdc to the solder pads on the PICAN-M board. I don’t know if it will accept the 11-15vdc range typically seen on the DC rail, or if it’s picky and wants actual 12vdc only.

Bill K July 14, 2021 at 5:13 pm Upside is I did managed to get various pieces working and could see all the active data on the bus. I have several devices that provide the same sentences (gps from a puck and a sat compass, along with that and heading, pitch and other info overlapping from an airmar weather unit. Their instances are set uniquely but it wasn’t immediately clear how to select the various sources. But I’ll tinker with that another time. Though now that I have more than one thing that can consume AIS it looks like I’ll have to get that put onto the n2k bus. Right now it’s from a Furuno FA-50 via ethernet to the TZT3 units, and 0183 to the old NN3D MFD12 plotters. I’ve got a Yacht Devices router and will probably use that. As I’m interested in keeping a PC out of the message-passing part of the equation, for now. Dedicated, lower-power devices seem to handle this sort of thing better, with less fuss over time.

Adrian July 26, 2021 at 2:24 am Hi! Thanks for a great post! I am myself trying to set up a navigation computer with a PI where I want to plug in an AIS (em-trak). Doing it with a PICAN-M HAT looks like it would do the job! I just wonder (I am very much a novice with both Raspberry Pi and OpenCPN), do you install the “regular” Pi first, and set it up with OpenCPN/OpenPlotter, and when you’ve got that up and running, add the PICAN-M? Or do you do the configuration with everything from start? I also wonder about the power supply from the HAT. Does it power the PI automatically when connected to NMEA or is that something that has to be configured? Many thanks from Sweden! Adrian

  • Steve Mitchell July 28, 2021 at 10:06 am Hi Adrian, I would have the PICAN-M installed before doing any operating system installation. You could add it afterwards, but that would require messing around with the hardware twice, so why not just do it all at the beginning. Yes, the PICAN powers the Pi if it is connected to a NMEA 2000 bus. You can also power it other ways. No configuration is required in software, if that’s what you’re asking.

Gary July 29, 2021 at 3:48 pm I already have a RPI4 installed on my boat with a 5V 5A buck converter connected to OpenPlotter. Does it make sense for me to get the Pican-M without the SMPS?

  • Steve Mitchell July 29, 2021 at 9:54 pm I think having power via the traditional method vs. pulling it off of NMEA 2000 would be a better choice longer term.

Steve Mitchell

Steve Mitchell

Capsule dishwasher

Capsule dishwasher

Seaview light and mount

Seaview light and mount

Supercharged Victron displays & push alerts

Supercharged Victron displays & push alerts

Sign up for my newsletter.

Get all of the latest delivered directly to your inbox

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to SeaBits.

Your link has expired.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.

IMAGES

  1. Rebuilding a yacht’s navigation system using Raspberry Pi

    raspberry pi for yachts

  2. Raspberry Pi Yacht Navigation System basic explanation

    raspberry pi for yachts

  3. Rebuilding a yacht’s navigation system using Raspberry Pi

    raspberry pi for yachts

  4. Rebuilding a yacht’s navigation system using Raspberry Pi

    raspberry pi for yachts

  5. Rebuilding a yacht’s navigation system using Raspberry Pi

    raspberry pi for yachts

  6. GitHub

    raspberry pi for yachts

VIDEO

  1. Navigate Your Sailboat with Raspberry Pi #saiing #boat #shorts

  2. Vehicle guided by OpenCV and powered by a Raspberry Pi 3

  3. The Irrigation Hat Board

  4. My OpenPlotter Sailboat Setup (with Waveshare Screen, MacArthur, MAIANA, PI4B, SignalK, Pico)

  5. Installing Pypilot (an autopilot based on Raspberry pi) on a sailboat

  6. Pypilot raspberry pi zero w opencpn boat autopilot

COMMENTS

  1. This Raspberry Pi Boat Computer is for Sailors

    This project houses a Raspberry Pi 4 below deck, so waterproofing your Pi isn't necessary. The Bareboat Necessities has a panel of interfaces on the front and back with a wide selection of features.

  2. Bareboat Necessities OS

    Bareboat Necessities OS - Raspberry Pi OS-based Marine Linux built for boats. BBN OS is completely free and opensource. Free downloadable SD card image. Main features: GPS, compass (via IMU), AIS support; NMEA networks integration, multiplexing, SignalK and plugins, dashboards; Chartplotting (OpenCPN and plugins, AvNav), Navigation, Waypoints

  3. Rebuilding a yacht's navigation system using Raspberry Pi

    When David Bishop bought a 30-year-old boat, the batteries were dying and the wiring was a mess. He rebuilt the nav system using several Raspberry Pis ... so was going to be vital in pushing information to our Raspberry Pi-powered chartplotter and Navionics. I realised that the decommissioned Navtex box would make the perfect, protected place ...

  4. Build a Raspberry Pi chartplotter for your boat

    James Conger built a Chartplotter for his boat using a Raspberry Pi, dAISy AIS HAT, USB GPS module, and touch screen display, all hooked up to his boat. ... For the Raspberry Pi 4B you need the new Raspbian Buster. Then install OpenCPN 5.0.0 following the commands on the website. I am working with Raspbian and OpenCPN ECDIS viewer since ...

  5. Bareboat Necessities OS Documentation

    BBN Marine OS is a free open source Linux for Raspberry Pi on boats. With BBN OS you can build a chartplotter, marine data computer including OpenCPN, SignalK, NMEA similar to openplotter ... Looks like can be a much better base for a boat computer than just regular Raspberry Pi4. It comes with (and more): 12v power input (7v-36v)

  6. Bareboat Necessities

    Connections to the boat instruments such as wind, depth, speed, AIS via NMEA 0183 serial ports. Boat LTE / 4G Gateway, network storage. Boat WiFi hotspot and a router with WiFi extender and a long range waterproof WiFi antenna. Optional autopilot integration, rudder angle sensor. Other NMEA devices, engine/battery status, bilge pump monitoring ...

  7. Pi on a Boat

    Pi on a Boat. Tue Jul 05, 2022 6:21 pm . Check out my setup using raspberry pi, bbn os, pypilot, opencpn, etc on my sailboat ... There is a new release (2022-09-20) now based on Bullseye arm64: Bareboat Necessities OS - Raspberry Pi OS-based Marine Linux built for boats. BBN OS is completely free and opensource. Free downloadable SD card image. ...

  8. Bareboat Necessities OS

    Bareboat Necessities OS - Raspberry Pi OS-based Marine Linux built for boats. BBN OS is completely free and opensource. Free downloadable SD card image. Main features: GPS, compass (via IMU), AIS support ... I first heard about using a raspberry pi on a boat for chart plotter, navigation, etc about four years ago. ...

  9. NMEA 2000 powered Raspberry Pi

    There are many reasons to have a Raspberry Pi connected to your boat network that I can think of. My main reason is to run a Signal K server on it, have it connected to my NMEA 2000 network, and leverage the hundreds of plugins and pieces of software that you can install to create dashboards, gather data, set alarms and alerts, and so much more.

  10. Make a GPS Navigation System for a Boat with a Raspberry Pi

    Looking around in my different piles, I found most of the parts I needed. I found the three most important things: a Raspberry Pi, a GPS module, and an LCD screen running on 19v DC. Besides that, I needed some power circuits. Requirements: Raspberry Pi. I'm using the Rpi 2 model B. A monitor, keyboard and mouse.