Académique Documents
Professionnel Documents
Culture Documents
Submitted by
ABSTRACT
Automatic college bell system for indicating the completion of
period is a reliable circuit that takes over the manual task of switch
on/off the college bell with respect to time.
When this time equals to the programmed ON time, then the
corresponding Relay for the device is switched ON and then OFF
as per the OFF time that finally switches the load ON or OFF.
Multiple ON/OFF times entry is the biggest advantage with this
project.
Matrix keypad helps entering the time while relays used with relay
drivers for the loads.
HARDWARE COMPONENTS
POWER SUPPLY BLOCK
VOLTAGE REGULATOR (LM 7805)
MICROCONTROLLER (AT89S52)
MATRIX KEYPAD
RELAY
LCD
BC547
RESISTORS
CAPACITORS
POWER SUPPLY
Bridge rectifier
230 V
AC
50
Hz
5v Regulator
5V
DC
12V step down
transformer
Filter(470f)
MICROCONTROLLER
It is a smaller computer
Has on-chip RAM, ROM, I/O ports...
CPU
I/O
Port
RAM ROM
Serial
Timer COM
Port
A single chip
Microcontroller
External
interrupts
Int
err
upt
Con
trol
CP
U
OS
On-
chip
RO
M
for
prog
ram
code
Bus
Con
trol
Timer/Count
er
On
Tim
Co
chi
p
RA
M
1
er
Tim
unt
er
Inp
uts
4 I/O
Ports
P0 P1 P2
P3
Address
er 0
er
ia
l
TxD
P
RxD
or
Features of AT89S51/52
Compatible with MCS-51 Products
Pin Description
RELAY
IT IS A ELECTRO MAGNETIC SWITCH
USED TO CONTROL THE ELECTRICAL DEVICES
COPPER CORE MAGNETIC FLUX PLAYS MAIN ROLE HERE
Keypad
A keypad is a set of buttons arranged in a block or
the row lines are to be made low one by one and read
the columns. Assume that if Row1 is made low, then
read the columns.
If
any
of
the
key
in
row1
is
pressed
then
LCD BACKGROUND
If an 8-bit data bus is used the LCD will require 11 data lines
(3 control lines plus the 8 lines for the data bus)
The three control lines are referred to as EN, RS, and RW
EN=Enable (used to tell the LCD that you are sending it data)
RS=Register Select (When RS is low (0), data is treated as a command)
(When RS is High(1), data being sent is text data )
R/W=Read/Write (When RW is low (0), the data written to the LCD)
(When RW is low (0), the data reading to the LCD)
time
kernels,
debuggers,
simulators,
integrated
environments,
object code. Desktop compilers produce an output object code for the
underlying microprocessor, but not for other microprocessors.
i.e the programs written in one of the HLL like C will compile the
U
O
Y
K
TH A N