0% found this document useful (0 votes)
6 views

Digital Door Lock System Using 8051 Microcontroller Eem

Uploaded by

Bipin Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Digital Door Lock System Using 8051 Microcontroller Eem

Uploaded by

Bipin Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Digital Door Lock

System Using 8051


Microcontroller
Presented By:- Asra Fatima(22bec029),Anshika Tak(22bec026),Bipin
Kumar(22bec038) and Govind Kumar Jha(22bec045)

Presented to:- Dr.Sumeet Gupta


Table Of Content
• Introduction
• Compnents Used
• Software Used
• Block Diagram
• Circuit Design
• Code Overview
• Password Authentication of System
• Working Of the Circuit
• Advantages
• Application
• Limitation
Introduction
• The Digital Door Lock System is a microcontroller-based
security mechanism designed to enhance access control by
replacing traditional locks with an electronic password-based
system
• A microcontroller Based Door locker is an acecess control
system that allows only authorized persons to access a
restricted area.
Components Used
•8051 Microcontroller (AT89C51)

•4×4 Keypad

•16×2 LCD Display

•L293D Motor Driver

•DC Motor

•Power Supply (12V Battery)


Software Used
• Proteus

• Keil µVision

• Flash Magic
Circuit Diagram
Block Diagram Of The Circuit

LCD DISPLAY
KEYPAD
MICROCONTROLLER
AT89C51 MOTOR

L293D
MOTOR
DRIVER

POWER
SUPPLY
Code Overview
• DISPLAY () FUNCTION
• void display(char *lcd)
•{
• while(*lcd != '\0')
• {
• dat(*lcd);
• lcd++;
• }
•}
LCD INTIALIZATION
• void lcdint()
•{
• cmd(0x01);
• cmd(0x38);
• cmd(0x0E);
• cmd(0x80);

•}
MESSAGE DISPLAY IN LCD

• lcdint();

• display("PASSWORD-");
Keyword Input
Password Comparison and
• action
while(i==4)
• {
if ((strcmp(pass, pass2)) == 0)
• {
• cmd(0xC0);
• display("ACCESS GRANTED");
• IN1 = 1;
• IN2 = 0;
• delay(100);
• }else
• {
• cmd(0xC0);
• display("ACCESS DENIED");
• IN1 = 0;
• IN2 = 0;
• delay(100);
• }
• }
• }
• }
Password Authentication

• A predefined password is stored in the microcontroller.

• The user enters a password via the keypad.

• The system compares the input password with the stored


password.

• Correct password activates the motor; incorrect password


displays an error.
WORKING OF THE CIRCUIT
ADVANTAGES

• Secure access control system.

• Simple implementation with commonly


available components.

• Scalable for additional functionalities like RFID


or OTP.
APPLICATION
• Industrial Applications
• Secures storage rooms, equipment sheds, or other restricted areas in
factories and warehouses.
• Customizable Access Control
• Can be adapted for use in any environment requiring restricted entry,
such as hospitals, data centers, or research labs.
• Office and Corporate Spaces
• Provides controlled access to offices, meeting rooms, or restricted
areas.
Limitation
• Limited Scalability
• The current implementation supports only a single password, making it
unsuitable for scenarios requiring multiple users with unique credentials.
Password Vulnerability
• If the password is shared or guessed, unauthorized access can occur.
• Brute force attacks are possible without mechanisms to lock the system
after multiple failed attempts.
• Single Point of Failure
• If the microcontroller or motor driver malfunctions, the entire system may
stop functioning, potentially locking users out.


THANKS

You might also like