LM35DZ Precision Analog Temperature Sensor – 10mV/°C, TO-92
The LM35DZ Temperature Sensor is a precision analog temperature sensor designed to measure temperature in degrees Celsius with a linear voltage output.
Featuring a 10mV/°C output scale factor, the LM35DZ provides a simple way to measure temperature without complex signal processing or external calibration.
Its compact TO-92 package, low power consumption, and compatibility with microcontrollers make it ideal for Arduino projects, electronic temperature monitoring, environmental sensing, and DIY automation systems.
Key Features
- Precision analog temperature sensor
- Directly calibrated in degrees Celsius
-
Linear output of 10mV per °C
-
Operating temperature range: 0°C to +100°C for the LM35DZ variant
- Typical accuracy: ±0.5°C at 25°C
- Low power consumption
- Low self-heating
- Operating supply voltage: 4–30V DC
- Compact TO-92 through-hole package
- Easy integration with Arduino and other microcontrollers
Technical Specifications
| Parameter |
Specification |
| Model |
LM35DZ |
| Sensor Type |
Analog Temperature Sensor |
| Temperature Range |
0°C to +100°C |
| Output Type |
Linear Analog Voltage |
| Output Scale Factor |
10mV/°C |
| Supply Voltage |
4–30V DC |
| Typical Accuracy at 25°C |
±0.5°C |
| Supply Current |
Approximately 60µA |
| Self-Heating |
Approximately 0.08°C in Still Air |
| Output Voltage at 0°C |
0V (Nominal) |
| Output Voltage at 25°C |
250mV (Nominal) |
| Output Voltage at 50°C |
500mV (Nominal) |
| Output Voltage at 100°C |
1.0V (Nominal) |
| Package |
TO-92 |
| Number of Pins |
3 |
| Mounting Type |
Through-Hole |
Note: The LM35 family includes several temperature-range variants. The LM35DZ is commonly rated for 0°C to +100°C, rather than the full −55°C to +150°C range available with other LM35 versions.
Pin Configuration
With the flat face of the TO-92 package facing you and the leads pointing downward:
| Pin |
Function |
Description |
| 1 |
+Vs |
Positive Power Supply |
| 2 |
VOUT |
Analog Temperature Output |
| 3 |
GND |
Ground |
Always verify the pinout against the datasheet for the supplied manufacturer.
Temperature Measurement
The LM35DZ generates an analog voltage proportional to the measured temperature.
Output Formula
Temperature (°C) = Output Voltage (mV) ÷ 10
Example Output Values
| Temperature |
Output Voltage |
| 0°C |
0mV |
| 10°C |
100mV |
| 25°C |
250mV |
| 50°C |
500mV |
| 75°C |
750mV |
| 100°C |
1000mV |
These values represent the nominal sensor output.
Arduino Connection Example
The LM35DZ can be connected directly to an Arduino Uno analog input.
Wiring
| LM35DZ Pin |
Arduino Uno |
| +Vs |
5V |
| VOUT |
A0 |
| GND |
GND |
Arduino Example Code
const int sensorPin = A0;
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(sensorPin);
float voltage = sensorValue * (5.0 / 1023.0);
float temperatureC = voltage * 100.0;
Serial.print("Temperature: ");
Serial.print(temperatureC);
Serial.println(" °C");
delay(1000);
}
Note: This example assumes a 5V ADC reference. For improved accuracy, use a measured or calibrated ADC reference voltage.
ESP32 Compatibility
The LM35DZ can be used with ESP32 development boards through an analog input.
However, the LM35DZ requires a minimum supply voltage of approximately 4V, so it should not be assumed to operate correctly from the ESP32's 3.3V supply.
For ESP32 applications:
- Power the LM35DZ from a suitable 5V supply.
- Connect the sensor ground to the ESP32 ground.
- Connect VOUT to an ADC-capable GPIO.
- Ensure the analog output stays within the ESP32 ADC input limits.
- Calibrate the ADC reading for improved measurement accuracy.
Raspberry Pi Compatibility
The LM35DZ can also be used with Raspberry Pi boards through an external analog-to-digital converter.
Compatible ADC options include:
The Raspberry Pi does not provide built-in general-purpose analog inputs.
Applications
- Arduino Temperature Monitoring
- Environmental Temperature Sensing
- Electronic Thermometers
- DIY Weather Stations
- Temperature-Controlled Fans
- Home Automation
- Industrial Monitoring Circuits
- Educational Electronics
- Robotics Projects
- Analog Sensor Experiments
- Electronic Prototyping
Important Notes
-
The LM35DZ provides an analog voltage output, not a digital signal.
- It does not use I2C, SPI, or OneWire communication.
- The output voltage increases by approximately 10mV for every 1°C increase in temperature.
- The LM35DZ version is intended for approximately 0°C to +100°C operation.
- The sensor requires a 4–30V DC power supply.
- A 3.3V supply is below the specified minimum operating voltage.
- Measurement accuracy depends on ADC resolution, reference voltage, wiring, and environmental conditions.
- The sensor is not waterproof.
- Avoid exposing the sensor to excessive moisture or temperatures beyond its rated range.
- Use suitable electrical insulation when mounting the sensor near conductive surfaces.
- For applications requiring a digital interface or waterproof probe, consider an appropriate DS18B20 temperature sensor.
Package Includes
1 × LM35DZ Precision Analog Temperature Sensor – TO-92