LM35 Sensor

LM35 Sensor Interfacing With Arduino


In this article, we discuss the LM35 temperature sensor. the lm35 sensor is analog sensor and its accuracy is good. we just interfaced the Lm35 sensor with Arduino and the reading will display in the serial monitor as well as 16×2 LCD Display and OLED Display.

The LM35 Sensor operating voltage range is 4v to 25v but we just interfaced with Arduino and given the 5v dc power source.


LM35 temperature range is -55 °C To 150 °C

The max voltage is = 1500mv

The LM35 Sensor is a 10bit ADC and is 1024-bit (0-1023)

Let’s calculate Resolution = Vref / Step Size

Vref is Arduino Output Voltage = 5v

Step Size = 1024

Motion Detection And Temperature Monitoring System Using Arduino6

  • Operating Principle: The principle of temperature-dependent voltage output. It has a linear temperature characteristic.
  • Temperature Range: Temperatures in the range of -55°C to +150°C. It has a wide operating temperature range.
  • Output Voltage: It provides an analog output voltage directly proportional to the temperature it measures. The scale factor of 10 mV/°C.
  • Accuracy: The LM35 sensor accuracy is ±0.5°C at room temperature.

Principle of Operation

  • Temperature Sensing Element: At the heart of the LM35 sensor is a temperature-sensitive element, typically made of a solid-state material such as silicon. This element exhibits a linear change in electrical properties in response to temperature variations.

lm35 sensor

  • Linear Voltage Output: Linear analog voltage output that is directly proportional to the temperature being measured. The output voltage has a scale factor of 10 mV/°C, meaning that for every degree Celsius rise in temperature, the output voltage increases by 10 mV.
  • Sensor Calibration: This calibration process establishes the relationship between temperature and the corresponding output voltage.
  • Supply Voltage: The range from 4V to 30V. It is important to provide a stable and appropriate supply voltage to ensure accurate temperature readings.
  • Output Scaling: The output voltage of the LM35 sensor is linearly scaled to represent temperature. For example, at 25°C, the output voltage of the sensor would be 250 mV, and at 50°C, it would be 500 mV. The voltage output increases or decreases linearly with temperature changes within the sensor’s operating range.
  • Interfacing and Conversion: The analog voltage output from the LM35 sensor can be easily interfaced with microcontrollers, analog-to-digital converters (ADCs), or other electronic circuits. It can be directly connected to the input of an ADC to convert the analog voltage into a digital temperature reading for further processing and analysis.

Specifications of the LM35 Sensor

  •  -55°C to +150°C Temperature Range. 
  • The output voltage has a scale factor of 10 mV/°C, meaning the voltage increases by 10 mV for every degree Celsius rise in temperature. 
  • Calibration accuracy of ±0.5°C at room temperature. However, the accuracy can vary depending on factors such as power supply voltage, self-heating, and environmental conditions.
  • 4V to 25V Power Supply Required.
  • 60 µA Current Consumption.
  • Self-Heating: The LM35 sensor has low self-heating characteristics, minimizing the impact of the sensor’s own temperature on the measured temperature.

Advantages of LM35 Sensor

  • High Accuracy
  • Linear Output
  • Wide Temperature Range
  • Low Power Consumption
  • Easy Interfacing

Disadvantage of LM35 Sensor

  • Non-Standard Output
  • Sensitivity to Noise

Application of LM35 Sensor

  • Temperature Monitoring and Control
  • HVAC Systems
  • Weather Stations
  • Industrial Process Control
  • Medical Equipment
  • Home Automation
  • Energy Management Systems
  • Automotive Applications

Example With Arduino

Circuit Diagram

Ds18B20 Sensor1111 1


Code With 16×2 LCD Display

Code With OLED Display

LM35 Sensor Interfacing With Arduino And Blutooth App

Circuit Diagram 

Circuit diagram 43


LM35 Sensor Interfacing With Arduino And GSM

Circuit Diagram 

Circuit diagram 44


LM35 Sensor Interfacing With Lilygo Board 

Lilygo Board Front And Back Image

Lilygo Board

Circuit Diagram


Circuit diagram 45




  • In this article, we interface with the LM35 sensor the response time of the sensor is good we will try with the Arduino, ESP01, ESP8266 And ESP32 microcontrollers. if you want a good response time then we suggest you used the LM35 sensor to measure the temperature.

If You are Interested In More Projects Then Plz Check Out 


Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker