DS18b20 temp reading too high
Posted: 28 Sep 2016, 02:11
Hi,
I have two DS18b20's, one I think the temp is correct or within 1 degree, but the other is reading too high by about 5 degrees. It would be roughly 22 degrees in this room but the device is reading 27 degrees currently.
Both temp sensors are wired the same, they get ground, 3.3v, and data goes to GPIO 0, i havent got any resistors on there. I saw others say you need a resistor, but it seems to work ok without it? Being a digital signal the temp isnt going to change by adding a resistor.
Any ideas on what could it be? Is it just a faulty sensor? maybe i could try use another digital thermometer and measure the temperature probe temp at a few different temperatures, eg 20, 25, 30, 40 degrees and see if the error is consistent and use the formula box to offset the temp? i guess that could work if the error is always the same, but was hoping there is something easier to do
I have two DS18b20's, one I think the temp is correct or within 1 degree, but the other is reading too high by about 5 degrees. It would be roughly 22 degrees in this room but the device is reading 27 degrees currently.
Both temp sensors are wired the same, they get ground, 3.3v, and data goes to GPIO 0, i havent got any resistors on there. I saw others say you need a resistor, but it seems to work ok without it? Being a digital signal the temp isnt going to change by adding a resistor.
Any ideas on what could it be? Is it just a faulty sensor? maybe i could try use another digital thermometer and measure the temperature probe temp at a few different temperatures, eg 20, 25, 30, 40 degrees and see if the error is consistent and use the formula box to offset the temp? i guess that could work if the error is always the same, but was hoping there is something easier to do