Professional Documents
Culture Documents
(Deemed to be University)
KL UNIVERSITY
Green fields, Vaddeswaram – 522502
Guntur Dt., AP, India.
DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING
CERTIFICATE
It is great pleasure for us to express our gratitude to our honorable President Sri.
Koneru Satyanarayana, for giving the opportunity and platform with facilities in
accomplishing the project-based laboratory report.
We express the sincere gratitude to our principal Prof Dr. K. SUBBARAO for
his administration towards our academic growth.
3|Page
ABSTRACT
Measuring Temperature with lm35 and Arduino using MATLAB and Simulink
model. In this project LM35 sensor plays a crucial role by detecting the
temperature. LM35 is an integrated analogy temperature sensor whose electrical
output is proportional to Degree Centigrade. LM35 Sensor does not require any
external calibration or trimming to provide typical accuracies. LM35 is used to
measure precise centigrade temperature. The output of this sensor changes
describes the linearity. The output voltages of this sensor are linearly
comparative to the Celsius temperature. The output voltage range of this sensor is
from -55˚ to +150˚C. The output came from the LM35 sensor is stored in the
analogy input of Simulink model which is the output of the Arduino board
through Arduino. The Arduino acts as a data transformer.
4|Page
INDEX
SL. NO TITLE PAGE. NO
1. Introduction 6-9
3. Apparatus 11
4. Circuit Diagram 12
5. Block Diagram 13
6. Procedure 14 - 20
7. Formula Used 21
8. Output 22
9. conclusions 23
5|Page
INTRODUCTION
In this project the main component is LM35 sensor which plays a crucial role in detecting the
temperature. There are many types of temperature detecting sensors, they are as follows
6|Page
THERMOCOULES
THERMISTORS
7|Page
INFRARED SENSOR
An infrared sensor is an electronic instrument that is used to sense certain characteristics of its
surroundings. It does this by either emitting or detecting infrared radiation. Infrared sensors are
also capable of measuring the heat being emitted by an object and detecting motion. An infrared
sensor emits and/or detects infrared radiation to sense its surroundings. ... The basic concept of
an Infrared Sensor which is used as Obstacle detector is to transmit an infrared signal, this
infrared signal bounces from the surface of an object and the signal is received at the infrared
receiver. Infrared temperature sensors sense electromagnetic waves in the 700 nm to 14,000
nm range. While the infrared spectrum extends up to 1,000,000 nm, IR temperature sensors do
not measure above 14,000 nm. These sensors work by focusing the infrared energy emitted by
an object onto one or more photodetectors.
8|Page
the LM35 device draws only 60 µA from the supply, it has very low self-heating of less than
0.1°C in still air. The LM35 device is rated to operate over a −55°C to 150°C
temperature range, while the LM35C device is rated for a −40°C to 110°C range (−10° with
improved accuracy). The LM35 is an integrated circuit sensor that can be used to measure
temperature with an electrical output proportional to the temperature (in °C). It can measure
temperature more accurately than a using a thermistor.
9|Page
AIM OF PROJECT
To measure the temperature of any heat emitting object with the help of Arduino board using
MATLAB and Simulink model.
10 | P a g e
APPARATUS
➢ LM35 SENSOR
➢ CONNENTING WIRES
➢ ARDUINO CABLE
11 | P a g e
CIRCUIT DIAGRAM
12 | P a g e
BLOCK DIAGRAM
13 | P a g e
PROCEDURE
The following steps are to design the temperature measuring device with LM35, Arduino
Mega 2560 using MATLAB Simulink model.
14 | P a g e
Step 3: Simulink Connections
15 | P a g e
Multiply the output by 5000
16 | P a g e
Again, the divide the output by 10
17 | P a g e
Display the output which came in centigrade in display block
18 | P a g e
And then use C2F block to convert the Centigrade measurement to Fahrenheit
19 | P a g e
Again, use the display block to display the Fahrenheit measurement
Save the Simulink model and in tools option select the hardware board as Arduino mega
2560
20 | P a g e
FORMULA USED
21 | P a g e
OUTPUT
22 | P a g e
CONCLUSION
❖ LM35 operates between -55C to 150C while LM35C operates -40C to 110C.
❖ Hence with the help of LM35 sensor detected the temperature using Arduino and
MATLAB Simulink model.
23 | P a g e