<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    iim
   </journal-id>
   <journal-title-group>
    <journal-title>
     Intelligent Information Management
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2160-5912
   </issn>
   <issn publication-format="print">
    2160-5920
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/iim.2024.164010
   </article-id>
   <article-id pub-id-type="publisher-id">
    iim-134298
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Computer Science 
     </subject>
     <subject>
       Communications
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Using IoT to Smart Security Door System with Face Tracking Camera
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Amer Nizar
      </surname>
      <given-names>
       AbuAli
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aCollege of Computer Science and Engineering, Information Systems Department, Taibah University, Medina, KSA
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     02
    </day> 
    <month>
     07
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    16
   </volume> 
   <issue>
    04
   </issue>
   <fpage>
    157
   </fpage>
   <lpage>
    175
   </lpage>
   <history>
    <date date-type="received">
     <day>
      13,
     </day>
     <month>
      May
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      29,
     </day>
     <month>
      May
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      29,
     </day>
     <month>
      June
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    Security is a serious concern, whether it may be the security of assets, data and human life. Providing humans with security and safety for their belongings and items is an important need. A smart lock door project/ with different types of methods for entry, like fingerprint and authentication PIN code is suggested with an unnoticeable face tracking camera capturing a photo in case of error data entry. It is to be controlled via the user’s smartphone using Blynk with the implementation of IoT. This technology is made with two microcontrollers. ESP32 is used to control the solenoid lock, fingerprint sensor and keypad. ESP32-CAM is used to capture a photo and send it to the owner’s smartphone to be viewed on Telegram application. Many conclusions are extracted from system results, as well as suggested ideas for future work.
   </abstract>
   <kwd-group> 
    <kwd>
     Security
    </kwd> 
    <kwd>
      Block Diagram
    </kwd> 
    <kwd>
      Microcontroller
    </kwd> 
    <kwd>
      Bluetooth Dual Mode
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>
    <xref ref-type="bibr" rid="scirp.134298-"></xref>1. General Introduction</title>
   <sec id="s1_1">
    <title>
     <xref ref-type="bibr" rid="scirp.134298-"></xref>1.1. Introduction</title>
    <p>Humans have always wanted to have a sense of security and prevent others from entering their areas and spaces throughout centuries. They try to hide their precious belongings and important items by using locks and any other sort of security. It was believed that the first lock found was made in ancient Egyptian civilization 4000 DC ago <xref ref-type="bibr" rid="scirp.134298-1">
      [1]
     </xref>, and from that time till now, it has evolved to be more secure and provide more security to humans.</p>
    <p>The modern pin tumbler lock, or the Cylinder lock, is one of the most important inventions and discoveries in decades. That was invented in 1861 by Linus Yale Sr. This one has a key with a specific shape to make the lock open only with keys that have the same shape.</p>
    <p>Now in digital age and modern technology times, smart doors are introduced to society. They depend on internet, and humans control their locks from distances and monitor them. Smart doors can send an alert to user in different ways, which brings additional security than normal doors. Smart locks do not require holding any physical keys. They are considered as a part of a home Automation. Another advantage of smart door is that it can control the access of people to enter through the door and monitor their actions. <xref ref-type="bibr" rid="scirp.134298-2">
      [2]
     </xref></p>
   </sec>
   <sec id="s1_2">
    <title>
     <xref ref-type="bibr" rid="scirp.134298-"></xref>1.2. Introduction to IoT</title>
    <p>For many years, people have always been interested in collecting information and data. Humans depend on internet every day in their daily lives nowadays and it has become a major means of communication with others. Now what happens if we want to connect every device that has on/off switch, every object that is able to access internet, human beings, everything to all, with data sharing from one to all, through huge and giant network.</p>
    <sec id="s1">
     <title>2. System Design and Its Components</title>
    </sec>
    <sec id="s2_3">
     <title>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>2.1. Introduction</title>
     <p>Several applications of IoT require basic components and internet connection. In this chapter, the components of the system and the block diagram structure are presented, including the process of controlling and monitoring the system within IoT.</p>
    </sec>
    <sec id="s2_4">
     <title>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>2.2. The Block Diagram and Its Components</title>
     <p>The system’s block diagram is shown in <xref ref-type="fig" rid="fig1">
       Figure 1
      </xref>. The lock is controlled by the microcontroller that is connected to fingerprint, keypad and camera. This type of controller has the ability to connect to internet and send data to a certain server. The user can have control of the microcontroller through an application.</p>
     <p>The diagram block of the system was designed based on putting the controller in the middle, and then the controller was connected to the server by a WIFI router, and then the user was connected to the controller through Biometric Door Lock such as fingerprint machine or password..etc. Accordingly, we can get closed loop.</p>
     <p>In this study, ESP32 WROOM Module is chosen (specifications shown in <xref ref-type="table" rid="table1">
       Table 1
      </xref>), as shown in <xref ref-type="fig" rid="fig2">
       Figure 2
      </xref>. This chip is called “The chip of the future”, and it is widely used in IoT applications and projects. It has several advantages such as built-in Wi-Fi and Bluetooth, many pins for input and output, and 10 touch sensors that can be used in different applications. It is programmed by Arduino software IDE.</p>
     <p>Why do we use ESP 32 Series of microcontrollers?</p>
     <p>The ESP32 Series of microcontrollers is the most popular among its siblings. They boast an extensive range of features: Dual-Core Processor, Wireless Connectivity, Low-Power Modes, Rich Peripherals, Analog-to-Digital Conversion</p>
     <fig id="fig1" position="float">
      <label>Figure 1</label>
      <caption>
       <title>Figure 1. System’s block diagram.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId13.jpeg?20240702033222" />
     </fig>
     <table-wrap id="table1">
      <label>
       <xref ref-type="table" rid="table1">
        Table 1
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 1. ESP-32 WROOM module specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Main Processor</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">Tensilica Xtensa 32-bit LX6</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Clock Frequency</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">240 MHz</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Operating Voltage</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">3.3 V</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">DC current per I/O pin</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">40 mA</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">GPIOs</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">28 Pins</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Analog to digital converters</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">6 Pins</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Digital I/O pins</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">14 Pins</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">SRAM</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">520 KB</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">ROM</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">448 KB</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Flash Memory</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">16 MB</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Operating temperature</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">−40˚C to +125˚C</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">11 Jordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <fig id="fig2" position="float">
      <label>Figure 2</label>
      <caption>
       <title>Figure 2. ESP32.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId14.jpeg?20240702033222" />
     </fig>
     <p>(ADC), Secure Boot and Flash Encryption, Support for Various Protocols, Extensive Memory, RTOS Support, OTA (Over-The-Air) Updates, Bluetooth Audio and Classic Bluetooth, Rich Development Ecosystem and Cost-Effective that is making it accessible to hobbyists and professionals alike “this feature is applicable also on ESP32 Camera”.</p>
     <p>In addition, THE ESP32 Development tools and frameworks are ESP-IDF (Espressif IoT Development Framework) is the official software development framework for Espressif’s series of microcontrollers. It provides a comprehensive set of libraries, tools, and documentation for developing applications on these chips.</p>
     <p>ESP-IDF is designed to make it easier for developers to harness the full potential of the ESP32 microcontroller and build a wide range of IoT and embedded applications. <xref ref-type="bibr" rid="scirp.134298-3">
       [3]
      </xref></p>
     <p>Note: The 5 V pin can be supplied with a Regulated 5 V, this voltage will again be regulated to 3.3 V through the on-board voltage regulator. Remember ESP32 operated with 3.3 V only.</p>
     <p>With ESP32-CAM (specifications shown in <xref ref-type="table" rid="table2">
       Table 2
      </xref>), this chip is from ESP32 module family, it has fewer GPIOs than the ESP-32, because many of the GPIOs are used internally for the camera and the microSD card port. <xref ref-type="fig" rid="fig3">
       Figure 3
      </xref> shows how it looks. Its main focus is on IoT projects and systems, this board allows you to create a localhost server for video steaming with a lot of resolutions, with external storage micro-SD card slot up to 4 GB with advanced functions like image tracking, and the camera is OV2640 module 2 MP.</p>
     <p>In this project, we will use it as a second microcontroller, and it allows us to have visual feedback in case of incorrect entry of the system.</p>
     <fig id="fig3" position="float">
      <label>Figure 3</label>
      <caption>
       <title>Figure 3. ESP32-CAM.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId15.jpeg?20240702033223" />
     </fig>
     <table-wrap id="table2">
      <label>
       <xref ref-type="table" rid="table2">
        Table 2
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 2. ESP32-CAM module specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Main Processor</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">Tensilica Xtensa 32-bit LX6</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Clock Frequency</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">160 MHz</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Operating Voltage</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">5 V</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">GPIOs</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">9 Pins</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Photosensitive Array</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">1622 × 1200</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Resolution</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">2 Megapixel</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">SRAM</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">520 KB</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">ROM</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">448 KB</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Flash Memory</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">16 MB</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Operating temperature</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">−20˚C - 85˚C;</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">Jordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>In this system, there are different platforms in order to view the data the captured Images:</p>
     <p>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>Telegram (<xref ref-type="fig" rid="fig4">
       Figure 4
      </xref>):</p>
     <p>Using the telegram bot, we can also view the captured images from the ESP32-CAM microcontroller. All you need is to have a telegram account which can be created very easily and for free on your smart phone.</p>
     <fig id="fig4" position="float">
      <label>Figure 4</label>
      <caption>
       <title>Figure 4. Telegram application icon.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId16.jpeg?20240702033223" />
     </fig>
     <p>In this system, the Blynk applications will be chosen. This platform main focus is about IoT application. It allows the user to control and interact with different microcontrollers like Arduino, NodeMCU, ESP32, etc. in different ways, like, Bluetooth, USB, etc. The important one is via Wi-Fi <xref ref-type="bibr" rid="scirp.134298-5">
       [5]
      </xref>. With Blynk, we have the ability to control the system through your mobile.</p>
     <fig id="fig5" position="float">
      <label>Figure 5</label>
      <caption>
       <title>Figure 5. Blynk application icon.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId17.jpeg?20240702033224" />
     </fig>
     <p>Every person has unique friction ridges on their fingers, known as fingerprints. A fingerprint scanner is a hardware sensor that reads these unique fingerprints to verify a person’s identity. It is used to unlock content or services and is now common in smartphones and laptops. <xref ref-type="fig" rid="fig6">
       Figure 6
      </xref> illustrates how a human fingerprint is converted into digital code.</p>
     <fig id="fig6" position="float">
      <label>Figure 6</label>
      <caption>
       <title>Figure 6. Biometric fingerprint to digital code.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId18.jpeg?20240702033224" />
     </fig>
     <fig id="fig7" position="float">
      <label>Figure 7</label>
      <caption>
       <title>Figure 7. Optical fingerprint scanner.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId19.jpeg?20240702033224" />
     </fig>
     <p>The optical scanner, capacitive scanner, and ultrasonic scanner are the three common types of fingerprint scanners. Each type of scanner’s basic purpose is to image a picture of a person’s fingerprint and look for a match in its database. The accuracy of a fingerprint image is measured in dots per inch (DPI). <xref ref-type="fig" rid="fig7">
       Figure 7
      </xref> shows the optical fingerprint scanner that will be used and <xref ref-type="table" rid="table3">
       Table 3
      </xref> shows the Optical Fingerprint Scanner Specifications. <xref ref-type="bibr" rid="scirp.134298-6">
       [6]
      </xref></p>
     <table-wrap id="table3">
      <label>
       <xref ref-type="table" rid="table3">
        Table 3
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 3. Optical fingerprint scanner specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="52.47%"><p style="text-align:left">Supply voltage</p></td> 
        <td class="aleft" width="47.53%"><p style="text-align:left">3.6 - 6.0 V</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.47%"><p style="text-align:left">Number of pins needed</p></td> 
        <td class="aleft" width="47.53%"><p style="text-align:left">6</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.47%"><p style="text-align:left">Operating current(Max)</p></td> 
        <td class="aleft" width="47.53%"><p style="text-align:left">120 mA</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.47%"><p style="text-align:left">Storage capacity</p></td> 
        <td class="aleft" width="47.53%"><p style="text-align:left">162 templates</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.47%"><p style="text-align:left">Work Temperature</p></td> 
        <td class="aleft" width="47.53%"><p style="text-align:left">−20˚C - +50˚C</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.47%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="47.53%"><p style="text-align:left">Jordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>In this system, the electric solenoid lock (<xref ref-type="fig" rid="fig8">
       Figure 8
      </xref>) is chosen for locking mechanism. It is simple to install an electric door lock with only two weirs to be connected with the system. <xref ref-type="table" rid="table4">
       Table 4
      </xref> shows the specifications of the electric solenoid lock.</p>
     <fig id="fig8" position="float">
      <label>Figure 8</label>
      <caption>
       <title>Figure 8. Electric solenoid lock.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId20.jpeg?20240702033225" />
     </fig>
     <table-wrap id="table4">
      <label>
       <xref ref-type="table" rid="table4">
        Table 4
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 4. Electric lock assembly solenoid specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="28.13%"><p style="text-align:left">Size</p></td> 
        <td class="aleft" width="71.87%"><p style="text-align:left">L 27 mm * W 29 mm * H 18 mm</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="28.13%"><p style="text-align:left">Voltage</p></td> 
        <td class="aleft" width="71.87%"><p style="text-align:left">12 v DC</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="28.13%"><p style="text-align:left">Current</p></td> 
        <td class="aleft" width="71.87%"><p style="text-align:left">745 mA</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="28.13%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="71.87%"><p style="text-align:left">JD</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>A keypad is simply a group of buttons or switches, we can call them the keypad elements. Each element represents a single value assigned to it inside the program by the programmer. Keypads come in different dimensions, sizes, and shapes like 1 × 4, 3 × 4, etc. Figures below show the internal structure of 4 * 4 keypad sizes.</p>
     <p>A 4 × 3 Keypad Membrane module (<xref ref-type="fig" rid="fig10">
       Figure 10
      </xref>) is chosen in this system in order to enter the code used to open the lock. Two buttons in this keypad are customized by programming to do specific things that will be discussed in next chapter (<xref ref-type="table" rid="table5">
       Table 5
      </xref>, Membrane Keypads Specifications).</p>
     <p>12 V 4000 mAh rechargeable LITHIUM-ION battery (<xref ref-type="table" rid="table6">
       Table 6
      </xref> shows the specifications of LITHIUM-ION Battery) with charger is chosen to supply the solenoid lock circuit and the whole system in when main power failure.</p>
     <fig id="fig9" position="float">
      <label>Figure 9</label>
      <caption>
       <title>Figure 9. 4 × 4 keypad internal structure.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId21.jpeg?20240702033226" />
     </fig>
     <fig id="fig10" position="float">
      <label>Figure 10</label>
      <caption>
       <title>Figure 10. 4 × 3 membrane keypad internal structure.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId22.jpeg?20240702033226" />
     </fig>
     <table-wrap id="table5">
      <label>
       <xref ref-type="table" rid="table5">
        Table 5
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 5. Membrane keypads specification.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td aleft" width="41.08%"><p style="text-align:left"></p></td> 
        <td class="custom-bottom-td aleft" width="58.92%"><p style="text-align:left">Rigid Keypads</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td aleft" width="41.08%"><p style="text-align:left">Operating current max.</p></td> 
        <td class="custom-top-td aleft" width="58.92%"><p style="text-align:left">20 mA</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="41.08%"><p style="text-align:left">Buttons Feeling</p></td> 
        <td class="aleft" width="58.92%"><p style="text-align:left">Hard button (Mechanical)</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="41.08%"><p style="text-align:left">Installation</p></td> 
        <td class="aleft" width="58.92%"><p style="text-align:left">Has screw holes</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="41.08%"><p style="text-align:left">Operating temperature</p></td> 
        <td class="aleft" width="58.92%"><p style="text-align:left">−20˚C - 60˚C</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="41.08%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="58.92%"><p style="text-align:left">Jordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>
      <xref ref-type="bibr" rid="scirp.134298-"></xref></p>
     <fig id="fig11" position="float">
      <label>Figure 11</label>
      <caption>
       <title>Figure 11. LITHIUM-ION battery.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId23.jpeg?20240702033226" />
     </fig>
     <table-wrap id="table6">
      <label>
       <xref ref-type="table" rid="table6">
        Table 6
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 6. LITHIUM-ION battery specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Voltage</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">12.6 V</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Actual Capacity</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">4000 mAh</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Rechargeable</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">Yes</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Rechargeable Times</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">More than 500 times</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">20 Jordanian Dinar</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Output Current</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">A</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>This relay is used to switch from main power supply to the battery in case of main power failure. <xref ref-type="table" rid="table7">
       Table 7
      </xref> shows the 12 V DC Omron relay 8PIN DPDT specification.</p>
     <fig id="fig12" position="float">
      <label>Figure 12</label>
      <caption>
       <title>Figure 12. 12 V DC OMRON relay 8PIN DPDT.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId24.jpeg?20240702033226" />
     </fig>
     <table-wrap id="table7">
      <label>
       <xref ref-type="table" rid="table7">
        Table 7
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 7. 12 V DC Omron relay 8PIN DPDT specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Type</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">MY2NJ</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Contact capacity</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">AC 5 A 250 V DC 5 A 30 V</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Size</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">27.6 × 21.5 × 34 mm</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">Jordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>This adapter is used to power the whole system from the socket and <xref ref-type="table" rid="table8">
       Table 8
      </xref> shows the specification of adapter 12 V 2 A Power Supply.</p>
     <fig id="fig13" position="float">
      <label>Figure 13</label>
      <caption>
       <title>Figure 13. Adapter 12V 2A power supply.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId25.jpeg?20240702033227" />
     </fig>
     <table-wrap id="table8">
      <label>
       <xref ref-type="table" rid="table8">
        Table 8
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 8. ADAPTER 12 V specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Input</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">100 to 240 V AC at 50 to 60 Hz</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Output</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">12 V 2 A</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Rating</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">24 W</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="52.46%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="47.54%"><p style="text-align:left">Jordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>
      <xref ref-type="bibr" rid="scirp.134298-"></xref></p>
     <p>1) Magnetic Switch (<xref ref-type="fig" rid="fig14">
       Figure 14
      </xref>):</p>
     <p>This switch is used to indicate the status of the door if it’s closed or opened.</p>
     <p>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>2) Push Button (<xref ref-type="fig" rid="fig15">
       Figure 15
      </xref>):</p>
     <p>This button is used to open the lock from inside the door.</p>
     <p>3) Voltage Regulator (<xref ref-type="fig" rid="fig16">
       Figure 16
      </xref>):</p>
     <p>In order to operate the microcontrollers and components, we need this device to have 5 V for both ESP32-CAM and ESP32 for operation. This device makes the 12 V supplied from battery into 5-volt which is suitable for the needed devices (<xref ref-type="table" rid="table9">
       Table 9
      </xref>, 7805 Voltage Regulator Specification).</p>
     <p>4) OLED Screen (<xref ref-type="fig" rid="fig17">
       Figure 17
      </xref>):</p>
     <p>Used to show specific words during operation of the system (<xref ref-type="table" rid="table10">
       Table 10
      </xref> shows OLED Screen Specifications).</p>
     <fig id="fig14" position="float">
      <label>Figure 14</label>
      <caption>
       <title>Figure 14. Magnetic switch.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId26.jpeg?20240702033227" />
     </fig>
     <fig id="fig15" position="float">
      <label>Figure 15</label>
      <caption>
       <title>Figure 15. Push button.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId27.jpeg?20240702033226" />
     </fig>
     <fig id="fig16" position="float">
      <label>Figure 16</label>
      <caption>
       <title>Figure 16. 7805 voltage regulator.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId28.jpeg?20240702033226" />
     </fig>
     <table-wrap id="table9">
      <label>
       <xref ref-type="table" rid="table9">
        Table 9
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 9. 7805 voltage regulator specification.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft"><p style="text-align:left">Input Voltage</p></td> 
        <td class="aleft"><p style="text-align:left">Min: 7 V DC Max: 25 V DC</p></td> 
       </tr> 
       <tr> 
        <td class="aleft"><p style="text-align:left">Current</p></td> 
        <td class="aleft"><p style="text-align:left">Operating Current: 5 mA Output Current Up to 1.5 A</p></td> 
       </tr> 
       <tr> 
        <td class="aleft"><p style="text-align:left">Price</p></td> 
        <td class="aleft"><p style="text-align:left">Ordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <fig id="fig17" position="float">
      <label>Figure 17</label>
      <caption>
       <title>Figure 17. OLED screen.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId29.jpeg?20240702033226" />
     </fig>
     <table-wrap id="table10">
      <label>
       <xref ref-type="table" rid="table10">
        Table 10
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 10. OLED screen specifications.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="aleft" width="48.72%"><p style="text-align:left">Size</p></td> 
        <td class="aleft" width="51.28%"><p style="text-align:left">0.91 inch</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="48.72%"><p style="text-align:left">Matrix Size: 128 × 32 (white, blue)</p></td> 
        <td class="aleft" width="51.28%"><p style="text-align:left">128 × 32 (white, blue)</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="48.72%"><p style="text-align:left">Temperature: −40˚C to +70˚C</p></td> 
        <td class="aleft" width="51.28%"><p style="text-align:left">Temperature: −40˚C to +70˚C</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="48.72%"><p style="text-align:left">Voltage</p></td> 
        <td class="aleft" width="51.28%"><p style="text-align:left">3.3 V</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="48.72%"><p style="text-align:left">Price</p></td> 
        <td class="aleft" width="51.28%"><p style="text-align:left">Jordanian Dinar</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>5) Voltage Indicator (<xref ref-type="fig" rid="fig18">
       Figure 18
      </xref>):</p>
     <p>Used to show the battery voltage as an indicator</p>
     <p>6) Small Components to be used:</p>
     <fig id="fig18" position="float">
      <label>Figure 18</label>
      <caption>
       <title>Figure 18. Voltage indicator.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId30.jpeg?20240702033227" />
     </fig>
     <fig id="fig19" position="float">
      <label>Figure 19</label>
      <caption>
       <title>Figure 19. Female DC power adapter.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId31.jpeg?20240702033227" />
     </fig>
     <fig id="fig20" position="float">
      <label>Figure 20</label>
      <caption>
       <title>Figure 20. Bread board jumper wires.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId32.jpeg?20240702033227" />
     </fig>
     <fig id="fig21" position="float">
      <label>Figure 21</label>
      <caption>
       <title>Figure 21. Heat sink.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId33.jpeg?20240702033227" />
     </fig>
     <fig id="fig22" position="float">
      <label>Figure 22</label>
      <caption>
       <title>Figure 22. LEDs.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId34.jpeg?20240702033227" />
     </fig>
     <p>Since design and product development are constantly looking for ways to improve human and consumer needs, the user may choose the cheapest and most functional product among competing products. The table below shows the estimated product prices; it can be said that 125 JOD is a reasonable price and competitive between other products mentioned before (<xref ref-type="table" rid="table11">
       Table 11
      </xref> shows the prices of the total components).</p>
     <table-wrap id="table11">
      <label>
       <xref ref-type="table" rid="table11">
        Table 11
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.134298-"></xref>Table 11. Prices of the components.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td aleft" width="59.21%"><p style="text-align:left">Component</p></td> 
        <td class="custom-bottom-td aleft" width="40.79%"><p style="text-align:left">Price</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td aleft" width="59.21%"><p style="text-align:left">ESP32</p></td> 
        <td class="custom-top-td aleft" width="40.79%"><p style="text-align:left">11 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">ESP32-CAM</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">15 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">Fingerprint Scanner</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">45 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">Battery</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">20 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">Keypad</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">5 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">Electrical Solenoid lock</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">10 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">12 V DC ORMON Relay</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">6 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">Adapter 12 V 2 A Power Supply</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">4 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">OLED Screen</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">4 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">Other components</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">5 JOD</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="59.21%"><p style="text-align:left">Total cost</p></td> 
        <td class="aleft" width="40.79%"><p style="text-align:left">125 JOD</p></td> 
       </tr> 
      </table>
     </table-wrap>
    </sec>
   </sec>
   <sec id="s3">
    <title>3. Operation and Analysis</title>
    <p>Simulation programs with microcontrollers and components will be used to simulate some parts of the system and analyze the results using Proteus software and LT-spice. There will also be a discussion of power analysis and its simulations.</p>
    <sec id="s3_1">
     <title>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>3.1. ESP32 Microcontrollers</title>
     <p>As previously mentioned, the ESP32 microcontrollers are widely used in IoT applications. They are easy to use, powerful, with many new features that usual microcontrollers do not have.</p>
    </sec>
    <sec id="s3_2">
     <title>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>3.2. System Modes</title>
     <p>As the system starts in operation, first it will search for an internet connection, if there is an internet, it will complete its whole operation based on that, i.e., it will work on online mode, connection if not, it will work on offline mode. It should be noted that it will always search for internet connection.</p>
     <p>If the system is connected to the Wi-Fi, first it will print on serial monitor that it’s connected to the Wi-Fi then connecting to Blynk application and a message will be shown on the application that is connected. <xref ref-type="bibr" rid="scirp.134298-7">
       [7]
      </xref></p>
     <p>Then the ESP32 will check if the system is closed, if it’s closed then also a message will be shown on Blynk “the door is closed. Then ESP32 will check if a push button is pushed (opened from inside) or not, if not the door will be closed. Other way it will be opened and a message will be shown on Blynk that it’s opened.</p>
     <p>If the user placed his fingerprint on the scanner and matched the data that was already stored, the door will be opened and a message on app shows that it’s opened as well as the OLED screen will show (Door is Open)</p>
     <p>If did not match, ESP32-Cam will take a photo and send it to the Telegram application and OLED shows (No Match!). It must be known that the default way of entering is by fingerprint.</p>
     <p>If the user pressed the * key, its convert to the keypad, then a LED is turned on and a new PIN number is generated and sent to the Blynk (4 digits). The (#) is used to delete any entered digit, i.e., acts like backspace. If the PIN number is matched, the door is opened and OLED screen shows that also, if not a photo is taken and sent to Telegram application while OLED screen shows (Wrong Pin!).</p>
     <p>In Online Mode, different commands can be done with Blynk application on the system operation like as shown in <xref ref-type="fig" rid="fig23">
       Figure 23
      </xref>: <xref ref-type="bibr" rid="scirp.134298-8">
       [8]
      </xref></p>
     <p>If the system fails to connect to the Wi-Fi, it will be in offline mode operation, and it has less status.</p>
     <fig id="fig23" position="float">
      <label>Figure 23</label>
      <caption>
       <title>Figure 23. Terminal commands.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId35.jpeg?20240702033229" />
     </fig>
     <p>If the user placed his fingerprint on the scanner and matched the data that was already stored, the door will be opened, and OLED screen will show (Door is Open).</p>
     <p>If not, the OLED screen shows (No Match!), and the door is still locked.</p>
     <p>If the user pressed the * key, it convert to the keypad, then a LED is turned on and the user should enter the default PIN which is (4 digits). While having the ability to delete the entered digit by (#) button. If the PIN number isn’t matched, (Wrong Pin!) is shown on the OLED screen.</p>
     <p>If the door was opened by unusual way i.e., not by the mentioned ways, The system takes a photo and be sent to the application.</p>
     <p>The ESP32 in this state, is in sleep mode while ESP32-CAM is on.</p>
    </sec>
    <sec id="s3_3">
     <title>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>3.3. System Operation</title>
     <p>The mentioned controllers are to heart of the system, and as long as the system has an internet access, ESP32 is connected with the Blynk application, while being ESP32-Cam connected with Telegram.</p>
     <p>With the help of IoT and its advantages, and in the online modes, our system deals with sending the captured photos through the API and sent to a server from telegram which is specific to IoT applications. It should be noted that the picture is very fast when being taken and sent, not a considerable delay. <xref ref-type="fig" rid="fig24">
       Figure 24
      </xref> below shows the captured images and being shown on the phone.</p>
     <p>As the whole system is being controlled by this microcontroller, it’s also being controlled with the phone application Blynk, as long as it’s s in online mode, and by meaning controlled, we can open the lock by using this application. In our system, we have a feature which is reports, the function of reports widget is to configure and customize data reports in CSV format, i.e., we have the ability to know when the door was opened in the mentioned format. i.e., shows the status history of the lock. It is also possible to be sent to your email and downloaded as an Excel sheet with time and date of the opening times as shown in <xref ref-type="fig" rid="fig25">
       Figure 25
      </xref>.</p>
     <fig id="fig24" position="float">
      <label>Figure 24</label>
      <caption>
       <title>Figure 24. ESP32Cam and telegram.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId36.jpeg?20240702033231" />
     </fig>
     <fig id="fig25" position="float">
      <label>Figure 25</label>
      <caption>
       <title>Figure 25. Blynk reports.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId37.jpeg?20240702033231" />
     </fig>
    </sec>
    <sec id="s3_4">
     <title>3.4. System Physical Connection</title>
     <p>
      <xref ref-type="fig" rid="fig26">
       Figure 26
      </xref> below shows how would the Physical Connection be like, it can be seen that the ESP32 is connected to all the other components while having 3 connected lines with ESP32-CAM for different purposes:</p>
     <p>1) ESP32 makes the ESP32-CAM take a photo and be sent to Telegram.</p>
     <p>2) Face detection and recognition (Future Works).</p>
     <p>3) The result of Face detection and recognition, if there is a matching, tells the ESP32 to open the lock.</p>
     <fig id="fig26" position="float">
      <label>Figure 26</label>
      <caption>
       <title>Figure 26. Physical connection.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId38.jpeg?20240702033232" />
     </fig>
    </sec>
    <sec id="s3_5">
     <title>
      <xref ref-type="bibr" rid="scirp.134298-"></xref>3.5. Simulation and Analysis</title>
     <p>Proteus software is used to implement the architecture outlined in the earlier pages for more analysis. Figures below show the implementation of the two microcontrollers ESP32-Cam (<xref ref-type="fig" rid="fig27">
       Figure 27
      </xref>) &amp; ESP32 in Proteus program (<xref ref-type="fig" rid="fig28">
       Figure 28
      </xref>). As mentioned before, child sheet method is used in Proteus due to missing library of microcontrollers.</p>
     <p>
      <xref ref-type="fig" rid="fig29">
       Figure 29
      </xref> below shows the overall system simulation using Proteus software. Unfortunately, ESP32 and ESP32-CAM do not have a library and a child sheet method is used in order to make them act like an Arduino. Also, the fingerprint as well as soloed lock are having the same problem and cannot be dealt with the previous method.</p>
     <fig id="fig27" position="float">
      <label>Figure 27</label>
      <caption>
       <title>Figure 27. ESP32-Cam microcontroller in Proteus.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId39.jpeg?20240702033232" />
     </fig>
     <fig id="fig28" position="float">
      <label>Figure 28</label>
      <caption>
       <title>Figure 28. ESP32-Microcontroller in Proteus.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId40.jpeg?20240702033232" />
     </fig>
    </sec>
   </sec>
   <sec id="s4">
    <title>
     <xref ref-type="bibr" rid="scirp.134298-"></xref>4. Conclusions</title>
    <p>1) As IoT is becoming more permeate in all applications, home-automation is becoming a major aspect of IoT.</p>
    <fig id="fig29" position="float">
     <label>Figure 29</label>
     <caption>
      <title>Figure 29. Overall system simulation.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/8701742-rId41.jpeg?20240702033232" />
    </fig>
    <p>2) The system presented in this project aims to provide a secure area for human beings and their belongings.</p>
    <p>3) The proposed system has the ability to provide visual feedback in case of error entry attempts at a reasonable cost.</p>
    <p>4) ESP32 family series is considered to be one of the best controllers in IoT applications due to their powerful features.</p>
    <p>5) The searching of related work of our system gained us different ideas and yielded new concepts to be taken into consideration.</p>
    <p>6) Many problems of Node MCU (ESP32 family series) in Proteus software are solved by using the child sheet method and labeling the wires while using the Arduino library.</p>
    <p>7) Using the telegram application gives advantages to users such as access to information and the ability to communicate and receive data from the system.</p>
   </sec>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.134298-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Phillips, B. (2005) The Complete Book of Locks and Locksmithing. 6th Edition, McGraw-Hill.
    </mixed-citation>
   </ref>
   <ref id="scirp.134298-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bagchi, T., et al. (2022) Intelligent Security System Based on Face Recognition and IoT. Materials Today: Proceedings, 62, 2133-2137. &gt;https://www.sciencedirect.com/science/article/abs/pii/S2214785322016984 
    </mixed-citation>
   </ref>
   <ref id="scirp.134298-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mario Marković—Software Engineer. &gt;https://www.byte-lab.com/why-is-esp-the-most-used-iot-connectivity-mcu/ 
    </mixed-citation>
   </ref>
   <ref id="scirp.134298-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     ESP32 WIFI&amp;Bluetooth Modules I Espressif. ESPRESSIF Company.&gt;https://www.espressif.com/en/products/modules/esp32 
    </mixed-citation>
   </ref>
   <ref id="scirp.134298-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Get Started with Blynk in 5 Minutes. BLYNK IOT Platform.&gt;http://blynk.io/en/getting-started 
    </mixed-citation>
   </ref>
   <ref id="scirp.134298-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     5-in-1 Keyless Entry Smart Lock. ULTRALOQ Company.&gt;https://store.u-tec.com/products/ultraloq-ul3-bt-2ndgen-bluetooth-enabled-fingerprint-and-touchscreen-smart-lever-lock 
    </mixed-citation>
   </ref>
   <ref id="scirp.134298-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Sample, I. (2018) What Is the Internet? Independent Journalism Community. &gt;https://www.theguardian.com/technology/2018/oct/22/what-is-the-internet-13-key-questions-answered
    </mixed-citation>
   </ref>
   <ref id="scirp.134298-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Susilo, R.A., et al. (2024) Design and Build a Smart Door Lock Using Face Recognition. In: Proceedings of the International Conference on Applied Science and Technology on Engineering Science 2023, Atlantis Press, 1001-1014. &gt;https://www.atlantis-press.com/proceedings/icast-es-23/125998318
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>