0% found this document useful (0 votes)
189 views24 pages

Smart Door Loocking System

The document outlines a project for developing a password-based smart door locking system using Arduino technology, aimed at enhancing security and convenience. It details the project's objectives, limitations, and methodologies, including the use of a keypad for password entry and a servo motor for locking mechanisms. The project addresses issues with traditional locks, such as unauthorized access and key management, while providing a user-friendly interface and potential for future enhancements.

Uploaded by

ademasfaw222
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views24 pages

Smart Door Loocking System

The document outlines a project for developing a password-based smart door locking system using Arduino technology, aimed at enhancing security and convenience. It details the project's objectives, limitations, and methodologies, including the use of a keypad for password entry and a servo motor for locking mechanisms. The project addresses issues with traditional locks, such as unauthorized access and key management, while providing a user-friendly interface and potential for future enhancements.

Uploaded by

ademasfaw222
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

WACHEMO UNIVERSITY

COLLEGE OF ENGINEERING AND TECHNOLOGY

DEPARTMENT OF ELECTROMECHANICAL ENGINEERING

TITTL: SMART DOOR LOCKING PASSWORD BASED

COURSE: EMBEDDED SYSTEM AND DIGITAL CONTROL

ADVISOR: MS. BEKTU GUDETA (MSC.)

NO NAME ID NO

1 Adem Asfaw Wcu/1402397

2 Ermias Gedamu Wcu/1307640

3 Enyew Baye Wcu/1305639

4 Yomif Feyissa Wcu/13D2286

5 Yosef Sori Wcu/13D2320

6 Samuale Dereje Wcu/13D1572

Hossana, Ethiopia
smart door locking
project
ABSTRACT

As technology advances and expands on a daily basis, safety becomes increasingly essential in
all disciplines.

Everyone desires a private place where no one can enter without their permission, thus we need
to secure our room, office, locker, etc. that preserve our valuable accessories, documents, data,
and jewelry, and for thatpurpose, the proposed work has developed a "Password based door lock
system by using Arduino.".This deviceis a digital door lock with a password or pin code.

Which prevents the user from opening the door unless they input the correct password or pin
code.physical keys are the most natural way to lock or open a door, and everyone is familiar with
it. Although the physical key is a well-proven and well-known technology, it is not without
faults. For a lock, there can only be one unique key.

Different keys are required for various locks. Carrying a big number of keys is also
inconvenient.

Smart locks are key-less door locks that let you unlock your door without having to use a real
key. A smart lock is an electromagnetically lock that is meant to lock and unlock a door when it
receives instructions from an authorized device and executes the authorization procedure using a
cryptographic key.

Keywords: Arduino Uno, Keypad Lock, Security, Servomotor

Department of electro mechanical engineering


Page 2
smart door locking
project

Table of Contents
1.0. INTRODUCTION....................................................................................................................4
1.1. PROBLEM OF STATEMENT.................................................................................................5
1.2. Limitation of project..............................................................................................................5
1. 3. OBJECTIVE OF PROJECT....................................................................................................6
1.4. General Objective.....................................................................................................................6
1.5.Specific Objectives....................................................................................................................6
1.6.Scope of the Project...................................................................................................................6
2. LITERATURE SURVEY............................................................................................................7
3. MATERIALS AND METHODOLOGY.....................................................................................8
3.1. FLOW CHART.........................................................................................................................8
3.2. Flow chart representation.........................................................................................................9
3.2 .Methodology of project...........................................................................................................13
4. Software Development...............................................................................................................14
circuit diagram...............................................................................................................................15
5. CONCLUSION..........................................................................................................................20
6. FUTURE WORK.......................................................................................................................21
REFERENCES..............................................................................................................................22

Department of electro mechanical engineering


Page 3
smart door locking
project

1.0. INTRODUCTION
The term "door lock" refers to a device that prohibits a door from being opened and that can only
be opened with a key, fingerprint, retina scanner, smartcard, or other similar device. Door locks
have played a vital role in human life for a long time.

As the rate of theft rises, security has become a top priority in recent years. Door locks are
intended to keep us and our belongings safe and secure from thieves .People used to lock home
doors with physical keys, and they required the key to unlock doors.

If they lost the key, it was unlikely to repair, and it was expensive. Now, those door lock systems
may be replaced with new locking technologies. The ARDUINO Uno, Servo motor, 4*4 keypad
module, and jumper wires comprise the password-based door lock system. In this project, we
will use the keypad to enter a password and then use the servo motor to open the door lock.

The ARDUINO is the program's brain, controlling the entire system. The password or pin code is
entered using the 4*4 keypad module. The servo motor pushes (locks) or pulls (unlocks) the
door's latch .

Department of electro mechanical engineering


Page 4
smart door locking
project

1.1. PROBLEM OF STATEMENT


Traditional door locking systems are prone to various challenges, including unauthorized access,
the risk of key duplication, and inconvenience in managing physical keys. These systems lack
the capability to integrate advanced authentication methods, such as password protection, to
enhance security. In an era where smart technology is becoming increasingly prevalent, there is a
pressing need for a secure, efficient, and user-friendly door locking system to address these
issues.

In our daily lives, safety is a major concern. Every person requires a sense of safety. Our
security pattern includes an access control system for doors. Traditional locks are no longer as
secure as they once were; anyone can gain access by breaking these locks.

We need to create a system that will assist 24 hours a day, seven days a week. Only authorized
individuals have access to restricted areas thanks to a password-based door lock system. Arduino
is in charge of the entire system. A keypad can be used to enter the password. The door opens if
the password matches the password entered in Arduino

1.2. Limitation of project


1.Power Dependenc - The system relies on continuous power; a power failure could disable the
lock unless a backup source is provided.

2. Durability: - Servo motors or solenoid locks may wear out over time with frequent use.

3. Weather Sensitivity: - If installed outdoors, components may be rust.

4 .Security Concerns: - Basic Arduino boards do not have advanced encryption, making the

system vulnerable to hacking.e affected by moisture, temperature fluctuations, or dust .


Department of electro mechanical engineering
Page 5
smart door locking
project

1. 3. OBJECTIVE OF PROJECT

1.4. General Objective


To design and implement a Smart Door Locking System that enhances security, convenience,
and accessibility by integrating modern technology such as Arduino Uno,

1.5.Specific Objectives
1. To develop a system that uses ARDUNO Password based for secure access control.

2. To integrate a microcontroller (Arduino Uno) for efficient system management and control.

3. To implement a real-time alert system (e.g. LED) for unauthorized access attempts.

4. To design a user-friendly interface for easy system operation and management (e.g., keypad or
smartphone).

5. To ensure low power consumption and cost-effectiveness in the overall design of the locking
system.

1.6. Scope of the Project


1. The project focuses on small-scale applications, such as homes, offices, or small businesses,
where advanced locking systems are required.

2. The system is designed to be modular and scalable, allowing for additional features such as
smartphone integration or cloud-based monitoring.

Department of electro mechanical engineering


Page 6
smart door locking
project
3. The prototype will use the Arduino Uno platform for development due to its simplicity and
compatibility with various modules (e.g, servo motor).

4. The system will primarily include -based authentication but can be extended to include

2. LITERATURE SURVEY

Passwords aren't a novel concept when it comes to locking doors. However, as technology
advances, these systems have become more sophisticated.

Akshaya Krishnadas Bhat et al. [1] This article illustrates how a password-protected door lock
can be used in a variety of settings, including the home, office, and desk. The system will check
the user's entered password for validity before unlocking it for the authorized user. This method
could be a less expensive alternative to expensive door lock systems that use retina scans, iris
scans, or fingerprints, among several other technologies.

Prof.A.Y. Prabhakar et al. [2] - This article shows how an ARDUINO UNO-based password-
based door lock system is created, where the door is unlocked and the user who input the right
code is authorized to enter the zone. And the common individual can bid on such a locking
system for a low price in order to ensure the protection of their valuables.

Dr. Manish kumar et al. [3] This study states how we may use an Android-based smart door lock
system to address the issues of unwanted access, trespassing, and instruction. Also included in
this concept is a bluetoothmodule that serves as a communication channel between the Arduino
Uno and a mobile phone. This application is simple to set up and maintain.

Shruti Jalpur et al. [4]– This paper depicts a secure and protected door lock system, with network
security supplied by the use of cryptographic algorithms such as SHA-128 and SHA-512. The
technology also allows the authorized user to access the information remotely. The user input is

Department of electro mechanical engineering


Page 7
smart door locking
project
encrypted and hashed using the algorithms AES-128 and SHA-512. If the sensor detects
unauthorized access, it will send a notification to the smart phone application placed on the
authorized user's smartphone.

Aleksander IBRO et al. [5]- This article depicts a door lock system that allows users to unlock
the door using

face recognition and data stored on the cloud via a camera installed on the door. This work will
be quite costly, and it will necessitate the installation and employment of qualified experts.

3. MATERIALS AND METHODOLOGY

Block diagram representation

Figur 1 Block diagram


Department of electro mechanical engineering
Page 8
smart door locking
project

3.1. FLOW CHART


The flow chart above depicts the entire step by step procedure. Here, users must first enter the
predefined password, which will be read by the keypad, and if the password is correct, the servo
motor will turn on and turn the door lock; if the password is incorrect, the servo motor will not
turn on, and we must retype the password which have been predefined in the programme.
Passwords can be updated as needed by the user.

3.2. Flow chart representation

Figur 2 Flow chart

1. ARDUINO-UNO:

The Arduino Uno is a low-cost, flexible, and simple-to-use programmable open-source


microcontroller board that may be used in a wide range of electronic applications. This board can
operate relays, LEDs, Servos, and motors as an output and can be interfaced with other Arduino
boards, Arduino shields.

Department of electro mechanical engineering


Page 9
smart door locking
project

ARD2

ON
Reset BTN

www.TheEngineeringProjects.com
AREF
13
PB5/SCK
12
PB4/MISO
RESET 11
~ PB3/MOSI/OC2A
10
~ PB2/OC1B
9
~ PB1/OC1A
8
PB0/ICP1/CLKO

328P-PU
1121
7
ANALOGIN

PD7/AIN1
6
A0 ~ PD7/AIN1

EGA
PC0/ADC0 5
A1 ~ PD5/T 1/OC0B

TM
PC1/ADC1 4
A2 PD4/T 0/XCK

A
PC2/ADC2 3
A3 ~ PD3/INT 1/OC2B
2
PC3/ADC3 PD2/INT 0
A4 1
PC4/ADC4/SDA PD1/T XD
A5 0
PC5/ADC5/SCL PD0/RXD

ARDUINO UNO

Figur 3 Arduino uno

2. 4x4 Matrix Keypad


The understanding of how the keypad works is simple. The display of figures or letters on the
screen of our computers depends on the key of the keypad been pressed. Nevertheless, much
understanding is also required from the technical work of switching wires with a supply current
(positive +) that is grounded to the other end of the connected wires.

The polymer material used in these Keypad Modules is thin and flexible. The 16 keys in the 4*4
Keypad module are grouped in a matrix of rows and columns. An electrical wire connects all of
these switches together. In most cases, there is no link between rows and columns. When we
push the key, a row and a column fall into touch.

Department of electro mechanical engineering


Page 10
smart door locking
project

3
A
1 2 3
B
4 5 6
C
7 8 9
D
0 #

FIGUR 4. 4x4 Keypad Module

3. SERVO MOTOR:
A servo motor is a simple electric motor which is controlled by servomechanism. When a DC
motor is used as a controlled device in conjunction with a servo mechanism, it is referred to as a
DC Servo Motor. AC Servo-Motor refers to a controlled motor that is powered by AC

This A servo motor is a rotational or translational motor that receives power from a servo
amplifier and is used to impart torque or force to a mechanical device like an actuator or a brake.
Servo motors provide exact angular position, acceleration, and velocity control. A closed-loop
control system is used with this type of motor. A closed-loop control system takes the current
output into account and adjusts it to the desired state. The output of the motor drives the control
action in these systems. The velocity and final position of the shaft is controlled by a positive
feedback mechanism.

In these motors, there are two forms of current flow: AC and DC. AC servo motors are more
typically found in heavy industrial machines because they can sustain higher current surges. DC
Servo Motors from ISL are best suited for compact applications and provide great control and
feedback. The frequency of the applied voltage and the number of magnetic poles affect the
speed of a servo motor.

Department of electro mechanical engineering


Page 11
smart door locking
project

figur5. servo motor

4. 16×2 LCD Display:


An LCD (Liquid Crystal Display) screen is an electronic display module and has a wide range of
applications. A 16x2 LCD is a very basic module and is very commonly used in various devices
and circuits. 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 a 5x7 pixel matrix. The 16 x 2 intelligent
alphanumeric dot matrix display is capable of displaying 224 different characters and symbols.
This LCD has two registers, namely, Command and Data.

Department of electro mechanical engineering


Page 12
smart door locking
project

LCD2
LM016L VDD
VSS

VEE

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
E
1
2
3

4
5
6

7
8
9
10
11
12
13
14
figue6. 16×2 lcd display

5, Jumper Wires
Simple terms, jumper wires are wires with connection pins on both ends. A jumper wire is
sometimes referred to as a jumper, a jumper cable, a DuPont, or a cable. Without soldering,
jumper wires are used to connect electronic components or a test circuit. Jumper wires come in a
variety of colours, and the fact that they all work the same colors doesn't mean anything.

Department of electro mechanical engineering


Page 13
smart door locking
project
figur 7 jumper wire

Jumper wires typically come in three different versions

 Male-to male jumper wire


 Male-to-female jumper wire
 Female-to-female jumper wire

The end points of male jumper wires have a pin that is used to connect to other components,
whereas female jumper wires do not. Female jumper wires do not have pins on their ends and are
used to plug into items. The most common type of jumper wire used to connect components is
male-to-male jumper wires.

3.2 .Methodology of project


1. System Design

 Design a circuit using Arduino as the central controller.


 Use peripherals such as a servo motor (to control the lock
mechanism), (e.g, or keypad for authentication), and a power source.

2. Component Selectio

Microcontroller: Arduino Uno/Nano.

 Locking Mechanism: Servo motor or solenoid


 Authentication or numeric ke

3. Hardware Integration:

 Assemble the components on a breadboard or PCB.


 Connect the authentication device to the Arduino for input signals.
Department of electro mechanical engineering
Page 14
smart door locking
project
Interface the locking mechanism to the output pins of the Arduino.

4. Software Development:

 Write and upload the Arduino code using the Arduino IDE.
 Include logic for user authentication, lock operation, and error handling.

5. Testing and Debugging:

 Test the system under different scenarios to ensure reliability.


 Debug hardware and software issues as necessary.

6. Deployment:

 Install the system on the door.


 Optimize for power consumption and safety

Department of electro mechanical engineering


Page 15
smart door locking
project

circuit diagram

figure 8. Complete circuit diagram of project

Department of electro mechanical engineering


Page 16
smart door locking
project

When the person starts to open the door it displays enter the code to open the door shown below.

figure 9. simulation result

Department of electro mechanical engineering


Page 17
smart door locking
project

When the person enter the correct code ,as servo motor is rotated and the green diode is active
than, the door is opened.

Department of electro mechanical engineering


Page 18
smart door locking
project

Figure 10 Result of simulation

The door is already opened and the person is entered to home /office

Department of electro mechanical engineering


Page 19
smart door locking
project

Figure 11. simulation

Department of electro mechanical engineering


Page 20
smart door locking
project
the opened door after some second ,the servo motor locked the door and LED red is ON

figure . 11. overall simulation result

Department of electro mechanical engineering


Page 21
smart door locking
project

5. CONCLUSION

Thus “Smart Door Locking System using Arduino” is a modern successor of the conventional
door locking system. The conclusion of the discussion of smart Lock using Arduino is the
innovation created from the lock system with no more direct contact between the user and the
lock. This system is very cost-effective and easy to install. In conclusion, it was discovered that
the project performed according to specification and can be implemented. The use of the
Arduino UNO microcontroller in this project allows for design simplicity, hence, the project can
be achieved in lesser time compared to other techniques previously employed. This work
proposes a secure locking/unlocking system based on a keypad and Arduino. Adding password
to the Arduino side increase the system security. The system also has a feature for locking itself
after some delayed time. This system could be used to prevent houses, companies, institutions
from stealing or losing the ordinary key

Department of electro mechanical engineering


Page 22
smart door locking
project

6. FUTURE WORK

As long as the password is not shared with anyone, this application can provide perfect security.
Users can introduce constraints to the password entry process to make it safer. Also add a
fingerprint scanner and a display model to show messages such as whether the door is locked or
not. Instead of using a keypad module, can employ smart cards to open doors with the same
model. In the future, the proposed system can employ a power supply adaptor instead of a battery
for power transfer

Department of electro mechanical engineering


Page 23
smart door locking
project

REFERENCES
[1] Akshaya Krishnadas Bhat, Siddesh Praveen kini-“Password Enabled door locking system
using Arduino and IOT” from International Journal of Engineering Research and
Techonology ,2018. ISSN 2278-0181

[2] Prof.A.Y.Prabhakar, Prof Dr.Shruti K , Nayan Shrivastava, Prakahar Shrivastava, Gharvit


wadhwa,”Password based door lock System” from International Research journal of Engineering
and Teconology,2019 .e-ISSN 2395-0056 p-ISSN 2395-0072

[3] Dr. Manish Kumar, Dr. Hanumantappa, Dr. T V Suresh Kumar, Mr.Amit Kumar Ojha.
“Android based smart door locking system with multi user and multiple function from
International Journal of Advanced Research in Computer and Communication Engineering, 2
October 2016. ISSN(online) 2278- 1021 ISSN(print) 2319-5940

[4] Shruti Jalapur, Afsha Maniyar, “Door Lock System using Cryptographic algorithm based
on IOT” from Computer Science and Engineering, Secab Instituite of Engineering and
Technology Karnatak ,India 07 july 2020. e-ISSN: 2395-0056 p-ISSN:2395-0072

[5] Aleksander IBRO , Auhusto WONG, Mario ZYLA, “Smart Door Lock” WORCESTER
POLYTECHNIC

Department of electro mechanical engineering


Page 24

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy