top of page

Interfacing Temperature Sensor with Arduino

Writer's picture: shrey mittalshrey mittal

Updated: Sep 28, 2024

On a sunny hot day, you all might have thought what's the temperature and might have checked on the phone. But did you ever thought that is it actually correct or not?. I also check the temperature every day but it feels like fake and I don't believe the weather forecast since what they say never happens.

So why don't we make your thermometer to check the real-time temperature at your location? Let's make a temperature device using #Arduino and #temperature sensor LM35. it comes in three edition- LM35A, LM35C, LM35D. The main difference is the temperature range-

  • LM35A has the widest range of -55 degrees Celcius to 155-degree Celcius.

  • LM35C has a lesser range of -40 degrees Celcius to 110-degree Celcius.

  • LM35D has the shortest range of 0 degrees Celsius to 100 degrees Celsius.

Hardware required:

  • Arduino board: Any Arduino board will work either in be UNO or MEGA or NANO or any other. Since all have the same functionality. We used an Arduino UNO.




  • LM35: It's a temperature sensor, you can choose any variant depending on your use.



  • A Breadboard: A breadboard is a rectangular plastic board with a bunch of tiny holes in it. These holes let you easily insert electronic components to prototype to an electronic circuit since they are internally connected as rows and columns.



  • Jumper wire: A jumper wire is an electrical wire, or group of them in a cable, with a connector or pins at each end used to connect component, sensors, etc to a breadboard they are of three types male to female, female to female, and male to male.here we need male to male jumper wires.




Circuit :



You just have to connect LM35 to an Arduino board in this simple way: -