Тёмный

Building an Open Source Boat with Raspberry Pi & NMEA 2000 - Part IV | OpenPlotter, Signal K, KIP 

The Florida Captain
Подписаться 2,4 тыс.
Просмотров 33 тыс.
50% 1

Partial Parts List:
SunFounder PiPower Raspberry Pi UPS Power Supply
amzn.to/3XzGwpT
TICONN Waterproof Electrical Junction Box IP67 ABS Plastic Enclosure with Hinged Cover with Mounting Plate, Wall Brackets, Cable Glands (Clear, 8.7"x6.7"x4.3")
amzn.to/3Zj0RBc
USB 7 Port Hub - Powered USB 3.0 Hub - Aluminum USB Hub -USB Splitter Hub 12V 3A 36W Power Adapter
amzn.to/3XyRzzQ

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 92   
@DeadlyDragon_
@DeadlyDragon_ 2 месяца назад
A quick tip from a network engineer. Document every single connection in visio or an equivalent software. Print that out and laminate it. Document all your IP addresses you use and be sure everything is statically assigned. Make sure you have redundancy factored in. Don't just build 1 SD card build 2 so you have a backup in case the primary fails. label both ends of every cable so you know where it is going to / where it is coming from. These small things will save you immense headaches in the future.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Great idea! Thank you!
@CaymanIslandsCatWalks
@CaymanIslandsCatWalks 2 месяца назад
Multiple redundancies is ideal.
@DeadlyDragon_
@DeadlyDragon_ 2 месяца назад
@@CaymanIslandsCatWalks 100% especially when it comes to being out on the water. My parents are retired coast guard and I myself was a network engineer as a contractor for the USCG for a few years. Redundancy is critical to your safety :)
@CaymanIslandsCatWalks
@CaymanIslandsCatWalks 2 месяца назад
@@DeadlyDragon_ I wrote my comment before he said that he not even near a boat yet. Solid tips from you!
@SAgaming19
@SAgaming19 Месяц назад
Use the Pi5 with NVMe drive. I put a TB system together. Your choke point is the SD card. Electrical engineer here. And have this system running on my boat. Also, find VNC very slow. Good for updating the settings. I run HDMI over ethernet directly to the Pi from the helm with touch. 15" sunlight readable and waterproof screen.
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
As an engineer how would you do the box? Sealed and no fans or the way I did it?
@macgyver5108
@macgyver5108 Месяц назад
@@TheFloridaCaptain HEAT is the enemy of Pi's since the Pi 3. They get hot in a hurry and the CPU throttles it's top speed to cope, probably why you were crashing a lot? I've tried all sorts of bigger heatsinks so I can run faster than stock CPU clock speeds. I'd say the least painful route to get around being inside a sealed box is if you water-cooled the Pi with a small external radiator. There's several RU-vid videos that show how. The big problem I'd imagine is the Pi hat probably blocks off most easy access to the CPU to use bigger heatsinks or even run some heat pipes from the CPU outside the box to an external heatsink? If you modeled the design off of passive cooled PC towers you could put the whole thing in an aluminum box and run a copper tube from the CPU to the aluminum box, using it as a big heatsink. Just need CPU thermal grease or pads making good contact on each end of the tube. Could solder on little flat copper sheeting pads on at least the CPU side.
@nerv4316
@nerv4316 Месяц назад
That will be a long time project. Nice work!
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
It will!
@dougle03
@dougle03 21 день назад
Little tip on your small DC bus bars. Mount them so their terminals are facing each other. This way when you want to connect a device you don't need to strip so much insulation back to span across the terminals. You can also put in a re-sealable zip tie in the middle towards the bottom to hold the growing number of wires in place. It'll take up less room and will look neater...
@TheFloridaCaptain
@TheFloridaCaptain 21 день назад
Help me understand. Vertical bus bars require less stripping of insulation how?
@dougle03
@dougle03 21 день назад
@@TheFloridaCaptain So they don't need to be vertical, but the open terminals need to face each other. this way the pos and neg can be inserted within a inch of each other...
@Andysanche
@Andysanche 2 месяца назад
One little tip on the newer Pi's from my experience using them as embedded monitoring systems, load your OS onto a really good usb3.x stick (or even better a proper nvme/pci drive) as opposed to an sd. I have had an almost 100% failure on PI's using sd cards (from all different manufactures and quality levels) when putting them into a real production environment. most if not all SD cards just are not designed for the constant read and write cycles that a main hard drive on a pc experiences. I know you had mentioned you were likely going to be using a different PC on the final system but might help a little with some of the headaches.
@Shaarawi32
@Shaarawi32 2 месяца назад
I've been binge watching the series and that was the first thing that caught my eye. I'd go as far as to say skip usb/nvme and go with sata ssd. You'll hit a bottleneck with nvme drives. But any of those options will be better than sticking with the sd card
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I appreciate these comments. I'm obviously in an ideal environment (house, with AC, etc). This will be in a pilothouse 50-60 ft boat. While it won't get wet, the rest of the environment will be hard on the electronics. So how does a SATA SSD connect to the Pi?
@AlexTacescu
@AlexTacescu 2 месяца назад
With a Pi 5, I would go for an nvme sad simply to reduce the requirement of a USB port. They make some super sleek nvme drives that attach to the bottom of the pi and avoiding much added thickness
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Very interesting, thanks for sharing!
@HXF-pv1ni
@HXF-pv1ni 2 месяца назад
To my knowledge there are some enterprise SD cards which can take this amount of data being constantly transferred, but they are more expensive (~1,80€ per GB) and not avialable such a high capacity. So, if doable, an SSD is often the smarter choice.
@billlindner
@billlindner 2 месяца назад
You may want to run your box cooling fans on a relay using a bme280 (temp, press, humidity) and node red software to minimize power consumption. Since the bme280 is i2c, you could also monitor the box temp in KIP.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Great idea. I have a bme280 laying around too.
@svcyclops
@svcyclops 2 месяца назад
Very cool. Congrats. Sometimes playing with boat stuff is more fun than boating
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Ha, I know the feeling. I like both (boating with projects) so long as its not unexpectedly upside down in an engine room underway!
@L0wPressure
@L0wPressure 2 месяца назад
Oh, man, that's such a joy to see that you can do such things yourself and on a limited budget nowadays :)
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
It sure is! Thanks for the comment.
@davethemmp
@davethemmp 2 месяца назад
Great video, love the board, I used to do this at work, I am an industrial electrician, I used to build panels with AC drives PLC’s and computers controlling industrial manufacturing machines, same process as yours then move to an enclosure when fully functional Looks like we are on the same wave length with our projects I now monitor pi cpu temp to determine box cooling keep up the great videos I’m learning from you 😂
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Thanks for sharing!
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Although, I do wonder if I could do this with heat shrinks and no fans and thus, a truly sealed box
@DeadlyDragon_
@DeadlyDragon_ 2 месяца назад
@@TheFloridaCaptain the Pis are low heat but depending on the application running on them they could require some cooling.
@Lagittaja
@Lagittaja Месяц назад
@TheFloridaCaptain With a sealed enclosure, technically adding a heatsink to the Pi will accelerate how fast the inside air of the enclosure heats up. Without a heatsink, the heat moves to the surrounding air inefficiently (air is a poor conductor of heat) and the heat will inefficiently move from the air, thru the enclosure inefficiently (plastics are almost as poor conductors of heat) to the outside air. Eventually the air temp inside the enclosure will reach an equilibrium as the air can only move a certain amount of heat and the enclosure can only dissipate a certain amount of heat in a given amount of time. If you add a heatsink to the Pi, you will increase the surface area the heat source has. Sure, the Pi's temperature will momentarily drop as the heatsink sinks the heat from the Pi to itself. But eventually the heatsink will have sunk as much heat as it can and the Pi's temperature will increase. Because you increase the surface area of the heat source, it can move it's heat to the surrounding air faster. If you have a fan on the heatsink, you will further increase the transfer rate of heat to the surrounding air. Air thermal conductivity ~0.025W/m*k ABS (enclosure material) ~0.130W/m*k Acrylic (presumably lid material) ~0.170W/m*k Aluminium 237W/m*k Steel ~45W/m*k Stainless (316) ~16W/m*k Then there's obviously the thickness of the material to consider to get a true idea of heat transfer but the above is just for reference. Feel free to geek out with formulas and calculations if you want. But what I'm thinking is.. With just the Pi, you're dealing with only a few funny little watts of heat. That's pretty insignificant. Place the heat producing components to the bottom of the enclosure so you utilize the natural convection currents to mix the air inside the enclosure. By the air mixing, you probably increase the heat flow from the inside of the enclosure to the outside. This way, the air isn't stagnant and just sit against the sides of the enclosure doing nothing. Warmer air at the top transfers it's heat to the enclosure and the enclosure to the outside air. The air get's a little colder and eventually sinks to the bottom. Not a very efficient process but it will move some heat. But the effect is very minor. Sure, hot air rises but even a wimpy fan will easily overpower the convection current. So the next step on the path of escalation is to add a fan blowing upwards to force the air to move and mix and help increase the heat transfer. Maybe place it on the inside edge of the enclosure. So it kind of creates a spin in the air.. If that is not enough, change the material of the enclosure to metal. And if we're being pedantic, the paint on steel enclosures surface will limit the transfer of heat (conductivity etc.) but the layer is thin and like I said above, you need to consider the thickness as well as the conductivity. The next step after that is to mount a heatsink to the inside surface of the metal enclosure and have a fan blow on it. Preferably with thermal paste or thermal glue/epoxy under the heatsink. Or a phase change thermal pad if you're fancy (Honeywell PTM7950). You might also look into conformal coating or maybe even encapsulating your electronics. To start you can search for "electrolube conformal coatings vs encapsulation". Or "parylene Best Conformal Coating for Moisture and Chemical Protection". Even if you have a sealed enclosure, conformal coating the boards probably doesn't hurt. Just make sure you've plugged in everything you intend to plug in before coating. Regarding fans, purchase high quality fans. Noctua is a popular choice. And if you end up with a bigger enclosure, their IndustrialPPC lineup (120mm/140mm) have fans with IP52 or IP67 rating. But all Noctua fans have a 6 year warranty. And their regular lineup has the same quality bearing as the industrial lineup. So if you don't need the IP rating or you need a smaller fan (40/60/80/92mm), look at the regular lineup. Maybe contact them and ask what they think about your use case. They have an awesome customer support. (perhaps even hint about this project, might get a care package) If noise is an issue, don't look at the voltage. At some point you replaced a 12V fan with a 5V one. Just because the voltage is lower doesn't mean it's any quieter. I would advise you to look in to PWM control (with a PWM fan) to adjust the speed. Or just lower the voltage of the fan to reduce the speed. There are potentiometer fan controllers around or you could just add a resistor in series with the fan to reduce the speed. You can calculate the value of the resistor with online calculators or just try what works. For example a 12V fan that draws 0.2A and you want to it to only spin at 7V, something in the neighbourhood of 40-45ohms should get you there. If you can't make it (PWM control) happen with the Pi, look for a small control board to do that. Search for something like "dc 12v pwm fan temperature control". I have a little control board like that, which cost 2€, in my AV cabinet controlling a 12V computer fan acting as an exhaust. Annoying board to configure with it's single button interface and the manual is really not helpful but in the end it was worth it. Other variants of the board do have dip switches though if you prefer that. Or you could buy a fan that already has temperature control. For example the TC lineup from Artic, the smallest fan is 80mm. Around 500rpm until 32*C and ramps to 2000rpm at 38*C so pretty aggressive curve but you don't need to configure anything. They have a long 6 year warranty as well.
@Jessassin
@Jessassin 2 месяца назад
This is a really cool project! Excited to see where you take it. As someone else pointed out, the SD card on your pi is the single most likely thing to fail. I would strongly recommend you use an SSD instead of an SD card if you can help it. If you must use an SD card, invest in a "high endurance" card. Several brands make them - most will be branded as "high endurance", "industrial", or "edge". Still, an SSD is definitely the way to go IMO. Edit: I believe the pi 5 has a dedicated PCIE interface, that you can use to directly attach a PCIE (NVME) SSD. If this were my project, I would do exactly this.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I think this is a good idea (and also moving to Pi 5).
@nicklasgrahn
@nicklasgrahn 2 месяца назад
So cool video-series. I have a boat whit two old ad41b. I wold love to have engine data in digital chape. And fuel consumption. But I heard it's difficult whit diesel. Thanks for sharing. And yes I start following you 👍
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I’m working on buying a 20 year old twin diesel Pilothouse. So someday, I’m probably dealing with your exact situation. Stay tuned!
@jaiume
@jaiume 2 месяца назад
I do a lot of network installations on island homes where there is a lot of sea blast, so similar environment to a boat. If you can get away with not bringing outside air into your enclosures for cooling, it would be better to run things a bit hotter that bringing that salty air into your enclosure. I have a lot of PoE network switches in sealed enclosures, and they run pretty hot because of the lack of external cooling, but I have found that actually is still better than bringing in external air. Even though you are exhausting air, it will still be sucking in air from somewhere. If you do need some active cooling of the enclosure, it might be better to move air around the inside of enclosure and move some of the air past a heatsink that is coupled to the outside, but doesn't let any air in.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I think about the fans and holes a lot. I’ll likely experiment with heat sinks before an actual install.
@thingsmymacdoes
@thingsmymacdoes 2 месяца назад
@@TheFloridaCaptain I agree with all the above. Micro Sd cards fail way too often for this application. Don't use ventilators to avoid water ingress. Try the biggest heatsink you can get instead. Think about how you bring cables into your boxes. Never from the top and always use cable glands. Think about a robust power supply. On the barges I work on we use 12 Volt DC screens and 12V DC Windows pc's for the software. I'm not sure what the Raspberry Pi is doing there to be honest. Convert a small windows pc to linux and add a IO card and you can drop the RPI altogether. It's the weak link in your system. Just my 3 cents.
@Maaniic
@Maaniic 2 месяца назад
Running VNC probably also consumes alot of resources from the PI, better connect directly to a monitor and if this is going run over the network in production run it headless(no ui/displayserver installed) and if possible a webui on another PC (prob need to configure alot over SSH if you can do that).
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Good idea!
@gjheydon
@gjheydon 2 месяца назад
I would not use x on a raspberry pi. I would run on things you can run on a web browser. If there are things you need to run in a gui then run it on a windows or a Linux desktop.
@thingsmymacdoes
@thingsmymacdoes 2 месяца назад
Since you talked about engine sensors and gauges. The boat you will eventually get will very likely have sensors and engine control panels already installed. If you want that data somewhere else you will need dedicated sensors for that on the engine side. You cant piggyback of the existing ones or your data will be off. Analog to Digital conversion can be done in software or with a dedicated Analog to Digital card. Both instances will need calibrating. Temps and pressures are best done by comparing values with gauges you screw into the engine block and in the cooling system. The old fashioned ones with a needle. Whats more importantt than extreme precision is to get good baseline values for all measurements and to plot those together with the actual values. Pro Tip : get a pressure sensor and install it right after the seawater intake pump. On the pressure side. It will warn you of about a lack of cooling well before the engine overheats.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Great advice and I appreciate you taking the time. I know I’ll have to adapt to the engines I get. I like the idea of having additional digital sensors in locations where sensors aren’t now. Just need the boat!
@thingsmymacdoes
@thingsmymacdoes 2 месяца назад
@@TheFloridaCaptain If you like sensordata I can suggest high and low level sensors for fuel tanks and coolant expansion tank. Both are mandatory in commercial shipping. Low fuel is obvious and high fuel against overfilling. Low coolant can indicate leaks and high coolant can indicate overheating.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I’m probably going to pick your brain soon! I’ll look up sensordata
@thingsmymacdoes
@thingsmymacdoes 2 месяца назад
@@TheFloridaCaptain sure thing
@georgef7754
@georgef7754 2 месяца назад
Do you have 4.7k pullup resistors on the ds18b20 temp sensors? If not you will see junk data.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I did not. I’ll check this out.
@JohnBraman413
@JohnBraman413 5 дней назад
i've been thinking of trying to use an intel nuc for setting up the open source software plotter system. the lil intel nucs are low powered and can be wired 12v connection for power.
@TheFloridaCaptain
@TheFloridaCaptain 4 дня назад
I have a Nuc for the windows computer and that’s a great idea.
@ChrisS-oo6fl
@ChrisS-oo6fl 2 месяца назад
Agin just use Honme assistant as the core to control and monitor all the systems. Reinventing the wheel but doing it worse . Most other open sourced tools you need can be integrated easily enough.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I’m going to look at Home Assistant next so expect a video. But, I do think I need SignalK (though I could be wrong!)
@Miguemely101
@Miguemely101 2 месяца назад
I mean... Home Assistant is great and all... but I feel like something more dedicated to Marine-ish applications would be better fitting (eliminate variables, latency, etc when it comes to processing real-time data)
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I’m thinking about HA for non critical systems. House lights etc. future vid!
@PtJudeRI
@PtJudeRI Месяц назад
@@TheFloridaCaptain HA with Zigbee sensors has been great on my boat this season. Agreed- non critical its a great tool. Im using BBN as a secondary system backing up my Furuno system.
@moimeme3468
@moimeme3468 Месяц назад
Hi, do you have a list somewhere with what you use and where you bought it? like the waterproof boxes, and especially the pi power . thanks a lot
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
I need to do better about links to my build lists. In the meantime, here's the two you requested! SunFounder PiPower Raspberry Pi UPS Power Supply amzn.to/4fTClg2 TICONN Waterproof Electrical Junction Box IP67 ABS Plastic Enclosure with Hinged Cover with Mounting Plate, Wall Brackets, Cable Glands (Clear, 8.7"x6.7"x4.3") amzn.to/4dQcGmi
@sidneyking11
@sidneyking11 2 месяца назад
Tip: Sdcard have a slow read write performance that could be the cause of it crashing. You might want to consider using a ssd drive instead. You can get a 512gb ssd cheaply these days. Also Sdcard tends to go bad easily.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Thanks for the advice
@ChrisS-oo6fl
@ChrisS-oo6fl 2 месяца назад
Ya and a small PC or thin server rather then the PI. Better, cheaper, $40 and customizable. There’s zero need for the IO in this project of done right.
@ScooterBean
@ScooterBean 2 месяца назад
If I were you. Id pivot from the Rpi and use an x86 board that has gpio. Like the Latte Panda for instance. Which also already has a fan is going to solve many of the issues your are facing and will continue to face with the rpi. Like CPU performance, overheating, storage issues, etc.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I might do this. Let’s see how it goes with a Pi 5 too.
@trevsweb
@trevsweb Месяц назад
dunno if home assistant works with these systems. as it would help with notifications/automations and camera setup
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
I’m looking at Home Assistant soon!
@seebradrun
@seebradrun 2 месяца назад
Cool!
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Thanks!
@dvires4368
@dvires4368 2 месяца назад
You should have used an actual rugged computer. Onlogic is a leader in this world.
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
I might one day. Part of the experiment was seeing how low I could keep the cost. No doubt I’ll have some failures (on land) and improve some things.
@respekt995
@respekt995 Месяц назад
I second that you should not use sd card in a pi, either use an usb 3.0 connected usb drive or even better use an ssd, in the pro setup i would invest in an nvme. Believe me, i have burned 7 sd cards and 2 flash usb stick.
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
I’m convinced! Pi5 with SSD coming soon to video!
@JustisSaayman-y8y
@JustisSaayman-y8y Месяц назад
Would you really trust a rasp-pi to do this?
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
With an analog backup, maybe. I’ll have working analog garages on the engines. I’ll have a compass, etc. The reason this is on a board in my house is for stress testing. Lots of cruisers and sailors are going this path.
@JustisSaayman-y8y
@JustisSaayman-y8y Месяц назад
@@TheFloridaCaptain Good on you man, its just a scary thing when you think how basic systems on SOC's fail and in non-life/death situations. If you have a backup, awesome!
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
A huge part of this for me is learning. I WANT to know how something fundamentally works even if I choose a black box system (Simrad etc). Thanks for sharing!
@ScottLetts-q4f
@ScottLetts-q4f 2 месяца назад
I don’t think the whaler needs this lol😮
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
No, the Whaler needs a worthy mothership!
@ScottLetts-q4f
@ScottLetts-q4f 2 месяца назад
@@TheFloridaCaptain That’s is very true make her proud
@Miguemely101
@Miguemely101 2 месяца назад
Not sure how I came across this video (probably doesn't help that I'm friends with @DeadlyDragon_) but as a fellow Floridian who does IT for a living, I love this project. I've always had fun with OpenCPN and a cellular modem when on friends boats. Also, I'm jealous of your test board with all the NEMA connections and all the labeling. Keeps making me want a boat...
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
It’s fun for sure!
@Cerv3ra
@Cerv3ra 2 месяца назад
Are you doing fuzz testing?
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
As in testing for police nearby? ;). Tell me more!
@alexd7466
@alexd7466 2 месяца назад
everything wireless would be so much easier...
@TheFloridaCaptain
@TheFloridaCaptain 2 месяца назад
Easier yes and there may be times when I’ll go that route but I prefer the reliability of a hard line.
@jort93z
@jort93z Месяц назад
Very cool. I have most of the stuff i need for this, just missing the boat.
@TheFloridaCaptain
@TheFloridaCaptain Месяц назад
I’m missing the boat for this project! But it’s coming soon I hope!
Далее
КОГДА НАКРОШИЛ НА ПОЛ #shorts
00:19
Mcdonalds cups and ball trick 🤯🥤 #shorts
00:25
Просмотров 150 тыс.
The EASIEST Way to Get OpenCPN AIS & NMEA Data
14:32
Просмотров 32 тыс.
Pi 5 Navigation Build II
7:35
Просмотров 5 тыс.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Просмотров 2,1 млн
The Open Source Yacht - Free Internet - Part I
23:46
Просмотров 4,1 тыс.
The Petabyte Pi Project
22:27
Просмотров 2,2 млн
Openplotter instruction video for Raspberry Pi
16:05
Просмотров 82 тыс.