Page 1 of 1

temperature sensor for water heater

Posted: Sun May 08, 2016 7:05 am
by Northland
Recommendations please for a temperature sensor. It will be in contact with the outside of a copper tank with insulation over the top. It will be 30m from the pi. Range 40-80 degrees Celsius but down to maybe 10 would be a bonus. Important : easiest to code (python)

Thanks

Re: temperature sensor for water heater

Posted: Sun May 08, 2016 7:48 am
by joan
Are there sensors which work with 30 metres of lead? I doubt it. You need to find a way of reading a sensor locally and transmitting the data 30 metres to the Pi.

Re: temperature sensor for water heater

Posted: Mon May 09, 2016 4:54 am
by Northland
I thought some were digital so distance is irrelevant?

Re: temperature sensor for water heater

Posted: Mon May 09, 2016 5:00 am
by rpdom
Northland wrote:I thought some were digital so distance is irrelevant?
Voltage will drop due to the resistance in the cable.

If it drops too much even a digital sensor won't work correctly.

Having said that, with decent cable a DS18B20 sensor can work over a fair distance, but 30m may be pushing it a bit without some sort of one-wire repeater or signal amplifier.

Posted: Mon May 09, 2016 5:32 am
by fruit-uk
1-wire may work over that distance, difficult to be sure without trying and 30m of cable just to test may yield disappointing results.
Take a look at the Dallas 1-wire docs for spec etc. as well as much other online.

An alternative may be to set up a wireless node, with a DS1820 or something else. I am using panStamps as remote sensors here with SI7021 sensors and getting 4-6 months on a single AA cell.
There are many other wireless possibilities of course