Arduino Temperature Measurement

Definition

A temperature is an objective comparative measure of hot or cold. It is measured by a thermometer, Several scales and units exist for measuring temperature, the most common being Celsius (denoted °C; formerly called centigrade), Fahrenheit (denoted °F), and, especially in science, Kelvin (denoted K).

LM35 Temperature Sensor

The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature.

Components Used
1. LM35
2. Arduino Uno
3. Connecting Wires
Sensor Output:
Sensor gives linear + 10.0 mV/°C scale factor, as per that we have set the calibration in program
Vref=5V
ADC Count for 1°C = 10m/(5/1024) = 2.048
Temperature=ADC Count/2.048

Arduino Circuit for Temperature measurement

LM35 Temperature Sensor Arduino
LM35 Temperature Circuit

Arduino Code for Temperature measurement

Results

Open the Serial Monitor from (Tools>>Serial Monitor), you will see the temperature in serial monitor. There is another sensor called DHT11 which can be used for measurement of both temperature and humidity in single package.

LM35 Sensor Output Result
LM35 Sensor Output Result

 

Leave a Reply

Your email address will not be published. Required fields are marked *