Professional Documents
Culture Documents
The input is taken from a 4×3 Keypad (please see the schematic
for more information) and Display the user input on a 2×16 LCD. A pin
is assigned as output for activating and deactivating the lock. For
demonstration an LED is connected to that pin.
The user has two options either he/she can use its own 5 digit
code or use the default 5 digit code. If user has to do setup his own
code, then he has to enter “12345″ and press ‘#’. After this.. controller
will ask for 10 Digit master password which is preprogrammed in the
controller. Entering master lock, user can enter the new 5 digit code
for the lock and press ‘#’ to save it.
HARDWARE REQUIREMENTS
MICROCONTROLLER(AT89S51) UNIT
POWER SUPPLY
KEYPAD UNIT
BUZZER UNIT
SOFTWARE REQUIREMENTS
EMBEDDED C
KEIL COMPILER
SOFTWARE IMPLEMENTATION
The software used for this project is KEIL, FLASH Programmer, OrCAD and Visual
Basic6.0.
Keil is used to develop the program for AT89S51 microcontroller.
Flash programmer is used to download the program into the AT89S51 microcontroller.
OrCAD software is used to design the PCB layout.
BLOCK DIAGRAM:
TRANSMITTER SECTION
BLOCK DIAGRAM:
RECIEVER SECTION
CIRCUIT DIAGRAM
MICROCONTROLLER
The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K
bytes of in-system programmable Flash memory.
POWER SUPPLY
Power supply is a reference to a source of electrical power. A device or system that
supplies electrical or other types of energy to an output load or group of loads is called a
power supply unit or PSU.
STEP DOWN TRANSFORMER
The transformer is transferring the electrical voltage or current from one circuit into
another circuit without changing the frequency. When (0-220V) AC is applied at the
primary winding, it will step down the power supply voltage and given as(0-6V) AC in
the secondary winding as an output.
ENCODER (HT12E)
The 212 encoders are a series of CMOS LSIs for remote control system applications.
They are capable of encoding information which consists of N address bits and 12_N data
bits.
DECODER (HT12D)
The 212 decoders are a series of CMOS LSIs for remote control system applications.
They are paired with Holtek_s 212 series of encoders.
The decoders receive serial addresses and data from a programmed 212 series of
encoders that are transmitted by a carrier using an RF or an IR transmission medium.
KEYPAD SWITCHES
The key board here we are interfacing is a matrix keyboard. This key board is designed
with a particular rows and columns. These rows and columns are connected to the
microcontroller through its ports of the micro controller 8051. We normally use 8*8
matrix key board.
BUZZER
Buzzer is an electromagnet that automatically connects and disconnects many times per
minute. This will cause the vibration of the armature and creation of a buzzing sound.
APPLICATIONS
Itâ„¢s used to prevent from hacking.
It can be used in any device.
It protects any device and is very secured.