Overview
The TMP36 is a low-voltage, precision centigrade temperature sensor manufactured by Analog Devices. It provides a linear voltage output proportional to Celsius temperature at .
Designed specifically for single-supply 2.7 V to 5.5 V operation (ideal for 3.3V microcontrollers like ESP32 or Raspberry Pi), it incorporates a 500 mV DC offset at . This offset allows the sensor to measure negative temperatures down to without requiring a negative supply voltage rail.
Quick reference
Operating voltage (VCC) | 2.7 V to 5.5 V DC |
| Output scale factor | ( at , at , at ) |
| Temperature range | to |
| Accuracy | typical at ( max over range) |
| Quiescent current | 50 µA typical |
| Shutdown current | 0.5 µA max |
| Package options | TO-92 (3-pin plastic), SOIC-8, SOT-23 |
Pinout
Standard TO-92 Plastic Package (Flat side facing you, pins down)
text
┌─────────┐
│ TMP36 │
└─────────┘
│ │ │
1 2 3
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | VCC | Power | Supply voltage (+2.7 V to +5.5 V DC) |
| 2 | VOUT | Analog Output | Voltage output ( offset + ) |
| 3 | GND | Power | Ground (0 V) |
Specifications
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions |
|---|---|---|---|---|---|---|
| Supply Voltage | 2.7 | 3.3 / 5.0 | 5.5 | V | DC | |
| Output Voltage at | 490 | 500 | 510 | mV | ||
| Output Scale Factor | 9.8 | 10.0 | 10.2 | mV/°C | ||
| Accuracy | -2.0 | +2.0 | °C | Full range | ||
| Quiescent Current | — | 50 | 65 | µA | ||
| Load Capacitance Drive | — | — | 1000 | pF | Without series resistor |
Temperature Conversion Formula
To calculate temperature ( in °C) from the measured output voltage ( in Volts):
With a 10-bit ADC ( steps) on a microcontroller ():
Wiring
| TMP36 Pin | → | Microcontroller (Arduino Uno / ESP32) |
|---|---|---|
1 (VCC) | 3.3V (or 5V) | |
2 (VOUT) | Analog Input Pin A0 (or ESP32 ADC) | |
3 (GND) | GND |
Common mistakes
- Mixing up LM35 and TMP36 math: The LM35 outputs at , whereas the TMP36 outputs at . Forgetting to subtract 500 mV yields temperatures too high!
- Connecting pins backwards: Swapping
VCCandGNDcauses the package to heat up rapidly and break. - Noisy ADC readings from long wires: High capacitive loads () can cause oscillation. Add a series resistor near or a bypass capacitor between and .
Notes
- The TMP36 is pin-compatible with the LM35 but operates at lower supply voltages ( min vs min).
Assets & downloads
- datasheetdatasheet
- product-pagereference