Skip to content

Temperature Sensing Basics

Beginning of the lesson

What is the LM35 Temperature Sensor?

The LM35 is a precision integrated-circuit temperature sensor that outputs a voltage directly proportional to the Celsius temperature. It's one of the easiest temperature sensors to use!

Key Specifications:
  • Output Scale 10mV per °C
  • Temperature Range 0°C to 100°C
  • Accuracy ±0.5°C typical
  • Operating Voltage 4V to 30V
LM35 Pin Configuration

The LM35 has only 3 pins. When looking at the flat face with text:

LM35 TEMP SENSOR Vs (+5V) Vout (Signal) GND (Ground) 1 2 3 ↓ Flat Face (with text) ↓
Pin Name Connect To
1 Vs (Power) Arduino 5V
2 Vout (Signal) Arduino A0
3 GND (Ground) Arduino GND
Interactive Circuit Diagram

This circuit shows the LM35 temperature sensor connected to Arduino Uno with an LED indicator that lights up when temperature exceeds a threshold.

Interactive visualization — available in the full lesson

Continue this lesson on YourAIZone

The full lesson has the complete explanation, worked examples, common mistakes, tests with instant checking and an AI tutor. Start right away as a guest, or create an account to keep your progress.

In the full lesson

  • The complete explanation
  • Worked examples
  • Common mistakes and how to avoid them
  • Test questions: 15
  • AI tutor that answers questions about the topic
  • Progress tracking for students, parents and teachers