Temperature sensor using Arduino Uno and LM 35
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();
}
Other Videos By ElectroBotics
2022-04-14 | Doom 2 level 2 |
2022-04-11 | Doom 2 Level One |
2021-06-20 | Transistor as a switch (tutorial) |
2021-03-29 | How to build a wireless tester using BC547 transistor |
2021-03-26 | Opening Laptop Hard drive |
2021-03-19 | How to check the RAM type DDR3 or DDR4 in Windows 10 |
2021-03-17 | How to check Laptop or PC serial number / Product ID using command prompt |
2021-03-15 | How to Design DC Regulated Power Supply | #7812 IC | DIY DC #power supply design |
2021-03-12 | Running Microsoft Windows 3.0 on Laptop in 2022 |
2021-03-08 | Running Windows 95 on Core i7 Laptop |
2021-03-03 | Temperature sensor using Arduino Uno and LM 35 |
2021-03-01 | How to repair LED light bulb at home |
2021-02-26 | LED chaser using Arduino UNO |
2021-02-24 | Running Windows 1.01 (1985) on Core i7 Laptop |
2021-02-23 | History of Computer |
2021-02-21 | LED Flasher Circuit using 555 Timer IC |
2021-02-17 | how to test your internet speed |
2021-02-16 | Phone testing code |
2021-02-15 | How to check WiFi password in windows 10 |
2021-02-14 | Google secret |
2021-02-13 | How to make IR remote tester circuit |