mshh
Full Member level 6
I read temperature using NTC 10k ,beta 3950 and connect resistance 10k in series but it is n't accurate for more than 5 degrees, how to get accurate readings for wider range.
here is the conversion and co coefficient i used
here is the conversion and co coefficient i used
Code:
int Vo;
float R1 = 10000;
float logR2, R2, T;
float c1 = 1.009249522e-03, c2 = 2.378405444e-04, c3 = 2.019202697e-07;
Vo = analogRead(ThermistorPin);
R2 = R1 * (1023.0 / (float)Vo - 1.0);
logR2 = log(R2);
T = (1.0 / (c1 + c2*logR2 + c3*logR2*logR2*logR2));
T = T - 273.15;
T = (T * 9.0)/ 5.0 + 32.0;