Introduction: Temperature Sensor Using Arduino UNO and LM35

Picture of Temperature Sensor Using Arduino UNO and LM35

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.

Step 1: Order Your Parts(The Parts You Need)

Picture of Order Your Parts(The Parts You Need)

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...

Step 2: Connect the Arduino

Picture of Connect the Arduino

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

Step 3: 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

Step 4: If That Doesn't Work

Picture of If That Doesn't Work

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!!!

Step 5: Now Testing Time

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!!

Step 6: Further Updated One

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

Comments

gm280 (author)2017-07-08

The LM35 is used if you want Celsius degrees. You can use the LM34 if you like Fahrenheit degrees. We use to use them in our computer labs to measure circuit temperatures in real time. Redesigned and built all types of circuits and needed to do environmental studies on them. It help a lot.

About This Instructable

928views

23favorites

License:

Bio: I'm an Indian electronic project builder!
More by AravindC8:Temperature Sensor Using Arduino UNO and LM35
Add instructable to: