Instructions
IDUINO for maker’s life
90 www.openplatform.cc
Note: For this module, the recommended coefficients of A,B,C are
A equals 0.001129148;
B equals 0.000234125;
C equals 0.0000000876741;
More, the same item products has a little bit different A,B,C coefficients , which depends
your environmental temperature. If the recommended coefficients are not accurate
enough, you’d better amend the A,B,C coefficients by Thermistor Calculator tool.
3 Example
This is a simple code for the NTC thermistor module, Wire as below:
Example code :
******Code begin******
#include <math.h>
double Thermister(int RawADC) {
double Temp;
Temp = log(((10240000/RawADC) - 10000));
Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp ))*
Temp );
Temp = Temp - 273.15;
return Temp;
}
void setup() {