Submitted By: Batch 11
Submitted By: Batch 11
(Deemed to be University)
On MAJOR PROJECT
KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dist., AP, India.
1|Page
DEPARTMENT OF BASIC ENGINEERING SCIENCES-1
CERTIFICATE
PRAVEENA
ASSISTANT PROFESSOR ASSISTANTPROFESSOR
2|Page
ACKNOWLEDGEMENTS
I express the sincere gratitude to our principal Prof. Dr. SUBBA RAO for his
administration towards our academic growth.
I express my sincere thanks to our project supervisor MS. PRAVEENA for his/her
novel association of ideas, encouragement, appreciation and intellectual zeal which
motivated us to venture this project successfully.
3|Page
INDEX
1.Abstract
2.Introduction
3.Circuit diagram
4.Principle or Methodology
5.Architecture of project
6.Components required
7.Working
8.Code
9.Output
10.Advantages and disadvantages
11.Future scope
12.Conclusin
13.References
TABLE OF CONTENTS
1. ABSTRACT 6
4|Page
2. INTRODUCTION 7-13
3. CIRCUIT DIAGRAM 14
4. ARCHITETURE OF PROJECT 18
8. OUTPUT 27
11. CONCLUSION 31
ABSTRACT
This project is a standalone automatic fan speed
5|Page
closed-loop feedback-control system efficient and reliable. The
6|Page
INTRODUCTION TO ARDUINO
BOARD
Defining Arduino: Arduino is an open-source prototyping platform in
electronics based on easy-to-use hardware and software. Subtly
speaking, Arduino is a microcontroller based prototyping board which
can be used in developing digital devices that can read inputs like finger
on a button, touch on a screen, light on a sensor etc. and turning it in to
output like switching on an LED, rotating a motor, playing songs
through a speaker etc
7|Page
The aim of Arduino is to introduce the world of electronics to people
who have small to no experience in electronics like hobbyists, designers,
artists etc.
Arduino is based on open source electronics project i.e. all the design
specifications, schematics, software are available openly to all the users.
Hence, Arduino boards can bought from vendors as they are
commercially available or else you can make your own board by if you
wish i.e. you can download the schematic from Arduino’s official
website, buy all the components as per the design specification,
assemble all the components, and make your own board.
The Arduino tool window consists of the toolbar with the buttons like
verify, upload, new, open, save, serial monitor. It also consists of a text
editor to write the code, a message area which displays the feedback like
showing the errors, the text console which displays the output and a
series of menus like the File, Edit, Tools menu. Thus the code is
uploaded by the bootloader onto the microcontroller.
8|Page
LM35 is a temperature measuring device having an analog
output voltage proportional to the temperature.
It provides output voltage in Centigrade (Celsius). It does not
require any external calibration circuitry.
The sensitivity of LM35 is 10 mV/degree Celsius. As
temperature increases, output voltage also increases.
Pin Description
VCC: Supply Voltage (4V – 30V)
Out: It gives analog output voltage which is proportional to
the temperature (in degree Celsius).
GND: Ground
9|Page
Application Setup
10 | P a g e
INTRODUCTION
The project is based on the working of temperature controller using
LM35 and fan ascooler. The circuit automatically senses the
temperature and works normally within a particulartemperature range.
Above that range the sensor produces a signal and automatically turns
on thecooling fan to control the testing temperature. 0-100°C electronic
temperature controlled relay isa circuit using which the temperature can
be controlled with the help of a LM35 temperaturesensor.The LM35
11 | P a g e
series are precision integrated-circuit temperature sensors, whose output
voltage islinearly proportional to the Celsius (Centigrade) temperature.
The LM35 thus has an advantage
over linear temperature sensors calibrated in˚ Kelvin, as the user
is not required to
So that’s all info you need about LM35 for this particular
temperature display project using arduino uno. So lets get to
LM35 temperature sensor interfacing with arduino!
12 | P a g e
Note:- LM35 is an analog temperature sensor. This means the
output of LM35 is an analog signal. Microcontrollers dont
accept analog signals as their input directly. We need to convert
this analog output signal to digital before we can feed it to a
microcontroller’s input. For this purpose, we can use an
ADC( Analog to Digital Converter).If we are using a basic
microcontroller like 8051, we need to use an external ADC to
convert analog output from LM35 to digital. We then feed the
output of ADC ( converted digital value) to input of 8051. But
modern day boards like Arduino and most modern day micro
controllers come with inbuilt ADC. Our arduino uno has an in
built 10 bit ADC (6 channel). We can make use of this in built
ADC of arduino to convert the analog output of LM35 to digital
output. Since Arduino uno has a 6 channel inbuilt ADC, there
are 6 analog input pins numbered from A0 to A5. Connect
analog out of LM35 to any of these analog input pins of arduino.
13 | P a g e
CIRCUIT DIAGRAM
14 | P a g e
METHODOLOGY:
All the modules used in the above block diagram are
integrated. The fan speed can be monitored by the variation
of temperature. Basic concept of this project is to getting the
temperature, displaying the temperature and temperature
change is reflected as vary in fan’s speed. Here temperature
sensor used in the project is LM35 and the o/p of this sensor
is given to analog to digital converter. The complete working
is allowed or not can be decided by external interrupts.
Temperature sensor LM35 is interfaced with the 8051
microcontroller’s analog pin because, temperature sensor
changes temperature into voltage. Here temperature sensor
should be interfaced correctly to the microcontroller in
order to get correct reading. The speed of the fan can be
decided by the temperature examine by the microcontroller.
15 | P a g e
Microcontroller controls the DC fan using the IC L293D
motor control. This IC L293D is a dual H-bridge motor
driver used to control the speed and direction of DC motor.
It also offers isolation between microcontroller and motor.
Motor speed can be controlled by using the pulse width
modulation (PWM) technique. The proposed system is also
provided with auto or manual switch which gives the option
to user to control the speed of fan. When the button is
pressed, the speed can controlled by manually that means
user can control the fan speed manually. An LED can also
be connected at RC1 to demonstrate the status of auto or
manual switch. If light emitting diode is blinking, it means
the fan control is manual. So finally we can conclude that,
when the power supply is given to the entire circuit then the
microcontroller reads the surrounding temperature of fan.
The analog value of the temperature is given by the sensor
and applied to the ADC pin of microcontroller. The value of
analog is changed to the digital by the microcontroller
internally. If the temperature is superior to the threshold
value, then microcontroller sends a signal to the controller to
turn ON the motor. Thus fan starts rotating.
16 | P a g e
The temperature sensor used in the proposed system is
LM35. The o/p of this temperature sensor is linearly
proportional to the Celsius scale. This IC doesn’t need any
external calibration to give accuracies. The main function of
the temperature sensor in the proposed system is to detect
the temperature of external environment of fan. The
properties of temperature controlled fan mainly includes the
following When the temperature surpasses 25 ᵒ C then fan
should run at max speed. When the temperature drops
below 25 ᵒ C then fan should be stopped.
17 | P a g e
ARCHITECTURE OF THE PROJECT
The entire project can be divided into three basic blocks;
18 | P a g e
COMPONENTS REQUIRED:
In this project we have used the arduino and ohmmeter along
with the jumping wires and the resistors and details list of the
hard ware components are
19 | P a g e
LM 35
20 | P a g e
CONNECTING WIRES
POWER SUPPLY
21 | P a g e
DC FAN
WORKING
22 | P a g e
Temperature sensor LM35 is interfaced with the 8051
microcontroller’s analog pin because, temperature sensor
changes temperature into voltage. Here temperature sensor
should be
23 | P a g e
circuit then the microcontroller reads the surrounding
temperature of fan. The analog value of the temperature is given
by the sensor and applied to the ADC pin of microcontroller.
The value of analog is changed to the digital by the
microcontroller internally. If the temperature is superior to the
threshold value, then microcontroller sends a signal to the
controller to turn ON the motor. Thus fan starts rotating. The
temperature sensor used in the proposed system is LM35. The
o/p of this temperature sensor is linearly proportional to the
Celsius scale. This IC doesn’t need any external calibration to
give accuracies. The main function of the temperature sensor in
the proposed system is to detect the temperature of external
environment of fan. The properties of temperature controlled fan
mainly includes the following
24 | P a g e
ARDRIUNO CODE:
void setup()
pinMode(A0,INPUT);
pinMode(9,OUTPUT);
Serial.begin(9600);
void loop()
int x=analogRead(A0);
float temp=(x/(2.048));
if(temp<=25)
analogWrite(7,0);
analogWrite(7,50);
25 | P a g e
analogWrite(7,100);
analogWrite(7,150);
analogWrite(7,200);
analogWrite(7,250);
analogWrite(7,300);
analogWrite(7,350);
analogWrite(7,400);
else
analogWrite(9,500);
26 | P a g e
}
Serial.println(temp);
27 | P a g e
OUTPUT
28 | P a g e
ADVANTAGES:
Following are the advantages of temperature sensor :
➨Thermocouple measures temperature in -200 oC to +2500oC
range, RTD measures in -200oC to +850oC range, thermistor
measures in -100oC to +260oC range and IC sensors measures in
-45oC to 150oC range.
➨(Advantages of thermocouple are): No external power
required, simple and rugged in construction, cheaper, support for
wider temperature range etc.
➨(Advantages of RTD are ): More stable, higher accuracy,
more linearity compare to thermocouple
➨(Advantages of thermistor are): Higher output, faster in
operation
➨(Advantages of IC sensor are): Highest output, cheaper, most
linear than all types
29 | P a g e
DISADVANTAGES
Following are the disadvantages of temperature sensor :
➨(Disadvantages of thermocouple are): Non linearity, least
stability, Low voltage, Reference is needed, least sensitivity etc.
➨(Disadvantages of RTD are ): Lower absolute resistance,
expensive, current source needed, less rugged compare to
thermocouples etc.
➨(Disadvantages of thermistor are): Nonlinearity, limited
support for temperature range, current source needed, fragile,
self heating etc.
➨(Disadvantages of IC sensor are): Power supply needed,
slower in operation, self heating, limited configurations,
temperature upto 150oC etc.
30 | P a g e
FUTURE SCOPE
We can monitor more parameters like humidity,light and at
the same time control them
31 | P a g e
CONCLUSION:
This Temperature controlled Lights circuit can be useful in
many ways, like it can work as temperature indicator or it can
trigger any device like fan or alarm beyond a particular
temperature. It can also work as fire alarm if you set the
threshold temperature very high like 100 Degree Celsius. In this
circuit you will also learn about how to use LM35 sensor in any
circuit. LM35 is very popular and inexpensive temperature
sensor generally used as digital thermometer or to measure
temperature.
32 | P a g e
REFERENCES
[1] M. S. Nowak and J. Smigielski, “The Prevalence and Causes
of Visual Impairment and Blindness among Older Adults in the City of
Lodz, Poland.” Medicine, vol 94, number 5, pp. e505, February 2015
doi:10.1097/MD.0000000000000505
[2] G. Gayathri, M. Vishnupriya, R. Nandhini and M. Banupriya
“Smart Walking Stick for Visually Impaired.” International Journal of
Engineering and Computer Science, vol. 3, number 3, pp. 4057-4061,
2014.
[3] R. Radhika, P.G. Pai, S. Rakshitha and R. Srinath
“Implementation of Smart Stick for Obstacle Detection and
Navigation.”
International Journal of Latest Research in Engineering and
Technology, vol. 2, number 5, pp. 45-50, 2016.
[4] M.H. Mahmud, R. Saha and S. Islam “Smart Walking Stick –
An Electronic Approach to Assist Visually Disabled Persons.”
International Journal of Scientific and Engineering Research, vol. 4,
number 10, pp. 111-114, 2013.
[5] A. Jose, G. George, M.R. Nair, M. J. Shilpa and M. B. Mathai
“Voice Enabled Smart Walking Stick for Visually Impaired.”
33 | P a g e
International Journal of Advanced Research in Electrical, Electronics
and Instrumentation Engineering, vol. 5, pp. 80-85, 2016.
[6] R. Sheth, S. Rajandekar, S. Laddha and R. Chaudhari “Smart
White Cane – An Elegant and Economic Walking Aid.” American
Journal of Engineering Research. Vol. 3, number 10, pp. 84-89, 2014.
[7] C.S. Kher, Y.A. Dabhade, S.K Kadam., S.D. Dhamdhere and
A.V. Deshpande “An Intelligent Walking Stick for the Blind.”
International Journal of Engineering Research and General Science, vol.
3, number 1, pp. 1057-1062, 2015.
[8] B.G. Roopashree, B.S. Patil and B.R. Shruthi “Smart
Electronic Stick for Visually Impaired.” International Journal of
Innovative
Research in Science, Engineering and Technology, vol. 4, number 7,
pp. 6389-6395, 2015.
[9] O. O. Olakanmi, “A Multidimensional Walking Aid for
Visually Impaired Using Ultrasonic Sensors Network with Voice
Guidance",
International Journal of Intelligent Systems and Applications (IJISA),
vol. 6, number 8, pp. 53-59, 2014. DOI:
10.5815/ijisa.2014.08.06
[10] E. J. Chukwunazo and G. M. Onengiye “Design and
Implementation of Microcontroller Based Mobility Aid for Visually
Impaired
34 | P a g e
People.” International Journal of Science and Research. Vol. 5, issue 6,
pp. 680-686, 2015. Available at
http://dx.doi.org/10.21275/v5i6.NOV164233.
[11] G. Prasanthi and P. Tejaswitha “Sensor Assisted Stick for the
Blind
35 | P a g e