Wrong DS18B20 readings
Posted: Thu Mar 03, 2016 11:18 am
Hi there!
I've posted a similar question in the nodemcu subforum, but since then I have switched to the arduino ide due to other problems. So please excuse me asking again, but I still have the same problem.
I want to measure temperatures with the DS18B20. Right now, they just measure the room temperature and the values are totally of. I'm using the example code from the 1wire library for the sensors and they are recognized correctly (I think). The temperature readings on the other hand are reported as 80 - 90 °C, which is a bit hot I guess. So far, I had not noticed that I'm sitting in a sauna.
Temperatures in the low twenties would sound right on the other hand. Is there by any chance a possitbility that would explain a factor of 4 in the temperature conversion?
Thanks for your help!
I've posted a similar question in the nodemcu subforum, but since then I have switched to the arduino ide due to other problems. So please excuse me asking again, but I still have the same problem.
I want to measure temperatures with the DS18B20. Right now, they just measure the room temperature and the values are totally of. I'm using the example code from the 1wire library for the sensors and they are recognized correctly (I think). The temperature readings on the other hand are reported as 80 - 90 °C, which is a bit hot I guess. So far, I had not noticed that I'm sitting in a sauna.
Temperatures in the low twenties would sound right on the other hand. Is there by any chance a possitbility that would explain a factor of 4 in the temperature conversion?
Thanks for your help!