IoT-Enabled Smart Fence: Remote Security and Monitoring Using NodeMCU ESP32 and Blynk

PDF (ENG)

Keywords

IoT-Based Home Security
Automated Fence System
Blynk Application
NodeMCU ESP32

How to Cite

Syahrani, F. P., Saputra, H. K., Anori, S., Agustiarmi, W., Ayasrah, F. T., & Thanh, P. V. (2025). IoT-Enabled Smart Fence: Remote Security and Monitoring Using NodeMCU ESP32 and Blynk. Journal of Hypermedia & Technology-Enhanced Learning, 3(1), 1–15. https://doi.org/10.58536/j-hytel.158

Abstract

The Internet of Things (IoT) has transformed home security by enabling automated remote monitoring and control systems. This study presents an IoT-enabled smart fence prototype that utilizes the NodeMCU ESP32 microcontroller and the Blynk application to provide secure, efficient remote gate operations. The system allows users to remotely open, close, and lock gates via mobile devices, addressing the limitations of traditional manual methods. Core components include ultrasonic sensors for real-time obstacle detection, relays, and motors, all integrated into a robust hardware-software framework. Testing revealed consistent system responses within two seconds under stable network conditions, with accurate obstacle detection ensuring the safety zone is maintained. Despite network stability challenges, the system is practical, user-friendly, and scalable for residential security applications. Future improvements could incorporate dual connectivity options to enhance network resilience and advanced sensor calibration to improve reliability across varied environments. This cost-effective prototype demonstrates significant potential for modern smart home security applications and future advancements.

https://doi.org/10.58536/j-hytel.158
PDF (ENG)
Abstract viewed: 338 times PDF downloaded: 180 times

References

[1] K. Shafique, B. A. Khawaja, F. Sabir, S. Qazi, and M. Mustaqim, “Internet of Things (IoT) for Next-Generation Smart Systems: A Review of Current Challenges, Future Trends, and Prospects for Emerging 5G-IoT Scenarios,” IEEE Access, vol. 8, pp. 23022–23040, 2020. https://doi.org/10.1109/ACCESS.2020.2970118

[2] A. A. Laghari, K. Wu, R. A. Laghari, M. Ali, and A. A. Khan, “A Review and State of Art of Internet of Things (IoT),” Archives of Computational Methods in Engineering, vol. 29, no. 3, pp. 1395–1413, May 2022. https://doi.org/10.1007/s11831-021-09622-6

[3] M. A. Rahman et al., “A Cloud-Based Cyber-Physical System with Industry 4.0: Remote and Digitized Additive Manufacturing,” Automation, vol. 3, no. 3, pp. 400–425, Aug. 2022. https://doi.org/10.3390/automation3030021

[4] P. Marwedel, Embedded System Design, 2nd ed. Springer, 2021. https://doi.org/10.1007/978-3-030-60910-8

[5] M. Ojha and R. Sikka, “An Overview on Applications of Microcontroller,” International Journal of Innovative Research in Engineering and Management, vol. 8, no. 6, pp. 4020–4405, 2021.

[6] D. Hercog, T. Lerher, M. Truntič, and O. Težak, “Design and Implementation of ESP32-Based IoT Devices,” Sensors, vol. 23, no. 15, p. 6739, Jul. 2023. https://doi.org/10.3390/s23156739

[7] J. Eriksson and T. Nilson, “The House as a Machine for Living: Dreams of Domestic Automation, 1923–2023,” in The De Gruyter Handbook of Automated Futures: Imaginaries, Interactions, and Impact, vol. 2, p. 105, 2024.

[8] W. A. Jabbar et al., “Design and Fabrication of Smart Home with Internet of Things Enabled Automation System,” IEEE Access, vol. 7, pp. 144059–144074, 2019. https://doi.org/10.1109/ACCESS.2019.2942846

[9] D. C. Khedekar, A. C. Truco, D. A. Oteyza, and G. F. Huertas, “Home Automation—A Fast-Expanding Market,” Thunderbird International Business Review, vol. 59, no. 1, pp. 79–91, Jan. 2017. https://doi.org/10.1002/tie.21829

[10] K. Scheerlinck and Y. Schoonjans, “Garden Streetscapes: Front Yards as Territorial Configurations,” Landscape Review, vol. 16, no. 2, Sep. 2016. https://doi.org/10.34900/lr.v16i2.955

[11] M. West, “Preventing System Intrusions,” in Network and System Security, 2nd ed., Elsevier, 2014, pp. 29–56. https://doi.org/10.1016/B978-0-12-416689-9.00002-2

[12] C. Zechmeister, M. Gil Pérez, J. Knippers, and A. Menges, “Concurrent, Computational Design and Modelling of Structural, Coreless-Wound Building Components,” Automation in Construction, vol. 151, p. 104889, Jul. 2023. https://doi.org/10.1016/j.autcon.2023.104889

[13] G. Fortino, C. Savaglio, G. Spezzano, and M. Zhou, “Internet of Things as System of Systems: A Review of Methodologies, Frameworks, Platforms, and Tools,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 51, no. 1, pp. 223–236, Jan. 2021. https://doi.org/10.1109/TSMC.2020.3042898

[14] E. Sherif, W. Helmy, and G. H. Galal-Edeen, “Proposed Framework to Manage Non-Functional Requirements in Agile,” IEEE Access, vol. 11, pp. 53995–54005, 2023. https://doi.org/10.1109/ACCESS.2023.3281195

[15] A. S. Rao et al., “Real-time Monitoring of Construction Sites: Sensors, Methods, and Applications,” Automation in Construction, vol. 136, p. 104099, Apr. 2022. https://doi.org/10.1016/j.autcon.2021.104099

[16] J. Singh, D. Singh, L. Verma, and S. Singh, “IoT-Based Remote Control and Monitoring of Electrical Appliances,” International Journal of Digital Technology, vol. 3, no. 1, p. 74, Jun. 2024. https://journal.nielit.edu.in/index.php/01/article/view/107

[17] S. Dilek, K. Irgan, M. Guzel, S. Ozdemir, S. Baydere, and C. Charnsripinyo, “QoS-aware IoT Networks and Protocols: A Comprehensive Survey,” International Journal of Communication Systems, vol. 35, no. 10, p. e5156, Jul. 2022. https://doi.org/10.1002/dac.5156

[18] A. R. Lawson et al., “Multi-site Calibration and Validation of a Wide-Angle Ultrasonic Sensor and Precise GPS to Estimate Pasture Mass at the Paddock Scale,” Computers and Electronics in Agriculture, vol. 195, p. 106786, Apr. 2022. https://doi.org/10.1016/j.compag.2022.106786

[19] A. Jain, S. Singh, P. S. Chauhan, and A. Shukla, “Management of COVID-19 Patients Through IoT-Based Smart Ambu Bag,” in Distributed Intelligence in Circuits and Systems, pp. 181–215, Jan. 2024. https://doi.org/10.1142/9789811279539_0006

[20] B. Hammi, S. Zeadally, R. Khatoun, and J. Nebhen, “Survey on Smart Homes: Vulnerabilities, Risks, and Countermeasures,” Computers & Security, vol. 117, p. 102677, Jun. 2022. https://doi.org/10.1016/j.cose.2022.102677

[21] W. Li, T. Yigitcanlar, I. Erol, and A. Liu, “Motivations, Barriers, and Risks of Smart Home Adoption: From Systematic Literature Review to Conceptual Framework,” Energy Research & Social Science, vol. 80, p. 102211, Oct. 2021. https://doi.org/10.1016/j.erss.2021.102211

[22] Y. Zhang, A. Carballo, H. Yang, and K. Takeda, “Perception and Sensing for Autonomous Vehicles Under Adverse Weather Conditions: A Survey,” ISPRS Journal of Photogrammetry and Remote Sensing, vol. 196, pp. 146–177, Feb. 2023. https://doi.org/10.1016/j.isprsjprs.2022.12.021

[23] H. Omidvarborna, P. Kumar, J. Hayward, M. Gupta, and E. G. S. Nascimento, “Low-Cost Air Quality Sensing Towards Smart Homes,” Atmosphere, vol. 12, no. 4, p. 453, Apr. 2021. https://doi.org/10.3390/atmos12040453

[24] V. Demiroglou, S. Skaperas, L. Mamatas, and V. Tsaoussidis, “Adaptive Multiprotocol Communication in Smart City Networks,” IEEE Internet of Things Journal, vol. 11, no. 11, pp. 20499–20513, Jun. 2024. https://doi.org/10.1109/JIOT.2024.3372624

[25] T. Magara and Y. Zhou, “Internet of Things (IoT) for Smart Homes: Privacy and Security,” Journal of Electrical and Computer Engineering, vol. 2024, no. 1, p. 7716956, Jan. 2024. https://doi.org/10.1155/2024/7716956

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright (c) 2025 Fadhilah Putri Syahrani, Hadi Kurnia Saputra, Sartika Anori, Winda Agustiarmi, Firas Tayseer Ayasrah, Pham Van Thanh

Downloads

Download data is not yet available.