Overview
The LM35 is a precision integrated-circuit temperature sensor manufactured by Texas Instruments. Its output voltage is linearly proportional to the Celsius (Centigrade) temperature, scaling at .
Unlike thermistors, the LM35 requires no external calibration or signal conditioning circuit to deliver typical accuracies of at room temperature and over a full range. It draws only 60 µA from its supply, resulting in minimal self-heating ( in still air).
Quick reference
Supply voltage (VCC) | 4.0 V to 30.0 V DC |
| Output scale factor | ( at , at ) |
| Temperature range (Basic circuit) | to |
| Temperature range (Full range with pull-down) | to |
| Accuracy | at ( for LM35A) |
| Quiescent current | 60 µA typical |
| Package options | TO-92 (3-pin plastic), SOIC-8, TO-46 (metal can) |
Pinout
Standard TO-92 Plastic Package (Flat side facing you, pins down)
┌─────────┐
│ LM35 │
└─────────┘
│ │ │
1 2 3
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | VCC | Power | Supply voltage (+4.0 V to +30.0 V DC) |
| 2 | VOUT | Analog Output | Voltage output linearly proportional to temperature () |
| 3 | GND | Power | Ground (0 V) |
Specifications
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions |
|---|---|---|---|---|---|---|
| Supply Voltage | 4.0 | 5.0 | 30.0 | V | DC | |
| Output Scale Factor | 9.9 | 10.0 | 10.1 | mV/°C | ||
| Accuracy (LM35D) | -1.5 | +1.5 | °C | At | ||
| Non-Linearity | — | °C | Over full temperature range | |||
| Quiescent Current | 43 | 56 | 133 | µA | ||
| Self-Heating in Air | — | 0.08 | 0.1 | °C | Still air, TO-92 |
Temperature Conversion Formula
Converting the raw analog-to-digital converter (ADC) voltage reading ( in Volts) to temperature ( in °C):
With a 10-bit ADC ( steps) using a reference voltage ():
Wiring
| LM35 TO-92 Pin | → | Microcontroller (Arduino Uno / ESP32) |
|---|---|---|
1 (VCC) | 5V (or 4V–30V power supply) | |
2 (VOUT) | Analog Input Pin A0 (or ADC input) | |
3 (GND) | GND |
Minimal Supply Voltage Requirement: The LM35 requires a minimum supply voltage of 4.0 V DC. Powering an LM35 directly from a 3.3V rail will cause reading compression and non-linear errors above . Use a TMP36 for native 2.7V–3.3V low-voltage applications.
Common mistakes
- Powering from 3.3V rail: Supplying 3.3V to
VCCfalls below the 4.0 V minimum operating threshold. - Reverse polarity connection: Connecting
VCCandGNDbackwards causes the LM35 to rapidly overheat and destroy the silicon die within seconds. - Measuring sub-zero temperatures without negative bias: In a basic single-supply circuit ( referenced to GND), the LM35 cannot output negative voltages. To measure temperatures below , connect a pull-down resistor from
VOUTto a negative voltage rail (or use two diodes).
Notes
- Using a internal ADC reference voltage on Arduino Uno () increases temperature resolution from to .
Assets & downloads
- datasheetdatasheet
- product-pagereference