TEMPERATURE SENSOR

 TEMPERATURE SENSOR

                                                                  The temperature sensor is used to detect the surrounding temperature. It is a thermocouple which is made up of two dissimilar metals. The changes in the environmental temperature are converted into the equivalent electrical voltage. This output electrical voltage will be in the form of analog signal. In Order to make it digital signal here the OP-AMP 741 is used which is a single bit comparator. We can interface temperature sensor with Arduino to automatically identify the temperature changes.





Application:

  • It can be used as a Temperature Sensors For Heating Systems Control.
  • It can be used in Measuring of Temperature in A Room.
  • It can be used as Regulation Systems.
  • It can be used in Measurement Of Supply of  Air Temperature.

Sample Project With Arduino:

                               In this we going to know the temperature of our surrounding by using the temperature sensor LM35.

Materials required:

  • Arduino board any version
  • LM35 temperature sensor
  • Jumper wires

Circuit:



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 Monitor Output:





















Comments

Popular posts from this blog

Voice Record & Playback Module

GSM Sim800L

GPS