How to connect multiple DS20B18 sensors with Arduino MEGA

I think a professional will use other sensors. For example a NTC or a Pt100. However, the DS18B20 is easy to use and accurate.

When you buy a DS18B20 from Amazon/Ebay/AliExpress, then it might be a counterfeit and those stop working at 70 °C. You should first do a test.

I have used two-component transparent epoxy-glue in the past. First I solder three wires and pull the wires from the DS18B20 a little away from each other. Then I fill the area with bare wires with epoxy-glue. I make sure that the epoxy-glue is well over the isolation of the wires. Then I use hotshrink tube with glue inside and put it over everything and be sure that it is at least a few cm over the isolation of the wires. That worked, but that project did only run a few weeks.

If the temperatures are changing slow and thermal isolation is not a problem, then you can put the DS18B20 in a tiny cup and fill the whole cup with epoxy.

Koepel:
I think a professional will use other sensors. For example a NTC or a Pt100. However, the DS18B20 is easy to use and accurate.

When you buy a DS18B20 from Amazon/Ebay/AliExpress, then it might be a counterfeit and those stop working at 70 °C. You should first do a test.

I have used two-component transparent epoxy-glue in the past. First I solder three wires and pull the wires from the DS18B20 a little away from each other. Then I fill the area with bare wires with epoxy-glue. I make sure that the epoxy-glue is well over the isolation of the wires. Then I use hotshrink tube with glue inside and put it over everything and be sure that it is at least a few cm over the isolation of the wires. That worked, but that project did only run a few weeks.

If the temperatures are changing slow and thermal isolation is not a problem, then you can put the DS18B20 in a tiny cup and fill the whole cup with epoxy.

Yes it is changing slowly. it is between 30-10c only.