Peringatan Pintu Belum Tertutup Menggunakan Sensor Magnetik (Reed Switch) dan ESP32
DOI:
https://doi.org/10.58477/cj.v4i1.356Keywords:
Reed Switch, ESP32, Magnetic Sensor, Door Alert SystemAbstract
Forgetting to close a door may seem like a small thing, but it can cause security issues and reduce comfort levels in homes and workplaces. To address this issue, researchers created a system that automatically detects door status. The system uses a Reed Switch magnetic sensor to check whether a door is open or closed, and uses an ESP32 module to process the data and control the output. The design process included circuit construction, programming the ESP32, and testing how well the sensor responds at different distances from the magnet. When the door is opened, the Reed Switch sends a signal to the ESP32, which then triggers a buzzer alarm. Tests showed that the system works in real time with fast response and good stability under various door movement conditions. The device continued to operate smoothly during long tests of up to 12 hours continuously. Experimental results showed that the sensor works very accurately without much noise interference, while the ESP32 executes its logic state stably even when affected by other environmental factors such as vibration and temperature changes. The system has a simple design, low cost, and uncomplicated installation, making it suitable for homes, offices, or other places that require an automatic reminder of a door being left open. This prototype can also be upgraded with Wi-Fi in the future to enable notifications to be sent remotely via a mobile app. The research shows that the combination of the Reed Switch and the ESP32 can effectively improve security by reducing user errors in everyday activities.
Downloads
References
Aldawira, C. R., Putra, H. W., Hanafiah, N., Surjarwo, S., & Wibisurya, A. (2019). Door security system for home monitoring based on ESP32. Procedia Computer Science, 157, 673–682. https://doi.org/10.1016/j.procs.2019.08.218
Kiran, B. L., Chandan, J., Jeevan, B. S., & Mohananka, C. (2021). A survey on door lock security system using IoT. Perspectives in Communication, Embedded-Systems and Signal-Processing (PiCES), 5(2), 40–43. https://doi.org/10.5281/zenodo.4902977
Macheso, P. S., Kapalamula, H. E., Gutsu, F., Manda, T. D., & Meela, A. G. (2022). Design of smart door status monitoring system using NodeMCU ESP8266 and Telegram. In Intelligent Communication Technologies and Virtual Mobile Networks: Proceedings of ICICV 2022 (pp. 649–656). Springer Nature Singapore. https://doi.org/10.1007/978-981-19-1844-5_51
Mustika, S. N., Noerhayati, E., Gunawirawan, P., & Mahandi, Y. D. (2023, September). Development of an IoT-based door security system using Reed Switch sensor with RFID and Telegram notification. In 2023 8th International Conference on Electrical, Electronics and Information Engineering (ICEEIE) (pp. 1–4). IEEE. https://doi.org/10.1109/ICEEIE59078.2023.10334803
Ramadhani, S., & Putri, D. P. (2023). Design of a home door security system based on NodeMCU ESP32 using a magnetic Reed Switch sensor and Telegram Bot application. Sinkron: Jurnal dan Penelitian Teknik Informatika, 7(4), 2059–2068. https://doi.org/10.33395/sinkron.v8i4.12688
Rajo, S. M., & Wellem, T. (2022). Perancangan dan implementasi sistem pemantauan keamanan pintu berbasis IoT menggunakan NodeMCU ESP8266 dan Bot Telegram [Skripsi, Universitas Kristen Satya Wacana]. UKSW Repository. https://repository.uksw.edu/items/09134e75-fd85-41b1-9bad-f828d186e4f9
Ridwan, R., Fachri, M. R., & Firja, I. (2024, October). Development of home security system using motion sensor and magnetic sensor with ESP-32 Cam based on Telegram. In Proceedings International Conference: Education, Science, and Technology (Vol. 1, No. 1, pp. 345–373). https://doi.org/10.22374/es.v1i1.26547
Taiwo, O., & Ezugwu, A. E. (2021). Internet of things-based intelligent smart home control system. Security and Communication Networks, 2021(1), Article 9928254. https://doi.org/10.1155/2021/9928254
Virgusta, Y. D. (2020). Rancang bangun alat home security terintegrasi bel dan alarm menggunakan teknologi Internet of Things (IoT) (Skripsi, Universitas Islam Negeri Sultan Syarif Kasim Riau).
Yulendra, R. D., Indrawati, E. M., Maulidina, M., & Suwardono, A. (2023). Rancang bangun alat monitoring notifikasi pintu rumah menggunakan Bot Telegram berbasis IoT. G-Tech: Jurnal Teknologi Terapan, 7(4), 1471–1478. https://doi.org/10.33379/gtech.v7i4.3078.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Computer Journal

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