DIY Boat Automation, Monitoring, and Alarm Project
Dude_Himself
Member Posts: 596 ✭✭✭
I've always believed there is big money in aftermarket automation for vehicles. I've rewired portions of every vehicle I've owned to add pulsing brake lights, remote start, auto up windows, turn signal cancellation, cameras, etc. If you started with a few popular models and had an easy, nearly plug-n-play harness (think of something that piggybacks on the fuse blocks and switch connectors) you could easily turn any car into a more user-friendly auto.
Just my thoughts as I start planning a partial automation system for my Rinker. Right now that includes an rPi, wifi, and various sensors to allow:
The great thing is these systems sell for thousands, but with under $250 and a weekend I can build out 90% of the capabilities, and given another weekend I can even make it pretty and more robust.
This is a placeholder - the build will hopefully start once the boat is ready for the season.
Just my thoughts as I start planning a partial automation system for my Rinker. Right now that includes an rPi, wifi, and various sensors to allow:
- remote monitoring of battery voltage, GPS location, bilge pump status, and motion/perimeter/door sensor
- streaming media for both wireless devices and the cabin TV's
- streaming music for the TV's and radios, including casting from mobile devices
- auto blower/starting of the genny when anchored out to maintain battery voltage
- long-range wifi acquisition and rebroadcasting, with a 4G/LTE failover capability
- an alarm for dragging anchors, combustible gasses, water in the bilge, warming fridge, CO/CO2, low potable water, high blackwater, etc. with a simple dashboard (so the wife is less concerned about being left on anchor while I paddle off).
The great thing is these systems sell for thousands, but with under $250 and a weekend I can build out 90% of the capabilities, and given another weekend I can even make it pretty and more robust.
This is a placeholder - the build will hopefully start once the boat is ready for the season.
Comments
A raspberry Pi will act as the brains of the network, so it'll run Linux with network services to include: DHCP, DNS, File Sharing (Multimedia streaming), and it'll likely run the cockpit TV, with a second ChromeCast dongle on it. That knocks out 2, 3, and 5, and paves the way for remote connectivity.
1, 4, and 6 will be utilized either by GPIO on the rPi, or with an aftermarket I/O module of some sort. Little chinese things cost $12 shipped and give you some 32 addressable input/output, so each would be either a sensor channel or a relay control. Then you add a few circuits in parallel to other switches, and all you have left to do is script your automation. HomeAssistant makes that super easy, and even gives you a pretty, easily customizable WebUI, so once you're done you navigate to a website and see the status of your boat from anywhere. GPS coordinates, drift, bilge counter, battery voltage, etc!
Regards,
Ian
The Third “B”
Secretary, Ravena Coeymans Yacht Club
https://www.rcyachtclub.com/
2002 FV 342 on Lake St. Clair - Past Commodore SHC - Vessel Examiner USCGAUX
1) Do what existing commercial products do, but better and at a fraction of the price. For example, most commercial monitoring systems include a bilge monitor. But if I could do it without spending $1000 plus monthly fees? Yes please.
2) Come up with brand-new applications that don't yet exist in the market. There are so many cool components and sensors out there ... N2K gateways, cameras, ultrasonic distance sensors, inertial measurement units, relays, stepper motors ... the possibilities are endless. The hardest part is coming up with the idea.
A video camera costs $20. A 3.5" touchscreen display, $45.
Regards,
Ian
The Third “B”
Secretary, Ravena Coeymans Yacht Club
https://www.rcyachtclub.com/
For most people, when you die!
Dream 'Inn III -- 2008 400 Express
Good luck @Dude_Himself with your project.
2002 FV 342 on Lake St. Clair - Past Commodore SHC - Vessel Examiner USCGAUX
I think the project is very cool. I have a few Raspberry PIs around the house. But not for anything as ambitious. One is my arcade, another is a media server, another is the music player for my pirate radio station, then of course I have the tester.
I haven't considered being "that" connected to the boat. It lives in the back yard when the water is soft. I am considering adding a presence sensor to the boat so the smart home hub will know when it's home. Then I can have the back yard light come on when we come home at night, and have the back door unlock any time we come home.
Maybe when I completely run out of things to tinker with I'll give something like this a look. It would be neat to have a PI driven console down below with these features.
There are a few jillion things I'd like to catch up on in the mean time like my ham radio hobby which has been horribly neglected since I started boating. Or putting up a marine VHF antenna on the house so I can reach the admiral when she's out on the little boat, etc, etc, etc..
2002 FV 342 on Lake St. Clair - Past Commodore SHC - Vessel Examiner USCGAUX
With physical access anything is easy to compromise, but this won't be able to access critical systems on the boat - that would be dangerous.
The N2K to IP adapters exist, and there's a few big brains out there working with that, but because they're "marine" technology you pay 10x the cost. I would build most of this out using regular IT protocols, but that wouldn't stop someone from adding that NMEA gateway and having it speak to the chartplotter, etc.
And that might be a bad example: my Simrad GO5 XSE has wifi built in, and when there's a wifi network any Android/iOS device can see/interact* with the display wirelessly anywhere on the boat.
*that's what I've read, but I've never played with it because on a 280 every part of the boat is 5 steps away.
With physical access anything is easy to compromise, but this won't be able to access critical systems on the boat - that would be dangerous.
The N2K to IP adapters exist, and there's a few big brains out there working with that, but because they're "marine" technology you pay 10x the cost. I would build most of this out using regular IT protocols, but that wouldn't stop someone from adding that NMEA gateway and having it speak to the chartplotter, etc.
And that might be a bad example: my Simrad GO5 XSE has wifi built in, and when there's a wifi network any Android/iOS device can see/interact* with the display wirelessly anywhere on the boat.
*that's what I've read, but I've never played with it because on a 280 every part of the boat is 5 steps away.
My main motivation for this is the boat is huge and lives on the trailer, and the local ramps are getting worse and worse from overcrowding. It's frustrating - as a single hander I get cut out of the trailer line, the boat takes up a whole ramp/dock, and folks give me nasty looks when I'm running back and forth to recover (splashing is quick and painless).
We want to splash the boat Thursday afternoon, then anchor it out for the weekend, but we don't want the same thing to happen to the boat as our crab traps: assholes using them as their own and us left cleaning up the mess. Pay $150 on quality traps, licenses, and bait, then find the trap empty, without bait, 200 yards from where you left it....
So I want a way to monitor the boat so if something happens I can respond before there's damage/loss. Of course, with IoT it's in for a penny, in for a pound: adding additional services is as easy as running:
So, once the basics: GPS, camera, door sensor, battery voltmeter, and bilge counter/water alarm are met, I'll add onto it remotely from home when I find some free time.
As @skennelly said I'll probably build a fraction of this before life overcomes, but posting here might keep me honest and motivate me to see it through instead of crashing in front of the latest Netflix series.
2002 FV 342 on Lake St. Clair - Past Commodore SHC - Vessel Examiner USCGAUX
2002 FV 342 on Lake St. Clair - Past Commodore SHC - Vessel Examiner USCGAUX
Last season I designed a solar installation that would keep the batteries topped and disconnect them if they discharge more than 50%, but I ended up spending the money on EoH brakes, which are sitting in my garage still because the PO botched the brake controller wiring job and I need to spend a weekend re-wiring the full trailer lights harness on the E350.
If I had a monitor it would have paid for itself already.
Regards,
Ian
The Third “B”
Secretary, Ravena Coeymans Yacht Club
https://www.rcyachtclub.com/
Ironically this is a very similar event to the Fitzgerald collision near Japan: the crew was understaffed and those present for the night shift lacked basic seamanship - the ship was relying heavily on their high-tech combat center to supplement manpower. Those very automation systems were also degraded: the radar (SPS-67) was degraded, and required manual process to "hook" radar contacts to display on the AIS display with location and projected paths. That radar also required manual tuning, but that was inop at the time as well - so flocks of birds and other surface clutter would whitewash the display and prevent hooking real contacts. The SPS-73, the standby navigational radar, was inop: it would sometimes show the ship heading 180° away from, instead of towards, the navigational waypoints. The antenna was at the end of it's life and frequently shut down. The ship's targeting radar (critical as the Fitz is a Destroyer) had been patched together and operated at 1/12th the normal speed. The note in the log read "Problem known since 2012. Declared hopeless".
The email system was failed - the crew was using gmail accounts to communicate between critical areas of the ship. The thermal camera used by the weapons specialist to help navigate in congested waters was unmanned - Combs was on a bathroom break (unheard of while standing watch). When suddenly the SPS-67 (still in long-distance mode due to the broken tuning) went white (because the ACX Crystal was literally towering over them at this point) they spun the camera and all they could see was the ship - it filled the entire field of view. It was impossible to tell which way it was travelling or how long before impact - the crew had to leave the bridge to put eyes on targets.
There were supposed to be two lookouts - port and starboard - but the Navy cutbacks combined those duties to a single crew that would walk back and forth to stand watch. Parker, the lookout, was on a small metal deck off the bridge getting training in estimated distance and bearing - a weakness that prevented her from getting promoted on her previous ship.
Once they recognized the dangers, the helmsman-in-training (she had 25 whole minutes of experience behind the wheel) didn't know how to act on the commanding officer's orders to go "all ahead flank, hard left rudder". It took several moments for another Petty Officer to take notice and relieve her. The ships collided, and the damage knocked out the ships electronics, the starboard engine shaft, and flooded many compartments. The remaining engine had to be operated by hand, the steering done manually from aft steering (manually running the hydraulic valves to control the rudder's position), and the ship had to be dewatered manually using a bucket line.
There's actually a really great article on ProPublica: https://features.propublica.org/navy-accidents/uss-fitzgerald-destroyer-crash-crystal/ - highly recommended reading.