You are on page 1of 13

TEMPERATURE CONTROLLER

CUM INDICATOR
WHOLE SYSTEM OVERVIEW
Interfacing of temperature
sensor with A to D conveter
• LM35DZ is a centigrade temperature
sensor.The output of LM35 is 10mv per
degree centigrade.The output of the
sensor is fed to ADC0804 .
• ADC0804 is an 8 bit analog to digital
converter.Reference voltage for ADC0804
is set to 1.28 by 2k trimmer pot and zener
diode as shown in figure.
• the Vref is equal to 2.56 which gives the
resolution of 10mv.From this discussion
we can conclude that the output data of
the converter directly gives the value of
measured temperature in centigrade.
Interfacing of 89c51 with seven
segment display
Interfacing of A to D conveter with
89c51
• The INTR pin of A to D converter is connected
to the int0 pin of 89c51.
• The INTR pin goes high to low when valid data
bytes is placed on the the output pins.
• This high to low transition interrupts the 89c51
which in turn reads the data bytes from the port2
in the interrupt service routine.
• Handshaking signals like wr,rd,cs for converter
are generated on port3 as shown in fig.
.
Interfacing of push buttons with
89c51
• Push button are used to set the cutoff
temperature.
• There are three push buttons one for to select
the set mode which is connected to the p0.0 .
The low on p0.0 force 89c51 to operate in set
mode to set cutoff temperature .
• Others two are connected to the p0.1 and p0.2
which are used to increment and decrement the
cutoff value respectively.
Interfacing relay circuit with
controller
• The output to control the external device is
available on p3.4.It is used to drive a
darlington pair transistor form by Q1 and
Q2 .The output of the darlington pair
drives the relay.
4 Software description
Operating Manual
• 1.Gives the A.C main and turn the device on.
• 2.Initially cutoff temperature is set to 50 C’ and the
current temperature is displayed on the display
• 3.If the temperature is not displayed after starting the
device then press “reset” button.
• 4.To enter the value for cutoff temperature press “set”
button.
• 5.Keeping “set” button pressed press increment button
to increment or press decrement button to decrement the
value.
• 6.After entering the cutoff temperature, release “set”
button.Now device will operate in normal mode

You might also like