Professional Documents
Culture Documents
| eieCon2012
14
Samuel Ndueso John, 2Charles Ndujiuba, 3Oladeinde Ifedayo Oluwaseyi, 4Ibeanu Charity Onyinye
1,2,3,4
Department of Electrical and Information Engineering, Covenant University, Ota, Ogun State
Keywords:
Temperature,
Sensor,
Control, Microcontroller, Real Time.
Display,
types
of
buildings
and
different
INTRODUCTION
Section 2 gives a more detailed statement of the
PROBLEM STATEMENT
object
is
temperature. [2]
adjusted
to
achieve
desired
EIEs 2nd Intl Conf.Comp., Energy, Net., Robotics and Telecom.| eieCon2012
PROJECT SIGNIFICANCE
15
START
which
senses
the
temperature
of
LITERATURE
REVIEW OF THE
PROJECT
the
PIC
MICROCONTROLLER
PROGRAM
the
manufactured.
Nuclear
Plants
quality
Office
and
of
the
product
Buildings,
being
Pharmaceutical
CIRCUIT AND
PROGRAM TESTING
PIC BASIC
CIRCUIT
CONNECTION
Auditoriums,
Industries,
NO
SUCCESS
SENSOR &
OUTPUT
CONNECTION
YES
COMBINING
HARDWARE &
SOFTWARE
TESTING
TEMPERATURE
CONTROL
SYSTEM
NO
NO
SUCCESS
SUCCESS
YES
YES
Temperature Sensor
Range
(-)70C - 150C
Accuracy
0.5C
END
LCD
Operating Temperature
(-)30C - 75C
Operating Voltage
5V
the system
5
SYSTEM DESIGN
METHODOLOGY
EIEs 2nd Intl Conf.Comp., Energy, Net., Robotics and Telecom.| eieCon2012
16
LCD
TEMPERATURE
SENSOR
ADC
MICRO
CONTROLLER
FAN
Figu
re 3.1: Temperature Controller Hardware Block
Diagram
The microcontroller, PIC18F452, is the heart of the
system. It accepts inputs from a semiconductor type
temperature sensor, LM35 which allows for the
measurement of the current room temperature, and it
is then displayed using LCD. All these inputsand
outputs are accommodated by parallel ports on the
microcontroller. Finally, a pulse-width modulation
(PWM) output on the microcontroller is used to drive
The fan always gets full 12V when turned on. The
pulse width (length) defines the fan power.The power
is the relation between the duty cycle and off time.
The duty cycle is linearly proportional to the fan
speed.Figure 3.3 shows the relation between the
PWM pulse and the fan speed. The green line
indicates the fan speed.
EIEs 2nd Intl Conf.Comp., Energy, Net., Robotics and Telecom.| eieCon2012
17
Set 200ms
delay
START
The power needed to operate this system requires
transformation
and
rectification.
Full
Display
PRESENT
TEMP
Initialize LCD
wave
Configure
PORTA pins
as input
Set 200ms
delay
Configure the
ADC modules
Read and
Display current
temperature in C
Clear Display
END
before
implementation.
The
software section.
Unit
Microcontroller Application Development
Software
on
temperature
the
control
PIC18F452
algorithm,
implements
the
maintains
the
Bread
boarding
of
the
peripheral
hardware,
system.
EIEs 2nd Intl Conf.Comp., Energy, Net., Robotics and Telecom.| eieCon2012
18
Printed-Circuit Board
REFERENCES
CONCLUSION
simple
experimentation
(for
model