Beruflich Dokumente
Kultur Dokumente
“COMPUTER CONTROLLED”
HOME APPLIANCE CONTROL
Bachelor of Technology
In
2010-2011
Department of
2. PLATFORM USED
4. BLOCK DIAGRAM
6. MICROCONTROLLER UNIT
INTRODUCTION
1
PLATFORM
USED
3
SOFTWARE REQUIREMENTS
1. Orcad for Circuit Designing
HARDWARE REQUIREMENTS
1. Microcontroller AT89C51
2. Crystal Oscillator
3. Resistor
4. Diode
5. Capacitor
6. Transistor
7. Connectors
8. Relay
9. Parallel port
4
AIM OF THE
PROJECT
5
The aim of the project is to investigate a cost effective solution that will provide
controlling of home appliances remotely. The motivation is to facilitate the users
to automate their homes having ubiquitous access.The system provides availability
due to development of a low cost system.
6
BLOCK DIAGRAM
7
BLOCK DIAGRAM
Microcontrolle
r
(AT 89C51)
FOR LED
Power Supply
DECISION Display
Electrical
and
Electronic
Equipments
Controlled
Computer
Signal
Software For
Controlling
8
WORKING OF
THE PROJECT
9
We are using the parallel port whose pins are connected to PC and
microcontroller .No. of home appliances are connected through relay to the
microcontroller port. whatever home appliance user want to on or off he can give
the instructions through a software loaded in his computer .That instruction
through parallel port appear as logic 1 or 0 to pins of the microcontroller. The
software loaded in the microcontroller will switch on and off the relay
correspondingly .In this way we can control home appliances from our computer.
MICROCONTROLLER
UNIT
11
MICROCONTROLLER AT89C51
Features
12
DESCRIPTION
13
14
15
Pin Description
VCC
Supply voltage.
GND
Ground.
Port 0
Port 0 also receives the code bytes during Flash programming and
outputs the code bytes during program verification. External pull-
ups are required during program verification.
Port 1
16
In addition, P1.0 and P1.1 can be configured to be the
timer/counter 2 external count input (P1.0/T2) and the
timer/counter 2 trigger input (P1.1/T2EX), respectively, as shown
in the following table.
Port 2
17
Port 3
RST
Reset input. A high on this pin for two machine cycles while the
oscillator is running resets the device.
18
ALE/PROG
Address Latch Enable is an output pulse for latching the low byte
of the address during accesses to external memory. This pin is
also the program pulse input (PROG) during Flash programming.
In normal operation, ALE is emitted at a constant rate of 1/6 the
oscillator frequency and may be used for external timing or
clocking purposes. Note, however, that one ALE pulse is skipped
during each access to external data memory. If desired, ALE
operation can be disabled by setting bit 0 of SFR location 8EH.
With the bit set, ALE is active only during a MOVX or MOVC
instruction. Otherwise, the pin is weakly pulled high. Setting the
ALE-disable bit has no effect if the micro controller is in external
execution mode.
PSEN
EA/VPP
19
XTAL1
XTAL2