• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Datasheets and Components / LM35 Pinout, Datasheet, Application Circuit

LM35 Pinout, Datasheet, Application Circuit

Last Updated on May 18, 2026 by Swagatam 27 Comments

In this post I have explained how to make an LM35 application circuit by understanding its datasheet, pinouts and other technical specifications.

Table of Contents
  • LM35 Main Specifications
  • Pinout Details
  • Technical Specifications and Features
    • Details Explanation
    • Block Diagram and Internal Functioning
    • Using a Heatsink
    • Temperature Detector Circuit Using LM35 IC
  • LM35 Relay Control Circuit
    • Parts List

By: SS kopparthy

LM35 Main Specifications

The IC LM35 is a temperature measuring device that looks like a transistor (most popular package is TO-92 package).

This device is found in most of the circuits that need to measure temperature as this device is a low-cost, reliable and with an accuracy as high as +-3/4 degrees Celsius.

The low cost of the sensor is because of its wafer-level trimming and calibration.

This IC is much better than the thermistor due to the accuracy in temperature measurement.

LM35 pinout diagram

Pinout Details

As you can see in the above figure, the LM35 IC consists of three pinouts:

  • The left pin is the Vcc pinout which accepts a +4V to +20V input DC.
  • The center pin is the OUT pin of the LM35, which generates the varying output voltage in response to the varying ambient temperature or the temperature around its case.
  • The right side pin is the ground pin which must be connected to the ground line of the circuit.

The sensor can work anywhere from -55 to 150 degrees Celsius.

The output temperature is directly proportional to the temperature change in Celsius. Also the other variant LM35C is available and its temperature range is -40 to 110 degrees Celsius.

Technical Specifications and Features

  • Internally calibrated to generate readings directly in Celsius (Centigrade)
  • Features a linear + 10-mV/°C scale factor
  • Ensures high detection accuracy of 0.5°C (at 25°C)
  • Capable of operating within the full temperature range between -55°C to 150°C
  • Operates within the range of +4 V to +30 V
  • Demonstrates a minimal current drain of less than 60 μA
  • Exhibits low self-heating, measuring 0.08°C in still air
  • Shows non-linearity of only ±¼°C on average
  • Provides a low-impedance output, measuring 0.1 Ω for a 1-mA load

Details Explanation

This device gives out 10mV per degree Celsius rise in temperature.

This device consumes just 60µA current. So it does not drain much of power from the battery or power source.

Also, due to this low current, self heating of the device is as low as 0.1°C.

Other variants of this device that have different packages are also available such as TO-46 and TO-220.

These work same as the traditional one but differ in their usage areas and feasibility for a particular application.

For example, TO-46 metal package can be used to measure surface temperature as the metal package can be directly kept in contact with the surface whose temperature needs to be measured, while the TO-92 package could not as the device measures the temperature mostly based on the temperature of the terminals of the device as metal terminals conduct more temperature than the plastic casing.

Hence the TO-92 packaged LM35 is used to measure air temperatures in most of the circuits.

Block Diagram and Internal Functioning

LM35 block diagram

The above image shows the internal block diagram of the IC LM35. Here we can see that the IC is internally configured around a couple of opamps A1 and A2.

The first op-amp A1 is configured as an accurate temperature sensor through a feedback loop formed by a couple of BJTs configured as a current mirror.

The current mirror ensures a perfectly linear and a stabilized rate of temperature detection and prevents false triggering or inaccurate temperature readings at the output.

The sensed temperature is produced at the emitter side of the current mirror at a rate of 8.8mV per degree Celsius.

The output is applied to a buffer stage using another opamp A2 which is configured as a high impedance voltage follower.

This A2 stage acts as a buffer to reinforce the temperature to voltage conversion, and presents it at the final output pin of the IC via another high impedance BJT stage configured as an emitter follower.

The final output thus becomes highly isolated from the actual temperature sensor stage and delivers highly accurate temperature sensing response, which can be used by the user with an external switching stage such as a relay driver stage or a triac.

Using a Heatsink

The LM35 sensor IC can also be soldered to a heatsink fin to increase the accuracy and to decrease the sensing and response time in slowly moving air.

To understand much better, let’s take a look at the following circuit that uses LM35 to give an indication when the temperature is above the specified level:

LM35 circuit uses an op-amp IC741 to give an indication

Temperature Detector Circuit Using LM35 IC

The LM35 circuit uses an op-amp IC741 as comparator. The op-amp is configured as an non-inverting amplifier.

That means when the LM35 detects high temperature, the output of the op-amp becomes +ve and the red LED lights up and the temperature falls below the specified level, the output of op-amp becomes –ve and the green LED lights up.

The high temperature level can be set with the help of preset in the circuit.

To set the temperature level for which the red LED lights up, you need to know the actual temperature where the circuit is being tested. For that you can use a multimeter.

As we know that the LM35’s output voltage increases 10mV per degree Celsius rise in temperature, we can use the multimeter to measure the output voltage and for example the voltage is 322mV, then the temperature at the place is 32.2°C.

You can even test the IC if it’s working or not using the above procedure. You can measure the actual temperature using an atmospheric thermometer and compare it with the values obtained with the LM35. You might not get the exact values but you should get close values.

LM35 Relay Control Circuit

An accurate LM35 based temperature controller can be built for controlling an external load such as a heater or a fan by attaching a relay driver stage to our previous as shown below:

LM35 temperature controller circuit with relay

After understanding how the above LM35 circuit works, you should have understood how LM35 works practically in circuits.

Parts List

  • Resistors
  • 10K 1/4 watt CFR = 2nos
  • 4.7K 1/4 watt CFR = 1no
  • Trimpot 4.7K = 1no
  • Diode 1N4007 = 1no
  • Transistor BC547 = 1no
  • IC 741 = 1no
  • IC LM35 = 1no
  • LED 5mm RED = 1no
  • Relay 12V 400 Ohm = 1no

You'll also like:

  • 78h12a pinout diagram12V 5 Amp Fixed Voltage Regulator IC 78H12A Datasheet
  • TIP127 internal Darlington configurationTIP127 Datasheet [100V, 5 Amp PNP Darlington Transistor]
  • 188transistordatasheetBEL188 Transistor – Specification and Datasheet
  • ssr 3220V Solid State Relay (SSR) Circuit using Triac and OptoCoupler

Filed Under: Datasheets and Components Tagged With: Application, Datasheet, LM35, Pinout

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!



Previous Post: « Speed Dependent Brake Light Circuit
Next Post: Motorcycle Accident Alarm Circuit »

Reader Interactions

Questions & Answers

Total Posts: 27
Newest Oldest
Malcolm
May 6, 2026 • 3 months ago #206524

Hi
I’ve assembled the lm35 relay circuit except with an LM358 and a 2n3906 transistor controlling the relay. I’m using the circuit to turn a 60w light bulb on and off to keep my home brew at the right temperature. Everything works well except the relay chatters turning on and off. I’m thinking the 23 litres of home brew sits at the transition temperature for quite a while before changing enough to flick the relay one way or the other. I think I need to add hysteresis as described in a comment above. But how do I work out the resistor size between pin one and pin 3. The ideal home brew temp is around 20c I guess turn the light on 19c turn it off 20c. I found an online hysteresis calculator but it gave me results with many decimal points probably because the difference is .1v which isn’t much.

Reply
SwagatamAdmin
May 6, 2026 • 3 months ago #206528

Hi, yes that’s happening because the BJT response is not sharp like an opamp, rather an analog response.
You won’t need an hysteresis to stop the relay chattering.
You can simply solve it by attaching a 100uF capacitor between base and ground of the BJT, that’s all, and additionally you can also connect another 100uF across the relay coil, to make the response even smoother….

Reply
Malcolm
May 7, 2026 • 3 months ago #206548

Thanks for your help.

Reply
Joao Francisco de sousa
April 3, 2026 • 4 months ago #203972

boa noite , tudo bem?. tenho uma duvida, ate quanto cm eu posso usar de cabo para ligar o LM35 placa. pois tenho a ideia de construir um projeto para arrefecimento do meu amplificador de potencia de som. pois pretendo fixar o LM35 no mesmo dissipador de calor onde está fixado os transistores.

Reply
SwagatamAdmin
April 3, 2026 • 4 months ago #203978

Yes, the LM35 can be connected with short shielded wires, preferably below 1 meter for best stability. A few tens of centimeters normally will cause no issue. Mounting it on the same heatsink as the power transistors is the correct way but make sure it has good thermal contact and electrical insulation if required…..

Reply
Mandla
October 3, 2022 • 4 years ago #133687

Hi sir
I want to do a wax melting subsystem. I want to regulate the ambient temperature inside of a dispensing canister.

Now this requires two temperature inputs. The first input is to be implemented using the lm35 sensor and the second is to implemented as a variable dc used to emulate the ambient temperatures. The average of the two inputs should control a heating element. Can you help me with this.

Reply
SwagatamAdmin
October 4, 2022 • 4 years ago #133692

Hi Mandla,

Sorry, the working concept of your application looks difficult to me, so I might not be able to provide a proper help for this project!

Reply
Joseph Tambwe
June 16, 2022 • 4 years ago #126130

Hi sir,
1) If I put 10k at R4 what can change in to the circuit working?
2) Is it possible to include a second variable Resistance like the R4 in order to have the high and low limites of temperature?

Thank you for your help.

Joseph

Reply
SwagatamAdmin
June 16, 2022 • 4 years ago #126665

Hi Joseph,

Yes you can replace R4 with a 10K preset
You can add an additional preset to set the low level restoration point, using the following modification:

LM35 temperature control with high low setting

Reply
Joseph
June 16, 2022 • 4 years ago #126846

A big thank for your help Sir.

Joseph

Reply
SwagatamAdmin
June 16, 2022 • 4 years ago #126848

It’s my pleasure Joseph.

Reply
Milthon
June 7, 2021 • 5 years ago #90787

How can I understand the inscription in the TO92 packge, for instance: 52AB or 850RC if i have same reference LM35DZ by National? Thanks.

Reply
Miggy
April 12, 2021 • 5 years ago #88412

Can an lm35 be used as a transistor or is it only for temperature measurement?

Reply
SwagatamAdmin
April 12, 2021 • 5 years ago #88415

it can be used only as a temperature sensor.

Reply
Miggy
April 12, 2021 • 5 years ago #88419

thank you for the reply.

Reply
Pooja
November 3, 2019 • 7 years ago #71712

Is it complicated to design lm35 sensor circuit n if we design, how much efficiency we could get n whether any changes in output compared to lm35 sensor

Reply
SwagatamAdmin
November 3, 2019 • 7 years ago #71715

It is very simple to build a temperature sensor with LM35, and the efficiency can be expected to be optimum and as per the expected results. The output tripping will be very accurate if the op amp is set correctly.

Reply
ALIYU YAKUBU
August 8, 2019 • 7 years ago #69085

please i a student i want make a temperature control standing fan but i was thinking of using thermistor as a sensor but i come across this site while searching on google i need some advice of the the sensor choice my regard

Reply
SwagatamAdmin
August 9, 2019 • 7 years ago #69102

You can try the last circuit from the above article. Adjust the preset until the relay just clicks ON at the desired warm atmospheric temperature. Now keep the unit near a fast moving fan and check whether the relay clicks OFF or not.

Reply
Aliyu NASIR YAKUBA
September 2, 2019 • 7 years ago #69834

Thanks I did it with LM35 and everything is working also as stated LM35 output is exactly 10mv per centigrade and there is no heating at all and very sensitive

Reply
SwagatamAdmin
September 2, 2019 • 7 years ago #69841

Glad you could solve it….hope you enjoy the circuit now!

Reply
Samoethong
April 16, 2019 • 7 years ago #66500

Why lm35 is very easy damaged during testing at first I used 5 volt input and measured wit DMM at output was millivolt 10mv/c° was corrected, after I tested many times output voltage became many thousands millivolt and not correct.

Reply
SwagatamAdmin
April 16, 2019 • 7 years ago #66502

Sorry, that shouldn’t happen. At 5V across pin#1 and #3 can never damage the IC no matter how many times you connect as long as the polarity is right. Sometimes the device is duplicate in quality and may cause such problems.

Reply
Aneesh ms
April 1, 2018 • 8 years ago #59479

I make this circuit and working fine.but in few seconds the ic75 become too hot.what is the reason?i used 12 volt 1amp transformer supply .and converted it in to dc

Reply
SwagatamAdmin
April 1, 2018 • 8 years ago #59480

That is strange, because the IC is rated to easily work with 12V….try using a 7812 IC for the whole circuit and check again.

Reply
Emmet Romo
November 1, 2017 • 9 years ago #55456

The circuit doesn´t work.

Reply
SwagatamAdmin
November 1, 2017 • 9 years ago #55457

find the mistake in your circuit, it will surely work…do it stagewise

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

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

Primary Sidebar



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (89)
  • Datasheets and Components (109)
  • Electronics Theory (150)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (100)
  • Lamps and Lights (163)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |



Recent Comments

  • Swagatam on Programmable 35238-MP Timer Module? How to Use it
  • Swagatam on How to Build a Simple Egg Incubator Thermostat Circuit
  • Swagatam on 4 Simple Transformerless Power Supply Circuits Explained
  • Joe Hopkins on Programmable 35238-MP Timer Module? How to Use it
  • ThankGod on How to Build a Simple Egg Incubator Thermostat Circuit

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

© 2026 · Swagatam Innovations