lm 35

10

Click here to load reader

Upload: makers-of-india

Post on 12-Apr-2017

56 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Lm 35

LM 35TEMPERATURE SENSOR

Page 2: Lm 35

Pin configuration

Page 3: Lm 35

•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

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

Connecting to arduino

Page 6: Lm 35

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

• 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
Page 9: Lm 35

Serial monitor output

Page 10: Lm 35

Queries?