Smart Door Lock Using Face Recognition Access
Smart Door Lock Using Face Recognition Access
Farrel Laogi Murjitama1*, Hafidz Nur Raihan2, Rangga Prasetya Adiwijaya3, Desi Fitriani Ramadan4,
Bagas Imanuel Pasaribu5, Bintang A. Silalahi6, Nada Nadiefah Tasman7, Syafira Audri Dwijayanti8, Ummu
Putri Salsabila Panjaitan9, Yudhi S. Purwanto10
1,2,4,5,6,8,10
Informatics Engineering, Faculty of Telematics Energy, Institut Teknologi PLN, Jakarta Barat, DKI
Jakarta, Indonesia
3,7
Electrical Engineering, Faculty of Electricity and Renewable Energy, Institut Teknologi PLN, Jakarta Barat, DKI
Jakarta, Indonesia
9
Information System, Faculty of Telematics Energy, Institut Teknologi PLN, Jakarta Barat, DKI Jakarta, Indonesia
E-mail: 1*[email protected]
Abstract
Security is one of the basic things that humans need. In relation to a house or room, the focus of security is on the door lock.
Various types of door locks have been created, ranging from conventional ones with physical keys, to modern types. This modern
type of door lock is also made with various ways to open it. Some use a series of codes (keypad), some use card sensors,
fingerprint sensors, to the use of face recognition technology. Several door lock technologies with face recognition have also
been created, but they are still expensive. The other problem is that those devices are not equipped with some fail-safe
mechanisms, in case there are troubles with the device. This smart door lock is made using face recognition technology based
on the Internet of Things. This lock is equipped with an ESP32cam camera integrated in the ESP8266MOD module that can
recognize faces that have been registered in the database on the website. In addition, the door is also equipped with a push button
to open the door from the inside, and a button as a backup if there is a malfunction of the face recognition feature. The device
test indicates no apparent issues and operates smoothly. The accuracy test for the camera yields positive outcomes, reaching up
to 100% in normal lighting conditions, and dropping to around 60-80% in blur condition. Accuracy is further compromised,
potentially dropping in dim light that the images are only reached 40-60% for clear images and 20% in blurry images.
empty houses to pick-pocketing. The reported perpetrators make keyless door lock technology more optimal and more
were sentenced to 12 years in prison. The data was obtained economical than other locking methods, so that door security
from the e-MP Robinopsnal Bareskrim Polri [4] for the period can be increased and flexible but with more economical
January 2019 to February 14, 2023. The number of reported devices. Based on the above analysis, the team made a Smart
law-breakers tends to increase from year to year. In 2019, a Door Lock device using IoT-based Face Recognition Access.
total of 7,316 people were reported in connection with theft
crimes. This number increased until 2021. However, in 2022,
the number reported decreased to 15,441 people. Meanwhile, II. RESEARCH METHOD
from January to February 14, 2023, the number was 1,698
The research method used is R&D (Research and
people. This condition then will create an insecure feeling both
Development) with a prototyping development model. The
in personal and society level, and finally will lead to several
stages and activities carried out are the needs analysis stage,
changes in society [5].
design and design of the Smart Door Lock system, making
With so many crimes, we should have a security system
system prototypes, testing until the validation stage. This
that can suppress worry and anxiety, to be able to freely leave
research uses the Research and Development type of research
the house with peace of mind. Human-based security systems
because it is considered in accordance with the objectives of
such as housing security and siskamling may help, but we need
the study, namely to produce and know the results of testing
a tool that is very reliable in doing its job [6].
on the development of IoT-based Smart Door Lock using the
Conventional security that we often encounter to lock the
ESP8266MOD microcontroller (Figure 1).
house includes locking the door leaf and if the user wants to
add some extras to increase security the user can use a padlock
with an additional key [7]. This leads to a lack of efficiency in
locking the door, we can carry the house key but when we lose
the additional lock key then we will struggle in opening the
door. Moreover, the longer the key is use the less accurate the
function, if we buy a cheap door lock, the material used is
usually a mixture that is less qualified for long-term use, often
examples of problems that arise are broken keys when trying
to open the door. This means that to overcome this we need to
also carry a spare key even though we also carry the main key,
because if we put the spare key in the house then we need to
enter the house in a locked state, then the solution is actually
not very effective to solve possible problems that arise in the
future [8].
Figure 1. Research’s Flow Diagram
There have been many developments in locking systems
both mechanically and those that have been integrated with
This activity begins with searching for literature from
more modern technology. Call it keyless technology where the
books, journals, and articles in print and online media. Looking
locking system no longer uses a physical key but is integrated
for the theory of smart door lock application using
with a system. Keyless systems have many types such as finger
ESP8266MOD to open the door automatically. As well as
print-based locking systems [9], [10], key passwords [11], and
conducting literature studies on the calculation of electrical
special cards [12]. All of these strive for guaranteed security as
loads that will be used, especially DC electrical power
well as flexibility. However, it should be realized that
management systems. Furthermore, calculations and system
technology-integrated locking has a price that is not cheap, this
becomes market segmented with differences in economic modeling are carried out to obtain a Smart door lock prototype.
The first calculation aims to determine how much electrical
value, so people still stick with conventional locking systems.
power consumption. The second calculation is done to find out
Face recognition doorlock was also made and researched,
how much DC voltage is needed.
such as by [13], [14], and [15], but those researches do not
provide a safe plan if in their implementations, those systems
experience failures. Some failures that might occur, such as
failed circuit, drained battery, or jam in its locking mechanism.
As a modern locking solution, the team designed a door
locking system that will combine Internet of Things (IoT) and
Artificial Intelligent (AI) technology. The operation concept of
this design is to use ESP32cam for an AI-based facial Figure 2. Smart Door Lock Scheme
recognition system that can be reached on a web application
(websoftware) as an integrated security access rights regulator. In designing a smart door lock using IoT-based face
This system is also equipped with an ESP8266MOD, based on recognition, it consists of various system reviews as shown in
IoT that can be connected wirelessly as a concept of data the Figure 2 above which includes: 1) Face recognition is a
communication between devices. This idea is expected to system design from a camera device that main feature is to scan
faces to match database faces and regulate access (Figure 3 and The process of designing the tool circuit is carried out after
4), 2) The fail-safe button is an alternative security design to the calculation and modeling of the system and 50% of the tool
open the door without using the IoT. For example, if some design has been completed. An overview of the technology to
electrical problems happened, or when the person is not be developed is below. The design of the tool circuit is divided
familiar to the system. into 3 main parts, namely: ESP programming, power-signal
distribution system, and mockup design (miniature simple
door) as shown in Figure 5 and 6.
The testing phase is carried out to measure the success of
the smart door lock as a modern door lock, which is minimalist,
economical, portable, reliable, and efficient. Testing was
Figure 3. Illustration of the ESP Device Programming Process carried out including to find out: 1) The level of success, and
ease of access controlled by the Smart Door Lock electronic
system, to open the door lock (solenoid lock, and ESP control
system), and 2) Testing backup access as a backup-plan if a
problem occurs when the door is locked, where the smart door
lock must continue to function in various conditions, for the
Figure 4. Illustration of Face Registration Process in Face sake of room security.
Recognition Database Report writing is carried out after all stages are completed
so that the results obtained from the design of the tool can be
Furthermore, 3) Door lock is a door lock system that uses explained in detail and specifically in accordance with the data
a solenoid device. This system is equipped with an obtained. The results of the report will be submitted to clients
electromagnet as a Solenoid lock driver, 4) Smart Door Lock and examiners for consideration.
is a door lock design using IoT access, 5) Electricity
management is a design to regulate electricity flow so that it
can meet the electricity needs of the load, 6) Software is an III. RESULTS AND DISCUSSIONS
SDL system design, and 7) Control is the design of software The tool development process is divided into 2 parts,
integration and Solenoid lock. namely the part of face recognition software (Figure 7) and the
part of making and installing the tool on the door (Figure 8).
In making face recognition software, the interface design is
made in accordance with the existing design, so that the
resulting display becomes as below:
Figure 6. Outside Installation Sketch of the Device Figure 8. Circuit Sketch Result
06, no. 05, pp. 1–4, 2022, doi: 10.55041/ijsrem13541. Sejal Zade, and Hemlata Dakhore, “Face Recognition
[10] Andi Zulkifli Nusri and Ashar Alimuddin, “Rancang Based Door Lock System,” Int. J. Sci. Res. Sci.
Bangun Security Door Lock Menggunakan Fingerprint Technol., pp. 395–401, 2022, doi:
Berbasis Mikrokontroler,” J. Ilm. Sist. Inf. dan Tek. 10.32628/ijsrst229268.
Inform., vol. 5, no. 1, pp. 23–28, 2022, doi: [14] S. Qureshi, “Face Recognition (Image Processing)
10.57093/jisti.v5i1.105. based Door Lock using OpenCV, Python and Arduino,”
[11] J. Al-rasyid, M. Nawawi, and C. P. Pratiwi, “Keypad International Journal for Research in Applied Science
Passcode Design Analysis on Smart Lock Door System and Engineering Technology, vol. 8, no. 6. pp. 1208–
IoT Based,” vol. 16, no. 2, 2023. 1214, 2020, doi: 10.22214/ijraset.2020.6197.
[12] D. R. Azzizi and Rino, “Rancang Bangun Sistem [15] S. Abdullah, “Development of Face Recognition Based
Keamanan Door Lock Menggunakan E-Ktp Berbasis Smart Door Lock,” International Journal of Advances
Arduino Wemos Esp8266,” Algor, vol. 4, no. 1, pp. 21– in Scientific Research and Engineering, vol. 07, no. 07.
27, 2022, doi: 10.31253/algor.v4i1.1742. pp. 01–05, 2021, doi: 10.31695/ijasre.2021.34036.
[13] Achal Meshram, Chetna Kumbhare, Snehal Chaudhari,