Hi
all
Just defined a sensor definition to use with a thermistor to measure temperature.
Mapped to pin 12, the sensor debug screen correctly shows the raw voltage and the calibrated temperature.
The problem occurs when I go to setup the sensor range high value and low value.
I am trying to choose 0 deg as the low value and 99 deg as the high value.
The low value can be set correctly but the high value cannot be set to any value above 36deg or so.
If you try the valued entered turns red and no change occurs
I had a mistake in the polynomial originally which is now fixed. I have uploaded the new sfg file and can see evidence of this working by looking at the sensor debug screen.
But when I setup a sensor the maximum value cannot be set to 99 and the actual calibrated value it shows is incorrect as if it is using the old polynomial.
I have loaded the new sfg file a number of times.
Anyone have any ideas?
Doug
Sensor definition is:
sensor={
id=TDK B57703M 10K THERMISTOR
function=TEMPERATURE
pins=C37_P4 C37_P6 C37_P7 C37_P8 C37_P9 C37_P10 C37_P11 C37_P12 C37_P20 C37_P21 C37_P22 C37_P23 C37_P31
name=TEMP
min_val=0
max_val=100
resolution=0
round=1
is_piecewise=0
low_coeff={
c_x4=1.2231
c_x3=-13.555
c_x2=54.005
c_x1=-110.34
c_x0=128.18
}
low_resistance=PULL_UP_10K
low2high_cross=0
high_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=0
c_x0=0
}
high_resistance=PULL_UP_10K
high2low_cross=0
}
all
Just defined a sensor definition to use with a thermistor to measure temperature.
Mapped to pin 12, the sensor debug screen correctly shows the raw voltage and the calibrated temperature.
The problem occurs when I go to setup the sensor range high value and low value.
I am trying to choose 0 deg as the low value and 99 deg as the high value.
The low value can be set correctly but the high value cannot be set to any value above 36deg or so.
If you try the valued entered turns red and no change occurs
I had a mistake in the polynomial originally which is now fixed. I have uploaded the new sfg file and can see evidence of this working by looking at the sensor debug screen.
But when I setup a sensor the maximum value cannot be set to 99 and the actual calibrated value it shows is incorrect as if it is using the old polynomial.
I have loaded the new sfg file a number of times.
Anyone have any ideas?
Doug
Sensor definition is:
sensor={
id=TDK B57703M 10K THERMISTOR
function=TEMPERATURE
pins=C37_P4 C37_P6 C37_P7 C37_P8 C37_P9 C37_P10 C37_P11 C37_P12 C37_P20 C37_P21 C37_P22 C37_P23 C37_P31
name=TEMP
min_val=0
max_val=100
resolution=0
round=1
is_piecewise=0
low_coeff={
c_x4=1.2231
c_x3=-13.555
c_x2=54.005
c_x1=-110.34
c_x0=128.18
}
low_resistance=PULL_UP_10K
low2high_cross=0
high_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=0
c_x0=0
}
high_resistance=PULL_UP_10K
high2low_cross=0
}