Thermistors are inexpensive and easy to use for temperature measurement. The only complicated part is the math used to translate the voltage output level to the measured temperature, but we have provided that for you in the Arduino sketch below.
- Thermistor temperature Sensor (you also need a 10k resistor).
We will use an LCD to read the temperature from the thermistor. Follow our Arduino LCD tutorial to get the LCD working with your Arduino. If you don't want to use an LCD to get the temperature readings, you can always just change the sketch to use the Arduino's serial connection to your computer to read the temperature from the serial monitor.
Download the example Arduino thermistor software here, and unzip the file.
Navigate to the arduino_thermistor folder and select the “arduino_thermistor.pde” file.
Transfer the Arduino thermistor sketch to your Arduino board by clicking the “Upload to I/O board” button. After uploading, you should see the current temperature displayed on the LCD.
lcd.begin(20, 4); // rows, columns. use 16,2 for a 16x2 LCD, etc.