Temperature sensor using Arduino Uno and LM 35

Channel:
Subscribers:
3,660
Published on ● Video Link: https://www.youtube.com/watch?v=M2Kg9-WuqgY



Category:
Tutorial
Duration: 7:27
1,084 views
7


Let's interface Analog Temperature Sensor LM35 with Arduino Uno. We'll discuss how to setup hardware with circuit connection and then write Arduino code to read temperature sensor reading from LM35 in Degree Centigrade. This video also demonstrate, how to convert ADC counts into degree centigrade with LM35 Sensor. This channel has a lot more videos like this one and other electronic experiments feel free to check them and also don't forget to like, share and subscribe .... thanks :)

Like our Facebook page: https:https://www.facebook.com/ElectroBotic...​

find out more videos here: https://www.youtube.com/channel/UCvvR...​

Subscribe here: https://www.youtube.com/channel/UCvvR...

Formula for Temperature Conversion (In Degree Centigrade):

temp = analogRead(A0);

float temp = ( temp/1024.0)*5000;

float temp = temp/10;

Code:

int val;
int tempPin = 1;

void setup()
{
Serial.begin(9600);
}
void loop()
{
val = analogRead(tempPin);
float mv = ( val/1024.0)*5000;
float cel = mv/10;
float farh = (cel*9)/5 + 32;
Serial.print("TEMPRATURE = ");
Serial.print(cel);
Serial.print("*C");
Serial.println();
delay(1000);

Serial.print("TEMPRATURE = ");
Serial.print(farh);
Serial.print("*F");
Serial.println();
}







Tags:
temperature sensor
arduino temperature sensor
arduino tutorial
arduino uno
electrobotics
lm35 with arduino uno
lm35 arduino project
lm35 temperature sensor with arduino uno
arduino
circuit projects
electronics projects
circuits
circuit basics
arduino thermistor
arduino thermistor temperature sensor
how to set up a thermistor on an arduino
thermistor temperature sensor
temperature sensor tutorial
code
LM35
tmp sensor
reading
how to
directions
tutorial