DS18B20 + Protective Sleeve


I have DS18B20 temperature sensors and protective sleeves (40x6 mm) for the sensor. (I want to measure water temperature.)

Just putting the sensors in the sleeves seems kind of unprofessional (especially air between wall and sensor is an insulator)

Any recommendations with what sort of material to fill the protectice sleeves for a good heat transfer?

Thanks in advance!


Sure. Try the heat transfer compound used between transistors and heat sinks.

In theory a highly conducting compound would be best but unless you are trying to get super fast response then any typical solid filler should work. I wouldn't use expandable urethane foam.

If you tube is closed end you could fill it with hot melt by shredding it and dropping hte pieces into your tube.
Heat the tube until the hot melt melts. Then push the sensor into the hot melt.

RTV is OK as well but its harder to get it into your tube, unless the tube is open. If the tube is open you could start by forcing some RTV into the tube, introduce the sensor then force some more RTV into the tube. But this can get messy.

You can get DS18B20 already in a protective housing, on ebay.

They seem waterproof, but they are not.

1 Like

But you can improve the sealing I reckon - silicone sealant and heat-shrink around it perhaps? These units are metal tubes so have fairly good thermal time-constant, but most of them are likely to be fake DS18B20's alas...

I don't know where to get blind-end stainless tubes like these use, but if you find
a source it would be easy to pack with thermal compound (non-electrically conductive, note), and then arrange for a seal at the end.

Hot melt glue lined heat-shrink should be used instead of normal heat-shrink.
And the tube should be potted (full) with some water resistant thermal compound.
Time to take one apart.

A possible issue with hot-melt glue is it doesn't bond well to metal surfaces as its between a wax and polythene in composition. And of course it melts at elevated
temperature(*), which is often a show-stopper for a temperature sensor.

(*) For instance I've had some melt in a car on a sunny day.

If they are fakes, probably, they will be cheap enough to pull the old DS out and just reuse the SS tube with a real DS.
Stainless tube is readily available, but cutting it and then sealing one end is the difficult bit.
Might be worth searching for stainless steel thermometer pockets.
Some standard size tubing like 8-mm OD, can come with a range of fittings like end stops.
You can also find capillary (solder) end stops for SS.
You can glue them or use a SS flux to solder.
Someone in China must make the original tubes/pockets.
As others said, adhesive lined heat shrink is pretty effective.
If the application was very critical like stopping heating tanks going over temperature, I'm not sure I would fully trust a made up sensor.

Make a thermowell from a length of copper tube , crimped and soldered at one end . Drop the sensor down that .
If it’s vertical downwards , put a cc of silicon oil in it to help transfer the heat .

Google thermowell for inspiration

hello prankenandi-andré, I usually speak in french,

all the indications given to you are good. If the water you want to measure is a large volume (pool, tank or aquarium) whose temperature does not change quickly (with a large thermal inertia), you can use the sensor in the sleeve as you intended, it is not unprofessional! The air layer between the inner wall of the sleeve and the sensor will only cause a delay of about 30...45 seconds in the measurement, which will not be noticeable if you do continuous measurements, for example every 2 minutes.
If you fill the sleeve with a compound as indicated, you will reduce this response time, depending on the thermal conductivity of the compound.
Seal the joint between the sleeve and the electric cable with a heat-shrinkable sleeve or glue, so that water does not get inside.

If the temperature difference between the volume of water to be measured and the ambient air temperature is more than 5...10°C, the most important point to respect is this: a length of sensor extension cable of at least 20... 30 cm must be in the environment to be measured (i.e. in the water): if you don't do this, if your sensor is only immersed for the length of the sleeve or a little more, the thermal conductivity of the cable which is out of the water will cause the air temperature to modify the measurement of the water temperature.

If the water whose temperature you want to measure is a small and rapidly changing volume (a trickle of water), then yes, you will need a thin sleeve that is a good thermal conductor and filled with a compound that is also a good thermal conductor.

This sounds quite fanciful - even if the DS18B20 was a gas capillary sensor. I don't think it is.

J'ai acheté, soudé, vendu ou installé plus de 3.000 de ces capteurs Dallas, je dois savoir ce que je dis :grinning: