Interfacing NTC Thermistor With Arduino - Circuit Digest
Maybe your like
Thermistors are simple, inexpensive, and accurate components that make it easy to get temperature data for your projects. Thermistors or THERMally sensitive resISTORs are variable resistors, whose resistance will be changed with the temperature. This feature enables us to read the temperature or change in temperature by measuring the resistance of the thermistors. Thermistors are used in various everyday use items like Thermostats, SMPS, surge protection circuits and rechargeable battery packs, etc.
NTC Thermistor Pinout

Terminal 1 NTC Thermistor terminal 1
Terminal 2 NTC Thermistor terminal 2
Types of Thermistors
Depending on the materials used and how they react with the temperature thermistors are classified into two types:
- Negative Temperature Coefficient Thermistors or NTC Thermistors
- Positive Temperature Coefficient Thermistors or PTC Thermistors
Positive Temperature Coefficient Thermistors or PTC Thermistors
With PTC thermistors, resistance increases as the temperature rises, usually due to increased Thermal lattice agitations. They are usually used for overcurrent protection, as resettable fuses.
Negative Temperature Coefficient Thermistors or NTC Thermistors
With NTC thermistors, resistance decreases as temperature rises, due to an increase in the number of conduction electrons energized by the thermal agitation from the valance band. NTC are commonly used as temperature sensors or in series with circuits like power supplies as an inrush current limiter.

Here is the Resistance Versus Temperature Response graph for the TCS610 10K NTC from wavelength electronics. You can see that at 25⁰C the Resistance of the NTC thermistor is 10Kohms. When the temperature increases the resistance decreases.
How Does an NTC Thermistor Work?
As already mentioned, the resistance of an NTC thermistor will change with a change in temperature. So, we can measure the resistance of the thermistor and can calculate the temperature in relation to the measured resistance. The thermistor of course is not the best one for accurate temperature measurements, but it is damn cheap and can be used very easily. Here is a small animation showing the working of an NTC thermistor.

Commonly Asked Questions about NTC Thermistor
What is an NTC Thermistor?
NTC Thermistor is a thermally sensitive resistor with a Negative Temperature Coefficient. Its resistance will decrease when the temperature increases.
How NTC is calculated?
The actual resistance values of a particular NTC thermistor are obtained by multiplying the ratio RT/R25 (tabulated value) by the resistance value at 25 °C, which is specified in the datasheet.
What are NTC Thermistors made of?
Thermistors are made of sintered ceramics consisting of highly sensitive material with consistently reproducible properties of resistance versus temperature.
Are NTC Thermistors Linear?
No. Thermistors are non-linear variable resistance devices.
Why NTC Thermistors are used in Li-ion Battery Packs?
NTC thermistors are used for measuring the battery temperature. Since Li-ion batteries are highly dangerous at high temperatures it is necessary to monitor their temperature continuously.
Measuring NTC Resistance and Temperature
For measuring the resistance of an NTC thermistor, we will use a voltage divider. One terminal of the thermistor will be connected to the VCC line through a known value resistor and the other terminal will be connected to the ground. The connections will be as shown below.

To measure the resistance of the NTC Thermistor, first, we will measure the voltage from the voltage divider. And the voltage divider equation is as follows.
Vout = Vin*[R2/(R1+R2)]Since we know Vin, R1, and Vout we can calculate the value of the NTC thermistor R2 with the following equation
R2=(Vout*R1) / (Vin-Vout)Arduino NTC Thermistor Interfacing Circuit Diagram
The connection is pretty simple. We are going to create a voltage divider with the NTC thermistor and a known value resistor. For this instance, we are going to use a 10K resistor for that. The voltage divider is built with the 10K resistor connected to the 5V and the Thermistor is connected to the ground, The voltage is measured where the NTC thermistor and the resistor are connected together. As we know the value of the reference resistor and the reference voltage, we can calculate the resistance of the thermistor from the measured voltage drop. From this voltage drop, we can then calculate the resistance of the thermistor. From the calculated thermistor resistance, we can also calculate the temperature too.

You might be wondering why we have connected the reference resistor to the GPIO2 instead of the 5V pin. It is because of the self _heating phenomena. If we connect a 10K thermistor with a 10K resistor to form a voltage divider, and the voltage divider is connected to the 5V and then ground, we will get a current minimum current flow of about 25mA (5V / (10K + 10K) = 0.25mA) all the time. Even if this doesn’t seem like a lot of currents, this will, definitely heat up your thermistor because even the 25mA current flow can cause a power dissipation of about 0.625mW (0.25mAx 2.5V). That’s too if we consider if the value of the thermistor and the reference resistor stays constant. As we know the resistance of the thermistor will vary drastically with the temperature. So, allowing continuous current flow will affect the reading. So, in order to avoid it, we will only turn the GPIO to high while we are taking the reading and as soon as we take the reading, we will change the GIO state to low. The actual connection is shown in the below image.

Tag » Arduino Ntc 10k Temperature Sensor Code
-
How Easy Is It To Use A Thermistor?! - Arduino Project Hub
-
Make An Arduino Temperature Sensor (Thermistor Tutorial)
-
Temperature Sensor Using NTC Thermistor (Arduino/NTC)
-
NTC Temperature Sensor With Arduino - Instructables
-
How To Use NTC Thermistor To Measure Temperature? - Solarduino
-
Using A Thermistor - Adafruit Learning System
-
Measure Temperature Using Arduino And NTC Thermistor
-
Make An Arduino Temperature Sensor Using Thermistor
-
Thermistor Interfacing With Arduino UNO - ElectronicWings
-
Calculate Temperature With Arduino Nano Or Arduino Uno And NTC ...
-
Arduino Multi Temp Sensor Using NTC Thermistors - YouTube
-
NTC Thermistor Thermometer With STM32/Arduino - YouTube
-
Arduino And Thermistors – The Secret To Accurate Room Temperature