Component guide · Beginner · 4 min read
TMP36, TMP37, MCP9700, MCP9701, LMT87, LM61, TMP20, MAX6605

and TMP235 Analog Temperature Sensors
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These three-pin ICs give a voltage that rises (or falls) in a straight line with temperature, so one analogRead gives degrees. The TMP36 gives 10 mV per degree with a 500 mV offset so it can read below zero on a single supply. The MCP9700 is similar at 10 mV per degree, the MCP9701 19.5 mV, and the LMT87 and TMP20 have a falling output.
Key specs at a glance
- Supply
- About 2.3 to 5.5 V
- Current
- Under 50 microamps
- Output
- Linear voltage, 6 to 20 mV per degree C by part
- Offset
- 500 mV at 0 degrees C (TMP36, MCP9700), 400 mV (MCP9701), 600 mV (LM61)
- Accuracy
- About plus or minus 1 to 3 degrees C
- Package
- TO-92, SOT-23, SC-70
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Analog Devices TMP36GT9Z Analog Temperature Sensor IC, ±3°C Accuracy, TO92-3 Package₹173
Option 2Analog Devices TMP36FSZ Temperature Sensor IC, Voltage Output, ±2°C Accuracy, NSOIC-8₹115
Option 3Analog Devices TMP37FT9Z Analog Temperature Sensor IC, ±2°C Accuracy, TO92-3 Package₹137
Option 4UMW TMP36FSZ SOP-8 Precision Analog Temperature Sensor IC₹43
Option 5UMW TMP36GRTZ SOT23-5 Temperature Sensor IC₹33
Option 6Microchip Technology MCP9700T-E/TT SOT-23 Linear Active Thermistor IC – 2.3V to 5.5V₹57
What the TMP36, MCP9700 and other analog temperature ICs is
The TMP36 and MCP9700 are analog temperature sensors that output a voltage proportional to temperature, easy to read with any microcontroller's ADC.
Formulas for common parts: TMP36 T = (V - 0.5) x 100; TMP37 T = V / 0.02; MCP9700 T = (V - 0.5) / 0.01; MCP9701 T = (V - 0.4) / 0.0195. The LMT87 and TMP20 output falls as temperature rises; use their datasheet table.
The Adafruit TMP235 board puts a TMP235 (same scale as TMP36) on a STEMMA connector.
TMP36, MCP9700 and other analog temperature ICs pinout
The pins on the TMP36, MCP9700 and other analog temperature ICs and what each one does.
| Pin | Function |
|---|---|
| VS / VDD | Supply |
| VOUT | Analog output |
| GND | Ground |
- VS / VDD
- Supply
- VOUT
- Analog output
- GND
- Ground
Wiring the TMP36, MCP9700 and other analog temperature ICs
Check the pinout for your package; on the TO-92 TMP36 with the flat face toward you it is VS, VOUT, GND from left to right. Add 0.1 uF across supply.
| TMP36, MCP9700 and other analog temperature ICs pin | Arduino Uno | ESP32 |
|---|---|---|
| VS | 5 V | 3.3 V |
| VOUT | A0 | GPIO 34 |
| GND | GND | GND |
- VS
- Arduino Uno:
- 5 V
- ESP32:
- 3.3 V
- VOUT
- Arduino Uno:
- A0
- ESP32:
- GPIO 34
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
Example code
A minimal sketch to check the part works.
const float VREF = 5.0; // 3.3 on ESP32 or 3.3 V boards
void setup() { Serial.begin(115200); }
void loop() {
long sum = 0;
for (int i = 0; i < 32; i++) sum += analogRead(A0);
float v = sum / 32.0 * VREF / 1023.0;
float t = (v - 0.5) * 100.0; // MCP9700 is the same; MCP9701: (v - 0.4) / 0.0195
Serial.print(t, 1); Serial.println(" C");
delay(1000);
}Setup and tuning
VCC (2.7 to 5.5 V for TMP36), GND and Vout to an analog pin.
temperature (°C) = (voltage - 0.5) × 100.
temperature (°C) = (voltage - 0.5) / 0.01.
average readings and add a 0.1 µF capacitor near the sensor.
use calibrated ADC readings because the ESP32 ADC is non-linear.
What you need
Shop this list16 of 17 found in our store · ₹1,944
Analog Devices TMP36GT9Z Analog Temperature Sensor IC, ±3°C Accuracy, TO92-3 Package: the part this guide coversAnalog Devices TMP36GT9Z Analog Temperature Sensor IC, ±3°C Accuracy, TO92-3 Package₹173
Analog Devices TMP36FSZ Temperature Sensor IC, Voltage Output, ±2°C Accuracy, NSOIC-8: another version this guide coversAnalog Devices TMP36FSZ Temperature Sensor IC, Voltage Output, ±2°C Accuracy, NSOIC-8₹115
Analog Devices TMP37FT9Z Analog Temperature Sensor IC, ±2°C Accuracy, TO92-3 Package: another version this guide coversAnalog Devices TMP37FT9Z Analog Temperature Sensor IC, ±2°C Accuracy, TO92-3 Package₹137
UMW TMP36FSZ SOP-8 Precision Analog Temperature Sensor IC: another version this guide coversUMW TMP36FSZ SOP-8 Precision Analog Temperature Sensor IC₹43
UMW TMP36GRTZ SOT23-5 Temperature Sensor IC: another version this guide coversUMW TMP36GRTZ SOT23-5 Temperature Sensor IC₹33
Microchip Technology Technology MCP9700T-E/TT SOT-23 Linear Active Thermistor IC – 2.3V to 5.5V: another version this guide coversMicrochip Technology MCP9700T-E/TT SOT-23 Linear Active Thermistor IC – 2.3V to 5.5V₹57
Microchip Technology Technology MCP9701AT-E/TT SOT-23 Temperature Sensor IC: another version this guide coversMicrochip Technology MCP9701AT-E/TT SOT-23 Temperature Sensor IC₹62Closest match, check the specs
UMW LMT87DCKR SC-70-5 Temperature Sensor IC: another version this guide coversUMW LMT87DCKR SC-70-5 Temperature Sensor IC₹44
Texas Instruments LM61BIM3X/NOPB SOT-23 Temperature Sensor: another version this guide coversTexas Instruments LM61BIM3X/NOPB SOT-23 Temperature Sensor₹64
Texas Instruments TMP20AIDCKR SC-70-5 Temperature Sensor IC: another version this guide coversTexas Instruments TMP20AIDCKR SC-70-5 Temperature Sensor IC₹36
Analog Devices MAX6605MXK+T Precision Analog Temperature Sensor IC, SC-70, 5 Pins: another version this guide coversAnalog Devices MAX6605MXK+T Precision Analog Temperature Sensor IC, SC-70, 5 Pins₹76
Adafruit TMP235 STEMMA Analog Temperature Sensor – Module Only: another version this guide coversAdafruit TMP235 STEMMA Analog Temperature Sensor – Module Only₹419- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Solderless breadboard: to build without solderingSolderless Breadboard₹68
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
16x2 LCD with I2C: to show readings on a character display16×2 LCD with I2C (RG1602A)₹179Closest match, check the specs
Alternatives and when to choose them
- LM35: 10 mV per degree, no offset, needs negative supply below 0.
- LM75 family: digital I2C.
- DS18B20: digital, waterproof probes.
Common mistakes to avoid
- Wiring the TMP36 backwards, which makes it hot.
- Using the LM35 formula.
- No averaging.
- Uncalibrated ESP32 ADC.
Frequently asked questions
How do I convert TMP36 voltage to temperature?
Subtract 0.5 V and multiply by 100 to get degrees Celsius.
Why are my TMP36 readings jumpy?
ADC noise; average several readings and add a capacitor.
Is the TMP36 the same as the LM35?
No. The TMP36 has a 0.5 V offset so it can read below 0 °C.
How accurate are these sensors?
About ±1 to ±2 °C, fine for rooms but not precision work.
Can I use it with ESP32?
Yes, but calibrate the ESP32 ADC for good accuracy.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

