Table of contents
1. Introduction
The thermistor sensor module uses NTC thermistor sensor, which has good sensitivity. The PH2.0 interface is plug-and-play and anti-reverse connection. It is suitable for various development boards.
2. Parameter performance
Voltage | 5V |
---|---|
interface | 3PIN anti-reverse connection PH2.0 DuPont cable |
size | 40*22.5mm |
Install | M4 screw compatible with LEGO jack fixation |
3. How to use
Experiment preparation
Thermistor Sensor Module | 1 |
---|---|
Original genuine Arduino uno r3 development board | 1 |
USB2.0 printer data cable high-speed square port connection adapter cable A male to B male | 1 item |
dupont line | Slightly |
wiring
Arduino | Thermistor Sensor Module |
---|---|
5V | V |
GND | G |
A0 | S |
As shown in the figure below,
program download
int ADPIN = A0;
int value = 0;
float voltage = 0.0;
void setup()
{
pinMode(ADPIN,INPUT);
Serial.begin(9600);
}
void loop()
{
value = analogRead(ADPIN);
voltage = ( ( float )value )/1023*5 ;
Serial.println(voltage);
delay(100);
}