Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
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 02-11-2023, 09:22   #1
Registered User

Join Date: Aug 2017
Location: Cape Breton, NS, Canada
Boat: Cape Islander - tour boat
Posts: 65
Question Saltwater Arduino Water Temp sensor

Hello all,
I am looking at getting a relatively cheap saltwater capable water temp sensor to feed into my Ardunio, that feeds OpenCPN, currently heading, pitch and roll.

I was looking at get a DS18B20, but it doesn't specifically mention salt water. https://www.aliexpress.com/item/1005004412646322.html

I am looking to spend less than $60. The plan is actually to mount the thing inside the saltwater intake filter for the wet exhaust, the seaweed collector if you will.

Thanks
ian5142 is offline   Reply With Quote
Old 02-11-2023, 09:59   #2
Registered User

Join Date: Oct 2020
Location: SE USA
Boat: Hunter 38
Posts: 1,450
Re: Saltwater Arduino Water Temp sensor

I would look at the sensors being used to automate home saltwater aquaria. I'm sure there are Arduino or similar projects for that.

What are you trying to accomplish?

Trying to see if its warm enought to swim? Or what the temp differential is from the hot to the cold side of the exhaust for some reason?

Perhaps there's a better way.
flightlead404 is offline   Reply With Quote
Old 02-11-2023, 10:07   #3
Registered User

Join Date: Aug 2017
Location: Cape Breton, NS, Canada
Boat: Cape Islander - tour boat
Posts: 65
Re: Saltwater Arduino Water Temp sensor

No, nothing that detailed. We run a boat tour and often get asked what the water temperature is.
ian5142 is offline   Reply With Quote
Old 02-11-2023, 10:28   #4
Registered User

Join Date: Aug 2023
Location: Utah, USA
Boat: Vaporware
Posts: 13
Re: Saltwater Arduino Water Temp sensor

That one would work fine. It is a resistance type or RTD sensor, the stainless housing is just for protection and as a heatsink, the actual sensing element is a thin film or wire assembly inside the housing. The saltwater environment should have no effect on the readings. There are also ceramic housing RTDs available if you didn't want to worry about corrosion at all; I know Honeywell makes one but it is much more expensive ($40 on digikey for a 1-off buy).
Captn Caveman is offline   Reply With Quote
Old 02-11-2023, 13:27   #5
Registered User

Join Date: Jun 2015
Location: Monterey, California
Boat: Westsail 32
Posts: 783
Re: Saltwater Arduino Water Temp sensor

I think the DS18B20 sensors will work fine as well -- the ones with stainless steel encapsulations. You may want to beef-up the water proofing where the cable enters the stainless housing. They're very cheap at least. If it's a permanent installation, I'd probably cast it into a thin cylinder of epoxy.

You could also use it with the SensESP library or similar if you want to send data over WiFi to your SignalK server (if running).
Ryban is offline   Reply With Quote
Old 03-11-2023, 00:16   #6
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 511
Re: Saltwater Arduino Water Temp sensor

Just take a cheap sensor and mount it somewhere against the inside of the hull.(below the waterline) A little (temp) insulation over it and you will measure the outside water temp.
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 03-11-2023, 20:51   #7
Registered User

Join Date: Jan 2022
Location: Milwaukee, WI
Boat: Hunter 336
Posts: 20
Re: Saltwater Arduino Water Temp sensor

I have a few DS18B20's for various things including:
  • Raw water intake - the sensor is cable tied directly to the raw water intake
  • Mixing Elbow - the sensor is hose clamped to the mixing elbow

these are connected to a couple of ESP32's running Sensesp. one of the code examples can be found here:

https://github.com/Techstyleuk/sensesp-engine_monitor

you should be able to cherry pick the code from here and there is a video that explains it here:

https://youtu.be/Zay2ALtgxzc?si=TQOXpyVA7BRMMYXs

easily be able to do it for $60
SV-Apres is offline   Reply With Quote
Old 03-11-2023, 22:59   #8
Registered User
 
Zanshin's Avatar

Join Date: Feb 2007
Location: Caribbean
Boat: Jeanneau 57
Posts: 2,284
Images: 2
Re: Saltwater Arduino Water Temp sensor

The DS18B20s are what you want. They sensor head is already waterproof, but the 3 pins coming out are not. You can solder wires to the 3 pins and then "pot" it yourself, or buy the available steel housings. The sensors are fast and quite accurate. There are lots of available libraries as well (including one I wrote )
__________________
Zanshin sailing
Zanshin is offline   Reply With Quote
Reply

Tags
salt, sensor, water


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
Need help with water temp sensor install on Yanmar 3YM30 Nani Kai Engines and Propulsion Systems 24 05-03-2024 11:48
Arduino Depth Sensor and anemometer ayozek Marine Electronics 0 16-02-2022 19:05
Using a flow sensor instead of a tank level sensor for water vpbarkley Plumbing Systems and Fixtures 4 04-07-2021 17:25
For Sale: Garmin NMEA 2k/Nexus Speed/Temp & Depth/Temp Transducers Albicelesail General Classifieds (no boats) 3 16-04-2017 11:42
Westerbeke 46 Temp Sender vs. Temp Switch zboss Engines and Propulsion Systems 8 29-10-2013 21:11

Advertise Here


All times are GMT -7. The time now is 05:08.


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.