Académique Documents
Professionnel Documents
Culture Documents
In this project, we have explained a simple Electronic code lock using 8051 Microcontroller,
which can only be unlocked by a predefined code, if we enter the wrong code, the system
alerts by siren the buzzer.This system mainly contains AT89S52 microcontroller, keypad
module, buzzer and LCD. At89s52 microcontroller controls the complete processes like taking
password form keypad module, comparing passwords predefined password, driving buzzer
and send status to LCD display. Keypad is used for inserting password into the microcontroller.
Buzzer is used for indication of wrong password and LCD is used for displaying status or
messages on it. Buzzer has inbuilt driver by using a NPN transistor.
Expected Outcome
The expected outcome is that the door/lock is successfully open using this project by entering the
code through number pad. Traditional lock systems using mechanical lock and key mechanism
are being replaced by new advanced techniques of locking system.
Components Used
The components used in this project are following;
8051 Microcontroller (AT89S52)
4X4 Keypad Module
Buzzer
16x2 LCD
Resistor (1k,10k)
Pullup resistor (10K)
Capacitor(10uf)
Red led
Bread board
IC 7805
11.0592 MHz Crystal
Power Supply
Connecting wires
8051 Microcontroller
The Intel MCS-51 is a single chip microcontroller series developed by Intel in 1980 for
use in embedded systems. The architect of the instruction set of the Intel MCS-51 was John
H. Wharton.
Buzzer
A buzzer or beeper is an audio signaling device, which may be mechanical,
electromechanical, or piezoelectric.
16*2 lcd
A 16x2 LCD means it can display 16 characters per line and there are 2 such lines.
In this LCD each character is displayed in 5x7 pixel matrix.
Bread-Board
A breadboard is a construction base for prototyping of electronics. Originally it was
literally a bread board, a polished piece of wood used for slicing bread. In the 1970s
the solderless breadboard became available and nowadays the term "breadboard" is
commonly used to refer to these.
Power Supply
A power supply is a hardware component that supplies power to an electrical device.
It receives power from an electrical outlet and converts the current from AC
(alternating current) to DC (direct current), which is what the computer requires.
Jumper wires
Jumper wires are used to make the connections between components .
Block Diagram
Schematic Diagram
References:
https://circuitdigest.com/microcontroller-projects/electronic-code-lock-using-8051-microcontroller
https://www.eeweb.com/member-projects/8051-microcontroller-for-password-based-door-lock-
system