Control
Control
Submitted by:
19BEC0702-R.SRAVANI
19BEC0310-GUDIMETLA SAI SANDEEP
FALL SEMESTER-2021-22
DECLARATION
We hereby declare that the project work entitled ADVANCED DOOR
LOCKING SYSTEM submitted to the VIT university is a record of an original
work done by us under the guidance of Prof. Dr.Rajesh.R of SENSE Departments.
This project work is submitted impartial fulfilment of graduate program in career
development.
ACKNOWLEDGEMENT
We express our deep sense of gratitude to our respectful and learned guides, prof
Dr.Rajesh.R for the valuable help and guidance, we are thankful to her and the lab
assistants. We are also thankful to all the other faculty and staff members of science
department for their kind cooperation and help. Lastly, we would like to express our
deep appreciation towards our classmates and our indebtedness to our parents for
providing us the moral support and encouragement.
Sn.no
Content Page.no
1. Abstract 3
2. Objectives 3
3. Introduction 4
Required components 5-7
4. Literature survey 8-9
5. System model 10
6. Methodology 10
7. Performance analysis 11-18
8. Result and discussion 19
9. Conclusion 19
10. Future work 19-20
11. References 20
Abstract of the project:
The need of safety can be achieved by making locks which can be electrical or mechanical
with one or a few keys, but for locking a big area many locks are required. As everyone
knows old fashioned locks are heavy weight and fragile also depending on the tools therefore
electronic locks are given more value than those of mechanical locks. Nowadays every
device’s operation is based on digital technology. For example, technology based identity
devices are used for automatic door unlocking or locking. These locking systems are used to
control the movement of door and are functional without requiring a key to lock or unlock
the door. These locking systems are controlled by a keypad and are installed at the side
hedge of the door. The main objective of this project is to give safety at every common
places like home, public places. In this user would give a known password. The information
will be stored in database. When the correct passcode will be entered, the microcontroller
will give instruction to servo motor. Servo motor will perform the action on door unlocking.
Thus, what we want is digital technology to construct an integrated and well customized
safety system at a price which is reasonable.
In the era of mobile Internet,the unlocking of APP mobile phones has reached a very high
level of intelligence in smart locks.The bluetooth smart lock solution is also easy to open the
mobile phone APP all the operations,the emergence of bluetooth lock,all the distance
problems,traditional locks can not solve the problem are solved easily.
Application scenario Scenario 1: The homeowner does not have a key and can control
the door lock to open directly through the mobile phone APP.
Scenario 2: The homeowner is not at home.When a visitor needs to enter the
door,he can authorize it on the APP,and then the bluetooth smart door lock can be authorized
to open the door lock through the cloud server.
Scenario 3: When a visitor needs temporary accommodation,he can authorize the visitor's
mobile phone to unlock the door within the authorisation time limit.
Required components :
1)Ardiuno
2)servo motor
3)Bluetooth module Hc-05
4)jumper wires
5)LCD
6)Membrane Keypad
Arduino UNO
• Arduino UNO is a Microcontroller board designed by Arduino.cc in Italy.
• It used Atmega328 Microcontroller which acts as a brain of this board.
• Arduino Bootloader is installed on Atmega328 which makes it capable to work with
Arduino Programming.
• Arduino is an open-source platform so it has a lot of support from third-party developers.
• Anyone can design its Libraries for different sensors and modules.
Servo Motor
The servo motor is most commonly used for high technology devices in the industrial
applications like automation technology. It is a self contained electrical device, that rotates
parts of machine with high efficiency and great precision. Moreover the output shaft of this
motor can be moved to a particular angle. Servo motors are mainly used in home electronics,
toys, cars, airplanes and many more devices.
Membrane Keypad
Membrane keyboards work by electrical contact between the keyboard surface and the
underlying circuits when keytop areas are pressed. ... The keyboards are quite inexpensive to
mass-produce, and are more resistant against dirt and liquids than most other keyboards.
Literature review of the project:
Literature Survey on Door Lock Security Systems
Authors: Pradnya R. Nehete Dept. of ETC, Godavari College of Engineering, Jalgaon, India – 425001 J. P.
Chaudhari, PhD CHARUSAT Space Research and Technology Center, Charotar University of Science and Tech.,
Changa,Gujarat, India S. R. Pachpande Dept. of ETC, J T Mahajan COE Faizpur, Maharashtra K. P. Rane, PhD Dept. of
ETC, Godavari College of engineering Jalgaon, India - 425001
Proposed system:
Due to the advancement in recent techniques, some door lock security systems are based on
microcontroller, GSM, GPS, many sensors, software like MATLAB, PROTEUS, biometrics
like face recognition, Iris scanner, RFID, Smart Card and password etc. Each system has
their own advantages and disadvantages. In most of systems, SMS technique is used for
communication so the system will become cost effective, more reliable and it will take less
time to deliver message. As security becomes major problem nowadays, the security
monitoring systems today needs to make use of the latest technology. In some papers, the
authors have presented door lock security monitoring system based on embedded and Zigbee
and sometimes the lock is protected by automatic password hence it could not easily hack by
hackers. Also the enhanced security systems are available based on android platform,
wireless techniques and embedded systems. A lot of modification takes places in various
Door lock security from the last few years, in next coming years many changes will takes
place.
Password Based Systems
The programmable electronic code lock device [1] is programmed in such a way that it will
operates only with the correct entry of predefined digits. It is also called an integrated
combinational type lock.
Electronics safe is its example. Based on the programmable electronic code lock, the
reprogrammable digital door locks were invented in that the password can change any time
as it stored in PROM. For operating the device, GSM/CDMA module can be used. When
any person calls up from his phone, the call will be received by the system. And the door
will opens only if the call is from specified user. Password Protected Door Locking System
based on Cell Phone A cellphone controlled password protected door lock system is as
shown in Fig which was proposed to open the door with the help of cell phone device by
entering a specific code. The user can make a call to a system‟s number. This call is
responsible for opening or closing of the entry with the use of correct password. In latest
password based system, a more advanced system develops which communicates the owner
of the office or house, when any unauthorized person tries to open the code, by giving
correct code as well. While closing the door of office/home, the owner has to press the „0‟
key available on the hex keypad and leave the system.. To open the lock, the entered
password must matches with the changed one. In some systems the security dial-up enables
through the GSM modem ,when the unauthorized person enters an invalid password then the
controller informs to the owner through GSM modem. Latest security system is designed
where the locking security system can be enhanced with the help of RF and GSM wireless
technology by using a 4 digit password which provides the authentication.
Conclusion:
Recently proposed door lock systems based on Biometrics Techniques and Password Based
Systems are studied and their problems are enlisted in Table 1. As per the requirements,
authors developed the systems. And as per our knowledge, not a single system is suitable for
all types of applications. Day by day technologies are developing and techniques of robbery
are also developing. So, need is to develop a new smart and unbreakable technique in further
studies
System model:
Flow chart:
Methodology:
The main feature of the proposed system is its multi mode functionalities. The proposed system works on two
different modes which are as follows: - .
A. Normal Mode In this mode a single user can login and use the system. It has following features:-
User can login using the registered password.
User can lock or unlock the door with the password.
Recovery of password is available if he/she forgets using the registered email address.
User can reset the password if he feels it is not secure.
B. Multiuser Mode This mode is useful when more than one users are authorized to operate lock. It has following
features.
Individual user can login using the registered password.
Each individual user can login using his\her own registered ID and password.
Recovery of password is available if he/she forgets the password by using the e-mail provided earlier.
Each Individual can reset the password if they feel it is not secure.
C. Assumption Itis assumed that the users will operate the system using Android Smart Phones having Bluetooth
features with the Bluetooth HC-05 which is been installed in the system. The mobile App which isdeveloped for
Android Phones will not work on other platform. However it can be customized for other platform also. It is also
assume that user will operate it within the Bluetooth device accessibility range of 10m to 100m.
Software model:
Circuit:
Coding part:
OUTPUT OF LCD IF PASSWORD IS TYPED CORRECTLY:
WORKING PRINCIPLE:
When the system starts, it asks the user to login from a device connected via Bluetooth to
identify the user. This is the first step of verification of the genuine user. The password or the
verification code used in connecting the system to the device will only be known to genuine
users. If the login is successful then user is asked to enter pin using the keypad. The Pin is
saved in the EEPROM. This Pin could be reset when required. If the Pin is wrong then the
user is prompted to enter the Pin again (3 Chances given). If the user fails to enter the correct
Pin for more than 3 times the system is disabled. If the entered Pin is correct then for 2–way
verification, an Password is sent on the user’s device via Bluetooth. The password is a
random 4- digit number generated. Then user is asked to enter the Password using Keypad. If
the Password is incorrect then lock does not open. If the user fails to enter the correct
Password for more than 3 times then system is disabled. If the Password is correct then
system is unlocked and the required task can be performed.
• To start the project, we need the following hardware components/materials:
• Arduino Uno • Bluetooth HC-05
• Jumper wires
• Servo motor
• LED
• 5V battery or power bank
• USB type-B cable for programming Arduino
• Breadboard or veroboard PCB
Coding :
First, we need to include the library and declare variables, as shown in code snippet Fig..
Include a servo library and then create a string array to generate a password. Next, create a
few more string variables to store the password, OTP, and LED pin numbers as given in
code snippet.
Now, in the second code snippet, we need to set up serial and baud rate for Bluetooth as
shown in Fig.. Set up a pin for servo using servo.attach (PWM pin number) function. Then
define pin mode as output for LEDs.
In the third part of the code, create a loop, and check the incoming data from Bluetooth.
Next, create ‘if statement’ to check the device ID. If it matches, create OTP ( ) function for
generation of OTP as shown in Fig. . In the last part of the code, as shown in Fig. 5, create a
check ( ) function to check whether OTP is correct or not. If it is correct, turn the servo to an
open position to unlock the locking system.
• After that, tap on the key icon to send device id to match. If the device id is matched, it will
send an OTP to your app that you can see in App text bar between Bluetooth and lock icon.
• Now, you can tap on the lock icon to unlock your Smart Lock. If everything is ok then
servo moves unlocking mechanism and onboard LED of Arduino lights up indicating
successful unlock. I have used servo because of its high torque, and also because we can
control the angle of its movement that helps in unlocking mechanism of the lock.
RESULT AND ANALYSIS:
CONCLUSION:
Thus “Advanced Door Locking System” is a modern successor of the conventional door
locking system.This system is very costeffective and easy to install and is designed under
different modes which makes it useful
Our project has several advantages, such as:
Cost efficient than other high-end lock.
Low operating cost.
Locking technique is unique.
Satisfiable quality and lesser maintenance.
Future work:
With the help of Bluetooth hc 05 module , Arduino board , servo motor and few other
components we can connect the circuit in such a way that we can control the servo motor as
our wish . In reality servo motor acts as a lock , we are going to control the lock with the
help of an app. In the app we can update our locking into many ways like controlling using
finger print, here in the place of key we can keep an icon which allows us to give finger
print(this works only for the devices which has finger print sensor).controlling using face
detection , in the same way we can use an icon which allows our face to detect. This project
has been developed for safety of individuals and it is achieving its goalsamong
individuals.This project is indeed simple and efficient. The project can be used in residential
and commercial development.
The following improvements can be suggested for even more further improvements of
system:-
1) Face recognition, integrating with CCTV network
2) Designing based on the individual need.
References:
https://www.semanticscholar.org/paper/Literature-Survey-on-Door-Lock-Security-
Systems-Nehete-Chaudhari/d7594feca020d23626a7f03be5e7da416d7a31c7#paper-
header
K Ou - IOP Conference Series: Earth and Environmental DESIGN AND
IMPLEMENTATION OF INTEGRATED SMART HOME SYSTEM 2019
International Journal of Engineering Research and Technology. ISSN 0974-3154,
Volume 12, Number 11 (2019)
Security Enhancement for Building Access, Using One Time Password (OTP)
Technology , Published Jun 25, 2020
https://www.ijert.org/android-based-smart-door-locking-system