33
Lesson 10 Analog Temperature Sensor
Introduction
A thermistor is the core component of an analog temperature sensor (as shown below).
Components
-
1 * SunFounder Uno board
- 1 * USB data cable
- 1 * Analog Temperature Sensor module (thermistor)
- 1 * LCD1602
- 1 * Potentiometer
- Several jumper wires
Experimental Principle
This module is based on thermistor principle, whose resistance varies significantly with
ambient temperature changes. It can detect surrounding temperature changes in real time
and send the temperature data to analog I/O port of the SunFounder Uno board. You only
need to convert the output to Celsius temperature by simple programming and display it on
an LCD.
Experimental Procedures
Step 1:
Build the circuit
Analog Temperature Sensor Module SunFounder Uno
S ----------------------------------------A0
- ---------------------------------------- GND
+ --------------------------------------- 5V
LCD1602 connection:
connect pin RS to digital pin 4; R/W to GND; E to digital pin 5; D4~D7 to
digital pin 9 to 12; VSS to GND; VDD to 5V; A to 3.3V; K to GND
Potentiometer connection
: Connect the middle pin to VO of LCD1602 and any other pin to
GND
SunFounder