Introduction: DIY Temperature Sensor Using Arduino and LM 35 Simple
Hi friends, Today we are going to build an temperature measuring sensor circuit around Arduino UNO microcontroller using a sensor LM35. So without wasting the time let's get started.
Step 1: Materials Required
1. Arduino UNO r3 board ( In local Electronic component store)
2. LM35 Temperature sensor
3. 16×2 LCD Module
4. 10 Kilo ohms potentiometer
5. Bread board
6. Wires for connection ( striped wires (RadioShack))
7. 220ohm Resistor
If you are ready with the above components let's get started..
Step 2: Make the Circuit
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
LCDD5 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 if you are done with the wiring. lets move further
Step 3: Get Your Software
To get it work you have to use code above. Upload it to your Arduino using the integrated development environment,
In 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:https://www.arduino.cc/en/Main/Software
Afteropening the file compile the code and upload into your Arduino board note:
Makesure that board is selected as Arduino UNO.
Or like me if you use Android phone for uploading your code the download an app called ArduinoDroid (Playstore)
Step 4: If You See Something Wrong....what You Have to Do
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.
soif you face the same problem, don't worry just adjust the potentiometer by turning it Left or Right.
sonow its testing time!!! I was feeling excited for the first power-up!!!
Step 5: 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!!