Temperature Sensor Using Arduino UNO and LM35

by AraviChow in Circuits > Arduino

9516 Views, 34 Favorites, 0 Comments

Temperature Sensor Using Arduino UNO and LM35

FB_IMG_1499510867775.jpg

Hi friends Today we are going to build an temperature measuring circuit around Arduino UNO microcontroller using a sensor called LM35. So without wasting the time let's get started.

Order Your Parts(The Parts You Need)

IMG_20170708_172245.jpg

1. Arduino UNO r3 board

2. LM35 Temperature sensor

3. 16×2 LCD Module

4. 10Kilo ohms potentiometer

5. Bread board

6. Wires to connect

7. 220ohm Resistor

If you are ready with the above components let's move on...

Connect the Arduino

LCD_Base_bb_Schem.png
IMG-20170708-WA0004.jpg

You may use the below schematic for making the connections to the arduino board to the LCD module

Even then I'll mention the connections to be made:

LCD RS pin to digital pin 12

LCD Enable pin to digital pin 11

LCD D4 pin to digital pin 5

LCD D5 pin to digital pin 4

LCD D6 pin to digital pin 3

LCD D7 pin to digital pin 2

Additionally, wire a 10k pot to +5V and GND, with it's wiper (output) to LCD screens VO pin (pin3). A 220 ohm resistor is used to power the backlight of the display, usually on pin 15 and 16 of the LCD connector.

now you are done with the wiring. lets move further

Coding the Arduino

To get it work you have to use code above. Upload it to your Arduino using the integrated development environment, for short IDE, which you can download from Arduino's official page and you are done !!

You may use the below link to download arduino software:Click Here

After opening the file compile the code and upload into your Arduino board

note: Make sure that board is selected as Arduino UNO

If That Doesn't Work

IMG-20170709-WA0001.jpg

When I made an LCD project with Arduino for the first time I faced a problem in working of the project.

All the connections were made correctly and when I powered it for the first time i saw that only few dark boxes on the LCD were appeared. so if you face the same problem, don't worry just adjust the potentiometer by turning it Left or Right.

so now its testing time!!! I was feeling excited for the first power-up!!!

Now Testing Time

DIY Temperature Sensor using LM35 Based on Arduino UNO | DEMO VIDEO

you are completed with your project Temperature Sensor with LM35 so lets test it out!!!

I tested it with my room temperature using my Air Conditioner.

Results were considerable!

Watch my video to find out the result!!

Further Updated One

Temperature sensor using LM35 ver 2

I updated the arduino code for the stability in the temperature now its much stable. Thanks friends for spending your valuable time to read my instructable.

View My Blog:

http://aravindc8.blogspot.in/2017/07/temperature-sensor-using-arduino.html