Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Engineering & Systems > Marine Electronics
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-04-2019, 20:17   #1
Registered User
 
lucseawalker's Avatar

Join Date: Dec 2009
Location: Indonesia
Boat: Norman Cross 46
Posts: 333
Arduino & Raspberry Pi cruisers projects?

I am a newbie with Arduino and Raspberry Pie but I believe that these 2 inexpensive technologies can offer great benefits to DIY cruisers ...


The first system I like to build is a multi-bilge alarm so any seawater leak, fresh water or fuel leaking from a tank .. any leak at all in any of our numerous bilges triggers an immediate alarm so we can deal with the situation very early .. before we hear or smell something ...


I searched the web and found several Arduino and Raspberry Pie techies group but I wonder if there is any group focused on useful projects for cruisers already existing online? I like to join such group if I hear about any!
We should all work together on similar projects benefiting from each other inputs


Other than running Open Cpn on teh Raspberry Pie, we can have tank level monitoring, engine monitoring, intruder alarms, energy monitoring and more
__________________
"Condemnation without investigation is the height of ignorance" Albert Einstein
lucseawalker is offline   Reply With Quote
Old 10-04-2019, 20:23   #2
Registered User
 
MartinR's Avatar

Join Date: Feb 2015
Location: Sweden
Boat: 73ŽULDB custom ketch
Posts: 1,069
Re: Arduino & Raspberry Pi cruisers projects?

there are easier ways to to bilge alarms, but it would be a nice project. You could use a 4duino, already integrated with a small touch display.

Energy monitoring would be a great project. I haven't thought of that before. Maybe I will give it a go. I have a son who is good at coding;-)
MartinR is offline   Reply With Quote
Old 10-04-2019, 21:24   #3
Registered User
 
Reefmagnet's Avatar

Join Date: May 2008
Location: puɐןsuǝǝnb 'ʎɐʞɔɐɯ
Boat: Nantucket Island 33
Posts: 4,868
Re: Arduino & Raspberry Pi cruisers projects?

I've got a RPi 3+ setup as a multifunction system including an AIS receiver HAT based on OpenPlotter. If I'd known how well an RPi can be made to work as an MFD, I'd have never bothered fitting a propriety MFD.


And I've got plans to make a touch screen water maker controller "one day" and am very keen to data log my power input and output. Recording info from the current shunt will be easy enough, but reading bluetooth data from the MPPT controllers might be a little challenging.


The attraction of the RPi (for even bilge alarms) is that it is isn't horribly difficult to configure it as a web server for live access to boat data using cheap hardware and existing software.
Reefmagnet is offline   Reply With Quote
Old 10-04-2019, 21:59   #4
Registered User
 
lucseawalker's Avatar

Join Date: Dec 2009
Location: Indonesia
Boat: Norman Cross 46
Posts: 333
Re: Arduino & Raspberry Pi cruisers projects?

You mention easier ways to make bilge alarms ... but do they involved even more electronic circuits to build? I do not want to rely on small batteries as these need constant replacement ... Since I have lots of bilges on our trimaran, either we use lots of small, simple, independent alarms each with buzzer and connection anywhere on the 12vdc system or we do one circuit where all alarms connect to a small board that provide voltage and one big buzzer for all of the compartment with a display that indicate which compartment got the alarm going ...
Any further ideas?



Quote:
Originally Posted by MartinR View Post
there are easier ways to to bilge alarms, but it would be a nice project. You could use a 4duino, already integrated with a small touch display.

Energy monitoring would be a great project. I haven't thought of that before. Maybe I will give it a go. I have a son who is good at coding;-)
__________________
"Condemnation without investigation is the height of ignorance" Albert Einstein
lucseawalker is offline   Reply With Quote
Old 10-04-2019, 22:02   #5
Registered User
 
lucseawalker's Avatar

Join Date: Dec 2009
Location: Indonesia
Boat: Norman Cross 46
Posts: 333
Re: Arduino & Raspberry Pi cruisers projects?

Yes ... perhaps someone has already build a good system ...



[QUOTE= The attraction of the RPi (for even bilge alarms) is that it is isn't horribly difficult to configure it as a web server for live access to boat data using cheap hardware and existing software.[/QUOTE]
__________________
"Condemnation without investigation is the height of ignorance" Albert Einstein
lucseawalker is offline   Reply With Quote
Old 10-04-2019, 22:05   #6
Registered User
 
MartinR's Avatar

Join Date: Feb 2015
Location: Sweden
Boat: 73ŽULDB custom ketch
Posts: 1,069
Re: Arduino & Raspberry Pi cruisers projects?

You just need one float in each bilge and a buzzer centrally located. Wire the floats in parallel. When one float closes the circuit, the buzzer will sound. It needs a lot of cabling, though, but you have to provide electricity to the floats anyhow. you could make a panel with one indicator lamp for each float to help you find the culprit. I can not really see why you need a processor for this.
MartinR is offline   Reply With Quote
Old 10-04-2019, 22:20   #7
Registered User
 
lucseawalker's Avatar

Join Date: Dec 2009
Location: Indonesia
Boat: Norman Cross 46
Posts: 333
Re: Arduino & Raspberry Pi cruisers projects?

You can buy small water sensors for just 2$ using very tiny wires versus more expensive float switches that often fail (in my experience) and require thicker wires. I just counted how many bilges I like an alarm and I get to 24! I know this is extreme but I have 3 hulls (being a trimaran). Instead of 24 alarm lights, a small LCD monitor would do the job with little electric consumption ..
But I agree in advance that electronics are very sensitive to salt water so it might pose problems that way...



Quote:
Originally Posted by MartinR View Post
You just need one float in each bilge and a buzzer centrally located. Wire the floats in parallel. When one float closes the circuit, the buzzer will sound. It needs a lot of cabling, though, but you have to provide electricity to the floats anyhow. you could make a panel with one indicator lamp for each float to help you find the culprit. I can not really see why you need a processor for this.
__________________
"Condemnation without investigation is the height of ignorance" Albert Einstein
lucseawalker is offline   Reply With Quote
Old 10-04-2019, 22:29   #8
Registered User
 
MartinR's Avatar

Join Date: Feb 2015
Location: Sweden
Boat: 73ŽULDB custom ketch
Posts: 1,069
Re: Arduino & Raspberry Pi cruisers projects?

Quote:
Originally Posted by lucseawalker View Post
You can buy small water sensors for just 2$ using very tiny wires versus more expensive float switches that often fail (in my experience) and require thicker wires. I just counted how many bilges I like an alarm and I get to 24! I know this is extreme but I have 3 hulls (being a trimaran). Instead of 24 alarm lights, a small LCD monitor would do the job with little electric consumption ..
But I agree in advance that electronics are very sensitive to salt water so it might pose problems that way...
Yes, that is a good option.
MartinR is offline   Reply With Quote
Old 11-04-2019, 01:34   #9
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Arduino & Raspberry Pi cruisers projects?

Quote:
Originally Posted by lucseawalker View Post

I searched the web and found several Arduino and Raspberry Pie techies group but I wonder if there is any group focused on useful projects for cruisers already existing online? I like to join such group if I hear about any!
We should all work together on similar projects benefiting from each other inputs


Other than running Open Cpn on teh Raspberry Pie, we can have tank level monitoring, engine monitoring, intruder alarms, energy monitoring and more
Have you had a look at Openplotter?
Home | Sailoog
OpenMarine

Bit of discussion about arduino/esp on there. Lots of options to integrate data into the Pi on openplotter, or more the latest signalk which is preloaded. I've largely given up with arduinos these days, esp8266/esp32 have built in wifi & more memory/faster cpu so use those to send data direct to signalk over wifi. Just ordered some PCBs to make all this easier from jlcpcb, if this actually works it will allow for 8 voltmeter inputs or 4 differential inputs, 2 x ammeters up to 3.2A, barometer plus 2 transistor switches and 6 inputs which are capacitive touch so might be able to be used as bilge water monitors. Once the data is in signalk it's easy to record everything to a database or view it online on a web site.

Openplotter is close to plug and play though esp8266/32 needs a bit of sleeves up programming but this can be done on the same arduino ide so not any different to programming arduinos with a few different libraries. Then send the data as signalk straight into the Pi over wifi.



conachair is offline   Reply With Quote
Old 11-04-2019, 07:35   #10
Registered User
 
CaptTom's Avatar

Join Date: Apr 2004
Location: Southern Maine
Boat: Prairie 36 Coastal Cruiser
Posts: 3,252
Re: Arduino & Raspberry Pi cruisers projects?

To me the tipping point would be a reliable NMEA 2000 interface to OpenPlotter. I know there is (was?) a project to hijack a CANbus adapter and hack out the proprietary N2k data, but I'm not sure how far along that is.

The second hurtle would be a water-resistant, touch-screen, sunlight-readable monitor. By the time you price those out, the proprietary dedicated MFDs start to look reasonable.
CaptTom is offline   Reply With Quote
Old 11-04-2019, 07:42   #11
Registered User
 
MartinR's Avatar

Join Date: Feb 2015
Location: Sweden
Boat: 73ŽULDB custom ketch
Posts: 1,069
Re: Arduino & Raspberry Pi cruisers projects?

Quote:
Originally Posted by CaptTom View Post
To me the tipping point would be a reliable NMEA 2000 interface to OpenPlotter. I know there is (was?) a project to hijack a CANbus adapter and hack out the proprietary N2k data, but I'm not sure how far along that is.
The CANbus adapter works great!
MartinR is offline   Reply With Quote
Old 11-04-2019, 08:09   #12
Registered User

Join Date: Apr 2019
Posts: 11
Re: Arduino & Raspberry Pi cruisers projects?

I haven't tried it yet, but from what I've seen there are a couple. I purchased the ShipModul 1135 MiniPlex-3USB-N2K, which is supposed to be compatible with OpenPlotter.

we'll see!
sjgharib is offline   Reply With Quote
Old 11-04-2019, 08:13   #13
Registered User

Join Date: Apr 2019
Posts: 11
Re: Arduino & Raspberry Pi cruisers projects?

The other thing I was looking for are the sensors - is there a 9 axis open source equivalent? Or I guess you can buy a commercial one and then the data is just coming over NMEA2000?
also - What are folks using for a ruggedized monitor?
sjgharib is offline   Reply With Quote
Old 11-04-2019, 08:14   #14
Registered User
 
MartinR's Avatar

Join Date: Feb 2015
Location: Sweden
Boat: 73ŽULDB custom ketch
Posts: 1,069
Re: Arduino & Raspberry Pi cruisers projects?

Quote:
Originally Posted by sjgharib View Post
I haven't tried it yet, but from what I've seen there are a couple. I purchased the ShipModul 1135 MiniPlex-3USB-N2K, which is supposed to be compatible with OpenPlotter.

we'll see!
Sailoog sells this, cheap and working well:

https://shop.sailoog.com/converters/...usb-stick.html
MartinR is offline   Reply With Quote
Old 11-04-2019, 08:15   #15
Registered User
 
MartinR's Avatar

Join Date: Feb 2015
Location: Sweden
Boat: 73ŽULDB custom ketch
Posts: 1,069
Re: Arduino & Raspberry Pi cruisers projects?

Quote:
Originally Posted by sjgharib View Post
The other thing I was looking for are the sensors - is there a 9 axis open source equivalent? Or I guess you can buy a commercial one and then the data is just coming over NMEA2000?
also - What are folks using for a ruggedized monitor?
Moitessier HAT has the sensors. Also possible to buy just a sensor chip, they are cheap.
MartinR is offline   Reply With Quote
Reply

Tags
cruise, cruiser, project


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arduino based Alternator Regulator Project wayne.b Electrical: Batteries, Generators & Solar 11 11-03-2021 10:16
Arduino ESP8266 stream wifi Capt.Don OpenCPN 20 27-12-2019 14:19
Arduino software for navigation/boats vtomanov Navigation 2 11-09-2016 11:43
A DIY barograph based on an Arduino shield PauloOnArbutus Marine Electronics 5 23-01-2016 04:58
Salt Sailing & DIY Interior Projects are doing a New Years Giveaway :) SSG2015 Multihull Sailboats 1 21-12-2015 05:52

Advertise Here


All times are GMT -7. The time now is 19:49.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.