raspberry on a boat #1: Wegmatt dAISy assembly and software overview
ฝัง
- เผยแพร่เมื่อ 9 ก.ย. 2024
- ** if you want to support my work, PayPal: sirreal_youtube@outlook.com **
Sailboats are expensive. If you own an older boat, it is mainly the accessories.
The Raspberry PI mini computer is cheap and powerful. With some extra hardware, it can take over several tasks on a boat, like acting as a wireless access point, proving the plotter charts and software, collecting AIS information or multiplexing NMEA 0183 data.
My main goal is to build a cheap AIS access point as I am using my tablet as the main plotter but I want to get AIS data in, wirelessly.
But as I did start with it, I also investigated OpenPlotter, OpenCPN and other software packages.
So, I decided to share the outcome as there is not much available on YoutTube so far and it was sometimes tricky to find the necessary information.
This is part #1: Hard- and Software Overview
We will take a look at the Wegmatt dAISy HAT PCB on a Raspberry PI 4. We assemble both with a 3D-print housing from "The Pi Hut".
We are going to use a special PCB to convert 12V to 5V providing 3As to run our PI 4.
I will explain the purpose of OpenPlotter, OpenCPN and Kplex and what version of Rasbian we need to install.
This introduction will lead to our #2 tutorial: We will install Rasbian Lite, Kplex and create an wireless access point to send NMEA 0183 AIS data to NC charts, running on normal Android tablet.
Let's go!
I am a complete novice when it comes to Raspberry Pie, I have installed a multiplexer and AIS transponder on our boat in the UK and combined the NMEA 00183, installed an NMEA2000 backbone and a WiFi hotspot using just a domestic router I had spare. Your video has given me the confidence to attempt a Raspberry Pie install in a, new to me, boat in Greece so I can get the AIS and NMEA data on my iPad with Navionics, so I am watching your excellent tutorials from the beginning, your method of explanation is very understandable, interesting and enjoyable. Great work😊!
Thank you so much for your nice feedback! Really appreciate that!
PS: But you need to call it PI not Pie, so that the Raspberry guys do not think they create cakes 😀
Just found your videos on Raspberry on a boat. Excellent! I am currently building a B&B Yachts designed sailboat and have a Raspberry Pi4 that I will be using OpenCPN for navigation. Your video series are providing so much more utility and learning experience. Liked and subscribed
Thank you For your wonderful Explanation
Thanks for sharing this. I've been trying to find something to receive data on Great Lakes ships and track port visits and maybe put that data on a boat traffic web site.
Such a great piece of work - thank you
Very helpful information. It will be even great to list the items you are using and provide link where to find them. Again thank you so much for the awesome work you are doing.
First of all: Thanks!
And yes, you are right, links would help. If I find time I will try to get these affiliate links, so I might also earn a little bit money with my work and helping you to find the tools/equipment I did use.
But - there is always a but - currently I am working on my boat. It is summer time (even if the weather is not feeling like May yet). I barely find time for some TH-cam stuff... but I get some new ideas, currently ;) using a boat is always also the search for better solutions
@@Sir-Real Thank you. That will be awesome and a win-win for all
Very informative!!! Thank you so much!!!
very clear. Gracias¡
Hallo, supercoole Serie von Videos. Habe mir jetzt einen Raspi und dieses Daisy HAT bestellt und steige ein in deine Welt....oje oje :-)
Wofür brauche ich diesen Spannungswandler? Wird der Raspi nicht direkt versorgt?
Bitte um Entschuldigung wenn die Frage blöd ist.
Grüße nach Lübeck
Moin und danke für das Feedback!!! Und vor allem viel Spaß und Erfolg bei deinem Raspberry Einstieg!
Bzgl deiner Frage: Die Raspberry benötigt geregelte 5V (mit bis zu 3A Spitze bei der PI4). Diese 5V möchte sie über USB C bekommen.
Wenn du 230V zur Verfügung hast, kannst du ein vernünftiges USB C Netzteil verwenden, zB das offizielle. Das liefert dann die 5V.
Auf dem Boot kann ich aber keine 230V Versorgung permanent zur Verfügung stellen, sondern nur 12V. Das ganze Bordnetz läuft ja mit 12V, damit es unterwegs über die Batterien versorgt wird.
Der Adapter wandelt 12V in die 5V für die Raspberry. Das ist seine Aufgabe.
@@Sir-Real Klasse, Danke für die ausführliche Antwort.
Hallo SirReal,
ich habe eine kurze Frage. Welche Adapter und Pictails sind noch erforderlich?
Das hängt davon ab, was man machen will. Und was man am Boot für Ausstattung hat - also z.B. hat man einen Antennensplitter und falls ja, welches Kabel ist dabei mit welchem Stecker am Ende? Ich hatte mir z.B. einen Adapter mitbestellt, der passte wunderbar auf die Stummelantenne. Dann habe ich einen Splitter in Betrieb genommen, der benötigte einen anderen Anschluss. Also das kann ich so pauschal nicht sagen. Primär, für AIS, geht es aber nur um die Verbindung zur Antenne.
Did you know how we can transmit ais from a Raspberry Pi? Thanks for the help
Transmission is not so easy. The available extension PCBs to only offer receiving. Even if I don't like to say it: But the easiest and maybe even cheapest way to have a "complete" AIS transmitter is using a low cost AIS transceiver, e.g. the AMEK solutions are a good bargain.
nice topic, and intro to this HAT.
it's remain a big question: when you put this HAT, how to use the other functions like I2C (IMU & MPU9250), GPIO etc?
currently , all my setup GPIO (full functional with optoCoupler to Seatalk), and MPU+IMU is great on ServerK. the must is use this HAT to add AIS :)
The daisy HAT has some additional pins where you can solder pin strips (I recommend 90° strips).
One is the I2C bus. With that you can grab I2C sensors with the HAT mounted.
Hello, Excellent videos.
I intend to try this as a project for myself. Where can I buy the special PCB to convert 12V to 5V providing 3As to run our PI 4?
Thanks!
I did use this module (6-40V input | 5V with 3A max output):
www.berrybase.de/raspberry-pi-co/raspberry-pi/stromversorgung/einbau-industrienetzteilmodule/netzteilmodul-6-40v-5v/3a-mit-2x-usb-ausgang
But there are several modules are existing, some offer more features, e.g. more USB ports.
Hallo, interessantes Projekt. Um was für einen Spannungswandler 12v nach 5v handelt es sich?
Viele Grüße
Hallo Pieter!
Ich habe ein 6-40V auf 5V mit 3A Wandler mit 2 USB Ausgängen genommen von Berrybase ArtikelNr. REG5V3A. Dieser hier:
www.berrybase.de/raspberry-pi-co/raspberry-pi/stromversorgung/einbau-industrienetzteilmodule/netzteilmodul-6-40v-5v/3a-mit-2x-usb-ausgang
@@Sir-Real Hallo SirReal,
vielen Dank und ein schönes neues Jahr. Beste Grüße
Hello great video .. can we multiplex NMEA 2000 instead? cheers
In fact "multiplexing" is a kind of agnostic to the protocol layer. Since I tried Node-RED for "multiplexing" I don't use kplex anymore. In fact I think Node-RED is doing the job much better / more stable and on my boat I use it since then.
This should work with NMEA2000 as well as there is rather a "TCP" layer instead of the application layer which is important for multiplexing. What we get on Raspberry level is NMEA information but not the physical layer anymore.
Thank you for your excellent tutorial!
Can you tell me where I can buy your antenna?
Of course! This is a simple 144/440MHz dual band antenna. I use it only for testing and yes, portable use. On a sailboat the mast antenna is the one to go for, even if a splitter is necessary to have both, radio and AIS.
This is the German amazon link:
www.amazon.de/Stecker-Antenne-Ersatzteil-Antenna-Baofeng-default/dp/B07VRNMN84
You find these antennas all over. Just look for 144/440MHz 70cm and SMA Male.
Hi SirReal! congrats for your channel! very educational. I have a question: I would like to pick the depth sounder info and send it to openplotter. which software should I use? signalK? I2C? many thanks. Paolo
Thanks for your positive feedback!
Regarding your question: usually a depth sounder transducer is offering NMEA2000 or the older NMEA0183. They usually don't use I2C or other protocols.
To get this to your OpenCPN or any other application (e.g. one of the OpenPlotter bundle), there are several ways and it depends what you use.
In my tutorials I would connect the transducer output to my dAISy hat which offers a NMEA wired input. There are other adapters available.
So, I think the question is not about software. If you don't need to multiplex it, the question is rather the input hardware.
@@Sir-Real thanks a lot. as I was thinking to build the same of your tutorial (dAISy), then I will follow your suggestion. Now the very (promise) last question: in case I want to connect to openplotter the radar, what would be the best way of doing it? thanks!
Hi Paolo!
The answer is the same as for the depth sounder. It depends on the radar but they might have a NMEA2000 or NMEA0183 interface. If it has NMEA0183, OpenCPN will support this out of the box. It will understand the NMEA sentence and your might target it to wire it somehow. I mentioned this in my first answer, you need some hardware which can grab NMEA if it is wired. If it is already wireless, it is even easier (please refer to my tutorials).
However, one thing I didn't mention: OpenCPN states in their documentation that OpenCPN DOES NOT support NMEA2000. Not sure if some extension is existing or if they will support it (it is getting more and more) but a conversion might be necessary.
@@Sir-Real thanks a lot! I was just checking how to wire the NMEA 0183 into daisy or Pi. I saw serial2 and I was wondering whether it is possible to connect directly the wire, or I might probably need a NMEA to USB converter. But I understood as well from your tutorial that with RedNode you can translate NMEA2000, correct? Thanks a lot again.