I'm using the ESP01 and I put the ds18b20 with its 4.7K resistance but I detect too high measurements.
I also tried with 2.2k resistors but the same.
Even a sensor has 10 degrees more ...
I thought, ok I know that it reads n degrees more and therefore I lower the reading from the code but I have calibrated the sensors to 21 degrees and when I have placed them I always have very wrong readings.
In the bedroom I have 17 degrees (beds with 2 temporary programmable thermostats) and I have 19 degrees on the right ...
I tried to calibrate them on the spot, that is in the relative room but then they are always wrong.
In the room when I heat the temperature increases but is always lower than that read by the external Chrono. For example, if it reaches 20 degrees the ds always marks me something less ...
In the bathroom he tells me that I am 19.11 degrees and even if I warm I see the temperature that also goes to 22/23 degrees with 2 external digital thermometers but the ds gives me a maximum of 19.38 ....
What am I doing wrong?
You purchased your 18B20 from a trusted supplier.
Many low quality fake 18B20s have appeared on the market.
I bought this on Amazon 5 pcs at 7,99€
For more information than you may care to know about DS18B20 sensors see
I believe mine are counterfeit. I have now ordered from RS Online.
Some non Maxim ones are better than others. I bought some probes on Aliexpress that turned out to be his B2 type. They are within .5C when compared to a platinum RTS of known accuracy.
I ordered the sensors from RS Online, a 40in euro 5 sensors.
Now I am doing tests and I have more or less the same results, that is, as soon as I connect the node it gives me a temperature and then slowly rises until it stabilizes after about 5 minutes.
For example, now I have written a code that sends me the data every 30 seconds:
In short, in my opinion it seems that there is a capacitor that is charging but can it take up to 15/20 minutes?
In addition, the ambient temperature is 20.8C, is it also normal that it marks me 8 degrees higher?
After it stabilized (about 2 hours) the DS18B20 measured 30.69C while two other digial thermometers were at 24.00C.
Via code I did t = t-6.6;
And now when there are 24 real degrees it reads 24.12C. And I thought PERFECT!
Then I did another test, I put everything on the outside and it's not good at all.
The DS18B20 reads 4.31C while there are 14.5C
I don't know what to do anymore, I'm desperate!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.