technoesolution
Published © CC BY-NC-ND

Temperature Meter Using Arduino Uno & LM35 Sensor

Hello guy's in this post I make a digital thermometer using Arduino & lm 35 Sensor so let's make it.

IntermediateFull instructions provided1 hour520
Temperature Meter Using Arduino Uno & LM35 Sensor

Things used in this project

Hardware components

Arduino Uno
×1
LM35 Temperature Sensor
×1
I2C LCD Display (16x2)
×1
Jumper Wire
×1
Breadboard
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Circuit Diagram

Follow the circuit diagram for making a connection. I make this circuit in Easy EDA software.

<<<<< Arduino + LM 35 >>>>>

5V ----- VCC

GND ----- GND

A0 ----- Vout

<<<<< Arduino + LCD Display >>>>>

5V ----- VCC

GND ----- GND

A4 ----- SDA

A5 ----- SCL

Code

Arduino Code

C/C++
Simply Copy the following code & upload it to your Arduino IDE software.
/*
 * Hello Friends Welcome To "Techno-E-Solution"
 * Here is the code for Arduino Temperature Meter...
 * Here is the comlete making video :- https://youtu.be/-HRUJ_QBdNo
 */
 
int t=0;
int sensor = A0;
float temp;
float tempc;
float tempf;
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 2, 16);
void setup() {
pinMode(sensor,INPUT);
lcd.begin();
lcd.backlight();
lcd.setCursor (0,0);
lcd.print ("    ARDUINO     ");
lcd.setCursor (0,1);
lcd.print ("TEMPRETURE METER");
delay (3000);
Serial.begin(9600);
} void loop() {
delay(2000);
t=t+2;
temp=analogRead(sensor);
tempc=(temp*5)/10;
tempf=(tempc*1.8)+32;
Serial.println("_______");
Serial.println("Temperature Logger");
Serial.print("Time in Seconds= ");
Serial.println(t);
Serial.print("Temp in deg Celcius = ");
Serial.println(tempc);
Serial.print("Temp in deg Fahrenheit = ");
Serial.println(tempf);
lcd.setCursor(0,0);
lcd.print("Temp in C = ");
lcd.println(tempc);
lcd.setCursor(0,1);
lcd.print("Temp in F = ");
lcd.println(tempf);
}

Credits

technoesolution
23 projects • 15 followers
Youtuber | Electrical Engineer | Electronics Lover | Article Writer | Project Developer |

Comments