0% found this document useful (0 votes)
115 views3 pages

Password Enabled Door Locking System Using Arduino and Iot IJERTCONV6IS15106

This document describes a password-enabled door locking system using an Arduino microcontroller and IoT. The system takes a 5-digit password as input on a 4x4 keypad. If the password matches the preset password, the solenoid lock is actuated to unlock the door. The user entry and exit details are logged to the cloud. The system provides security with unique passwords for each user and blocks access after 4 incorrect attempts to prevent guessing. It provides an affordable security solution for homes and offices using easily available components like Arduino, a keypad, solenoid lock and ESP8266 WiFi module.

Uploaded by

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

Password Enabled Door Locking System Using Arduino and Iot IJERTCONV6IS15106

This document describes a password-enabled door locking system using an Arduino microcontroller and IoT. The system takes a 5-digit password as input on a 4x4 keypad. If the password matches the preset password, the solenoid lock is actuated to unlock the door. The user entry and exit details are logged to the cloud. The system provides security with unique passwords for each user and blocks access after 4 incorrect attempts to prevent guessing. It provides an affordable security solution for homes and offices using easily available components like Arduino, a keypad, solenoid lock and ESP8266 WiFi module.

Uploaded by

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

Special Issue - 2018 International Journal of Engineering Research & Technology (IJERT)

ISSN: 2278-0181
ICRTT - 2018 Conference Proceedings

Password Enabled Door Locking System using


Arduino and IoT
Akshay Krishnadas Bhat Siddhesh Praveen Kini
Final Semester, BE (EEE) Final Semester, BE (EEE)
103, Vishnudas Arcade, 81/2418, Prarthana C.H.S,
Mannagudda, Mangaluru - 575003 Pantnagar, Ghatkopar (E), Mumbai - 400075

Abstract:- In this day and age, security has become of an board comprises of 54 digital input/output pins (including
utmost importance, be it one’s house, car or their digital 15 PWM pins), 16 analog input pins, 4 UARTs (hardware
accounts. The solutions currently available in the market are serial port) and a 16MHz crystal oscillator among other
satisfactory but high security solutions come at an expensive features. This board’s microcontroller can be pre-
price. Hence, an economically feasible security system has
become the need of the hour.
programmed with a bootloader which would make
uploading of the code on the on-chip memory easier.
In this paper, we present an electronically controlled door
locking system that employs Arduino, an open source
microcontroller board that can sense, monitor, store and
control applications. This system also employs an IoT based
log that monitors the entry and exit of the users.
General Terms:- Embedded System, Automation
Keywords:- Arduino, ESP8266P Module, Solenoid Lock , 4x4
Matrix Keypad Module
1. INTRODUCTION

The password enabled door locking system can be used for


households, offices, desk units, etc. The system will check
for the validity of the password entered by the user and will
unlock only for the authorised users. This system proves to
be an optimal solution for preventing the unauthorised
Fig 1: Arduino Mega based on ATmega2560
entries.

The door lock is a two unit system, where one unit 2.2 4x4 Matrix Keypad Module
monitors the entry of the user and the other monitors the The 4x4 Matrix Keypad module is interfaced to the
exit of the user. The number of passwords in practice Arduino Mega to take the input from the user. This input is
would depend on the user. Each user gets his/her unique 5- then matched with the preset password to check the validity
digit password which he/she will use to unlock the door. of the password. If the password is valid, the door lock will
With different users having different passwords, this be unlocked. If invalid, the door lock will remain locked.
enables us to maintain a log of people who have used the The 4x4 Matrix Keypad Module consists of 4 rows and 4
door lock. This log will be stored on a document on the columns. There is a switch that connects each row and
cloud. The document will comprise of the name, time of column. The same is shown in the below figure:
entry and time of exit of the user. This feature helps
provide an added security to the door locking system. The
door lock also comes equipped with anti – guess
mechanism, where the system is blocked after 5 wrong
attempts. The system has to be reset in order to re-use the
lock.

2. COMPONENTS REQUIRED
2.1 Arduino Mega
Arduino Mega is a microcontroller board based on
ATmega2560 manufactured and designed by the company
Arduino. This open source development board provides a Fig 2: 4x4 Matrix Keypad with schematic
platform for easily making a digital or analog system. The

Volume 6, Issue 15 Published by, www.ijert.org 1


Special Issue - 2018 International Journal of Engineering Research & Technology (IJERT)
ISSN: 2278-0181
ICRTT - 2018 Conference Proceedings

In the Keypad module shown in Fig. 2, we are not going to 4. CIRCUIT DIAGRAM
use all the available keys. We will use only the numeric 0-9
keys along with * and #.

2.3 ESP8266P Module


This module is the wireless module which is used to
connect the Arduino mega board to the internet. The
Arduino board will act as a web client connected to the
cloud to record entries. The ESP8266P module cannot be
directly connected to the Arduino, hence, Arduino/USB-to-
TTL converter is used.

2.4 Solenoid Lock


Solenoid lock, also known as Actuator Lock, is used for the
actual locking. Solenoids are basically electromagnets: they
are made of a big coil of copper wire with an armature (a
slug of metal) in the middle. When the coil is energized,
the slug is pulled into the center of the coil. This makes the
solenoid able to pull from one end. This solenoid in
particular is nice and strong, and has a slug with a slanted
cut and a good mounting bracket. It's basically an
electronic lock, designed for a basic cabinet or safe or door.
Normally the lock is active so you can't open the door Fig 4: Circuit Diagram
because the solenoid slug is in the way. It does not use any 4.1 WORKING
power in this state. When 9-12VDC is applied, the slug
pulls in so it doesn't stick out anymore and the door can be
opened.

Fig 3: Solenoid Lock

3. ARDUINO IDE SOFTWARE


The Arduino can be programmed using the Arduino IDE.
keypad.h header file is added to the library for the
functioning of the keypad. The ATmega2560 on the
arduino mega can be pre-programmed with a bootloader
that allows to upload new code to it without the use of an
external hardware programmer. Esp8266 Library has to be
added to the list of libraries for using the Wi-Fi module.

Fig 5: Flowchart of the operation of door lock mechanism

Volume 6, Issue 15 Published by, www.ijert.org 2


Special Issue - 2018 International Journal of Engineering Research & Technology (IJERT)
ISSN: 2278-0181
ICRTT - 2018 Conference Proceedings

First, the Wi-Fi Module sets up the connection. Following 6. ACKNOWLEDGEMENTS


which the user enters the his/her 5-digit password into the We acknowledge the efforts of experts who have
4x4 matrix keypad. Typically, the keypad will have eight contributed towards the development of an Arduino
connection wires through resistors R1, R2, R3 R4 and controlled door lock system.
C1,C2,C3,C4 representing the rows and columns This paper would have been an incomplete effort if it was
respectively. The matrix encoding scheme requires fewer not for the following people:
output pins and thus fewer connection that have to be made We would like to thank the Department of Electrical &
for the keypad to work. Since, each user have unique Electronics Engineering, Canara Engineering College,
password, we determine which user has accessed the door Mangaluru for providing us with the opportunity to
lock and send this data to the cloud. The password is perform and apply our knowledge. We would like to
matched with the preset password. If it is a match, The express our deep gratitude to Dr. Rajalaxmi Samaga BL,
solenoid lock is actuated, and the door lock opens. For a Head of Department, Dept. of EEE, Canara Engineering
default value, the door lock stays open for 2 mins after the College, Mangaluru, for their enthusiastic encouragement
lock has been opened, after which the solenoid coiled is de- and willingness to provide us their valuable time so
energised and the door is locked. The same operation is generously. Lastly, we would like to thank our families
shown in the flowchart below. and friends who provided us with resources and their
For additional security, anti-guess element is present i.e. encouragement which lead to the successful completion of
after 4 wrong attempts, the system is blocked and has to be this paper.
reset for further use. The reset button would only be known
to the primary user. 7. REFERENCES

5. CONCLUSION [1] Working principle of an Arduino ,Abuja,Electronics Computer


The above model of password enabled door locking system and Computation (ICECCO):11th international conference IEEE.
has designed and tested. The outcomes of the model was as [2] T.B.Zahariadis and A.K.Sakintzis , Introduction to Special
Feature on Wireless Home Network, ACM Mobile Computing
per the expectation. This system can prove to be a cheaper and Communication Review, Vol.7, No:2, April 2013.
alternative for the expensive door locking system that use [3] Nikhil Agarwal, Microcontroller based Home Security System
retina scan, iris scan and fingerprint scan. The future work with Remote Monitoring, Department of EC engineering, MIT,
for this project involves arranging the controller and its Manipal.
[4] M.Faundez Zany, The Vulnerability of Biometric Security
peripherals in a compact setup as well as adding a System, IEEE Aerospace and Electronic System Magazine, 2014.
biometric scanner in place of the keypad. [5] W.Durfee, Arduino Microcontroller Guide, University of
Minnesota, Ver-2014.
[6] Janaki Venukumar, Naveen S, Arduino Based Door Access
Control, International Journal of Research in Advent Technology,
Vol.4, No.8, August 2016.
[7] Vinay Sagar K N, Kusuma S M, Home Automation Using
Internet of Things, International Research Journal of Engineering
and Technology (IRJET) Volume: 02 Issue: 03 | Jan-2015.

Volume 6, Issue 15 Published by, www.ijert.org 3

You might also like