lm 35
TRANSCRIPT
![Page 1: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/1.jpg)
LM 35TEMPERATURE SENSOR
![Page 2: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/2.jpg)
Pin configuration
![Page 3: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/3.jpg)
•LM35 is a basic temperature
sensor that can be used for
experimental purpose .
•It give the readings in centigrade
since its output voltage is linearly
proportional to temperature.
•For 10mv there will be 1 degree
change in temperature.
![Page 4: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/4.jpg)
Principle of working
•A temperature sensor measures the
hotness or coolness of an object.
• The sensor's working base is the voltage
that's read across the diode.
• The temperature rises whenever the
voltage increases.
•The operating temperature range is from -
55°C to 150°C.
![Page 5: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/5.jpg)
Connecting to arduino
![Page 6: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/6.jpg)
codeint val;
int tempPin = 1;
void setup()
{Serial.begin(9600);
}
void loop()
{
val = analogRead(tempPin);float mv = ( val/1024.0)*5000;
float cel = mv/10;
Serial.print("TEMPRATURE = ");
Serial.print(cel);
Serial.print("*C");Serial.println();
delay(1000);
}
![Page 7: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/7.jpg)
• 10 bit resolution=>2^10 divisions
5000mv=1024steps
?(x mv)=reading
x mv=5000*reading/1024
10mv=1 degree C change in temp
Temp=x mv/10
![Page 8: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/8.jpg)
![Page 9: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/9.jpg)
Serial monitor output
![Page 10: Lm 35](https://reader038.vdocument.in/reader038/viewer/2022100800/58ed3dc21a28ab7d4f8b45d9/html5/thumbnails/10.jpg)
Queries?