0.5m Waterproof NTC Temperature Sensor 10K 1% 3950 Accuracy Temperature Sensing Probe
Features:
Stainless steel sheath and waterproof
Specification :
Type: NTC 10k1% 3950
Operating temperature range:-20C – +105C
Insulation Resistance 100MΩ @ 500VDC
Stress sustain: 9.8N (1kgF) for 1 minute no deformation
Peak Voltage sustain time: 2 seconds, AC1800V 1mA 2 seconds
Probe insulation: >100MOhm
Output: 2-pin 2510 Female Header Housing
Length of wire: 0.5 meter
Length of probe: 30mm (5mm)
// which analog pin to connect
#define THERMISTORPIN A2
// how many samples to take and average, more takes longer
// but is more ‘smooth’
#define NUMSAMPLES 5
// the value of the ‘other’ resistor
#define SERIESRESISTOR 10000
int samples[NUMSAMPLES];
void setup(void) {
Serial.begin(9600);
// connect AREF to 3.3V and use that as VCC, less noisy!
analogReference(EXTERNAL);
}
void loop(void) {
uint8_t i;
float average;
// take N samples in a row, with a slight delay
for (i=0; i samples[i] = analogRead(THERMISTORPIN);
delay(10);
}
// average all the samples out
average = 0;
for (i=0; i average += samples[i];
}
average /= NUMSAMPLES;
Serial.print(“Average analog reading “);
Serial.println(average);
// convert the value to resistance
average = 1023 / average – 1;
average = SERIESRESISTOR / average;
Serial.print(“Thermistor resistance “);
Serial.println(average);
delay(1000);
}