What I mean by that is simply this:
When the temperature increases from any temperature, (GOES UP) , Say from 72 degrees to 73 degrees,
OR when the temperature decreases from any temperature (GOES DOWN), Say from, 74 degrees to 73 degrees . . .
On the FIRST READ of the DS18B20 AFTER that event : INCREASE (Go up in temperature) or DECREASE (Go down in temperature) , the temperature READ FROM THE DS18B20 does not change. It will change correctly on subsequent reads.
I read the data sheet.
I am using the program developed by Bruce Reynolds. It uses:
waitloop: OWIn DQ, 4, [count_remain] ' Check for still busy converting
IF count_remain = 0 Then waitloop
Why is the conversion time OK for everything EXCEPT for the FIRST READ after a temperature INCREASE or DECREASE ?
Ken
Bookmarks