Hysteresis control and one-wire probe with linear offset temp problem
I have a one-wire DS18B20 with a linear offset of -1 as it is strapped to the outside of my fermentor. An iSpindel inside my fermentor is submitting temp readings one degree lower hence the reason for the adjustment.
A hysteresis control using theDS18B20 is controlling the temp and seems to be controlling the temp at the unadjusted value.
So currently my raw probe reading is 17 degrees and adjusted to 16 degrees.
My hysteresis target is set to 17 degrees, but the temp is being controlled to 16.
I have a feeling the hysteresis control is reading the unadjusted temp value instead of the adjusted value.
Edit: the red line on graph is target and green is logged temp
As I guessed, setting the hysteresis target to 18 has given me the actual temperature of 17 with the raw reading of the DS18B20 being 18 degrees celsius
Yes, sorry. 1-wire sensors cannot be calibrated back to the sensor. In the case of thermistors and RTD's, the temp calculation is made by the application. In the case of 1-wire, the temp is determined by the sensor itself, so there isn't a way to tell it to be different. We are contemplating a fix, but this is the current status.
Not a problem in this case as the production install will be using PT100's.
Once I get those wired in, I'll be able to confirm the calibrations work for the hysteresis element.