Abstract
Home security has increased in recent years with the help of technology. Even more, the appearance of the internet of things (IoT) allows it to control and monitor devices from anywhere in the world. This work develops a proposal that alerts the user about the status of a door through a mobile application using low-cost devices. For the electronic design, a magnetic contact sensor has been used that detects if the door is open. An electric lock is also used to control the door with the mobile application from anywhere in the user. The electronic system is based on an ESP32 board that has WiFi communication, this board sends the door status data to the mobile application. The electric lock can be activated in three ways: manually from the door, automatically according to a programmed routine, and remotely using the mobile app. The platform used for the IoT is Firebase, which allows the exchange of information between the local site and the remote site. The tests carried out around the prototype have responded correctly, the installed sensor continuously reports on the status of the door, and the control is executed according to the orders sent through the cloud. In addition, an acceptance test is used that guarantees the correct operation of the proposal.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Home security is an important issue for people, everyone requires a protected space because most family members work and study, away from home. For this reason, security systems must be taken seriously, analyzing the possible problems [1]. The smart home appeared for controlling and monitoring the home, providing greater peace of mind through monitoring and staying connected anytime, anywhere [2].
In recent years there is a trend to use the technology of the internet of things (IoT) to communicate smartphones to a conventional device such as an electric lock, this allows a door to be opened or closed remotely through authentication [3,4,5]. This is one of many services in the knowledge-based information society. In addition, there is a growth in convergent services that use two or more components for the same purpose.
The IoT requires that all objects provide information, in this way the states are updated in the cloud to make decisions automatically or by the user [6]. Some components of this technology are interactive services, user identification, wired and wireless sensors, carrier networks, advanced communication protocols, and distributed intelligence in different objects, all are common features today [7]. Currently, providing homes with a security system has become an important topic of analysis, in which the latest technologies are applied [8]. Of these technologies, the cloud platform is an important component to monitor and control home devices remotely [9].
This work develops a proposal that allows reading and controlling the status of a door through a mobile application using low-cost devices based on IoT. This document contains 4 sections, including the introduction. Section 2 presents the methods and materials, Sect. 3 shows the results and Sect. 4 presents the conclusions.
2 Methods and Materials
The materials used in this project are presented in the scheme of Fig. 1. The system consists of a magnetic contact sensor, an electric lock and a processor board for door control. The electronic board has WiFi communication for connection to a remote database. This database is installed on a cloud platform that is accessed from both ends. The other end is made up of the mobile application, from this position the door is controlled and monitored remotely.
2.1 Electronic Design
The electronic circuit is designed as shown in Fig. 2. The ESP32 board is the central component of the circuit because it includes a WiFi communication module, and is responsible for data acquisition, control and processing. The magnetic contact sensor is connected to a digital port as input. The electric lock uses a relay to control the power supply at 12 V DC. The relay is controlled using a digital pin configured as an output.
2.2 Program Design
The main program designed for this project is presented in the flowchart of Fig. 3. The ESP32 board reads the sensor status to determine if the door is open or closed, and sends this information to the database in Cloud. The ESP32 also receives the information from the database and processes the received order, this order activates the electric lock if required, and thus opens the door. The remote database is updated with new data from both ends, in this case, the ESP32 updates the gate status. This read and control cycle is constantly repeated within the infinite loop function.
2.3 Design of the Mobile Application
Figure 4 shows the user interface design for the mobile application. The interface contains 3 buttons, an open button, a close button and a button to exit the application. The app connects to Firebase which is where the remote database is hosted. Through the open and close buttons, it sends the control orders for the door. In addition, it receives data from the magnetic contact sensor to display a message when the status of the door changes, whether it is manually or electronically operated.
3 Results
3.1 Function Tests
In Fig. 5 it can see images of how the proposal works, both the elements of the door located in a house, and the mobile application located in a remote place. The tests carried out were carried out successfully, constantly updating the status of the door and activating the electric lock without problems.
3.2 Acceptance Evaluation
To evaluate the characteristics of this proposal, an acceptance questionnaire was applied to the 4 members of the house. The questionnaire is made up of 7 questions to evaluate different components of the proposal. The questions are answered using a 7-level Likert scale, where 7 strongly agree and 1 strongly disagrees. The results of the acceptance test are presented in Table 1, with a final evaluation of 78.06% acceptance, a favorable value for this proposal. Although this evaluation shows some dissatisfaction with the physical use of the door, this component can be improved with a local interface for door control.
4 Conclusions
The use of low-cost devices to implement projects based on IoT is very common today. This has facilitated the increase in home security, allowing the development of reduced systems such as the one presented in this document. This way homeowners can monitor the front door and unlock it remotely if needed. The score obtained in the acceptance test indicates acceptable characteristics for users (78.06%) but leaves a point to improve with the difficult local use of the door. In future works, it is intended to automate an entire house by managing the different devices from the same mobile application.
References
Hariprakash, R., Ramu, G.V., Rajakumari, T., Ananthi, S., Padmanabhan, K.: Some problems & methods for remotely controllable automatic home security systems. In: 2008 Third International Conference on Systems and Networks Communications, pp. 400–403. IEEE (2008). https://doi.org/10.1109/ICSNC.2008.41
Varela-Aldás, J., Buele, J., Cumbajin, M.: Smart home control system using echo dot. In: Rocha, Á., Ferrás, C., López-López, P.C., Guarda, T. (eds.) ICITS 2021. AISC, vol. 1330, pp. 303–312. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-68285-9_29
Jeong, J.-I.: A study on the IoT based smart door lock system. In: Kim, K.J., Joukov, N. (eds.) Information Science and Applications (ICISA) 2016, pp. 1307–1318. Springer, Singapore (2016). https://doi.org/10.1007/978-981-10-0557-2_123
Chávez-Chica, E., Buele, J., Salazar, F.W., Varela-Aldás, J.: Prototype system for control the ScorBot ER-4U robotic arm using free tools. In: Zallio, M., Raymundo Ibañez, C., Hernandez, J.H. (eds.) AHFE 2021. LNNS, vol. 268, pp. 158–165. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-79997-7_20
Varela-Aldás, J., Guamán, J., Paredes, B., Chicaiza, F.A.: Robotic cane for the visually impaired. In: Antona, M., Stephanidis, C. (eds.) HCII 2020. LNCS, vol. 12188, pp. 506–517. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-49282-3_36
Atzori, L., Iera, A., Morabito, G.: The Internet of Things: a survey. Comput. Netw. 54, 2787–2805 (2010). https://doi.org/10.1016/j.comnet.2010.05.010
Hussein, N.A., Al Mansoori, I.: Smart door system for home security using Raspberry pi3. In: 2017 International Conference on Computer and Applications (ICCA), pp. 395–399. IEEE (2017). https://doi.org/10.1109/COMAPP.2017.8079785
Chitnis, S., Deshpande, N., Shaligram, A.: An investigative study for smart home security: issues, challenges and countermeasures. Wirel. Sens. Netw. 08, 61–68 (2016). https://doi.org/10.4236/wsn.2016.84006
Jose, A.C., Malekian, R.: Smart home automation security: a literature review. Smart Comput. Rev. (2015). https://doi.org/10.6029/smartcr.2015.04.004
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Toapanta, J., Miranda, M., Andaluz, V.H., Palacios-Navarro, G., Varela-Aldás, J. (2022). Control of a Security Door Through the Internet of Things. In: Stephanidis, C., Antona, M., Ntoa, S. (eds) HCI International 2022 Posters. HCII 2022. Communications in Computer and Information Science, vol 1581. Springer, Cham. https://doi.org/10.1007/978-3-031-06388-6_52
Download citation
DOI: https://doi.org/10.1007/978-3-031-06388-6_52
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-06387-9
Online ISBN: 978-3-031-06388-6
eBook Packages: Computer ScienceComputer Science (R0)