4
Volume
2
Issue
2026
Year
Abstract
Indoor security has become an increasingly important concern as digital technology continues to advance. Traditional alarm systems face two recurring limitations: the inability to support remote monitoring and the tendency of conventional motion sensors to produce false alarms under varying ambient temperatures. This study designs a room intrusion detection system using a laser beam as the trigger mechanism and an ESP32 microcontroller as the IoT-based control unit. The hardware implementation employs a Light Dependent Resistor (LDR) sensor with a 10-sample averaging technique to reduce signal noise, combined with hysteresis logic operating within a threshold range of 800 to 1100. The system is connected to the ThingSpeak cloud platform to enable real-time status updates. Testing across five lighting scenarios shows that the system reliably detects laser interruptions when LDR readings fall below 720 and returns to a safe state once readings exceed 1100. Security status updates were transmitted to the ThingSpeak dashboard with consistent HTTP responses (status code 200) for each condition change. These results indicate that ESP32 offers practical advantages in wireless connectivity and energy efficiency for a low-cost room security solution.
Keywords
How to Cite
How to Cite
Roziqin, M., & Sujono, S. (2026). Implementasi Sistem Keamanan Nirkabel Berbasis IoT Menggunakan Sensor Laser, ESP32, dan Platform ThingSpeak untuk Deteksi Intrusi Ruangan. Computer Journal, 4(2), 52-57. https://doi.org/10.58477/cj.v4i2.405
Click "More Citation Formats" for APA, MLA, Chicago, and others.
Scholarly Connections
Issue Information
| Volume | 4 |
| Issue | 2 |
| Year | 2026 |
| Published | 2026-08-30 |
| Pages | 52-57 |
| Section | Articles |
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
| Article Title | Implementasi Sistem Keamanan Nirkabel Berbasis IoT Menggunakan Sensor Laser, ESP32, dan Platform ThingSpeak untuk Deteksi Intrusi Ruangan |
| DOI | 10.58477/cj.v4i2.405 |
| Publication Date | 2026-08-30 |
| Journal | Computer Journal |
| Volume | 4 |
| Issue | 2 |
| Pages | 52-57 |
| Section | Articles |
Adisasmita, S. A., & Gani, A. (2020). Implementation of IoT and laser sensors for high-value asset security systems. Journal of Applied Informatics and Computing (JAIC), 4(1), 45.
Afifie, N. A., Khang, A. W. Y., Ja'afar, A. S., Amin, A., Alsayaydeh, J. A. J., Indra, W. A., Herawan, S. G., & Ramli, A. (2021). Evaluation method of mesh protocol over ESP32 and ESP8266. Baghdad Science Journal, 18(4). https://doi.org/10.21123/bsj.2021.18.4(suppl.).1397. https://doi.org/10.21123/bsj.2021.18.4(Suppl.).1397
Al-Ammar, M. A. (2021). Comparative analysis of ESP32 and ESP8266 for IoT applications: Performance and energy consumption. International Journal of Computer Applications, 183(15), 22.
Babiuch, M., & Postulka, J. (2020). Smart home monitoring system using ESP32 microcontrollers. In Internet of things. Springer Science+Business Media. https://doi.org/10.5772/intechopen.94589
Budiharto, W., & Meiliana, M. (2019). Development of home security system with ESP32 and cloud messaging. Procedia Computer Science, 157, 478.
Haryanto, H., & Prasetyo, E. T. (2021). Sistem pengamanan ruangan menggunakan sensor laser berbasis ESP32 dengan notifikasi Telegram. Jurnal Teknik Elektro dan Komputer, 10(3), 185.
Kurniawan, A., & Surahman, A. (2021). Sistem keamanan rumah berbasis Internet of Things (IoT) menggunakan sensor LDR dan laser. Jurnal Teknologi dan Sistem Tertanam, 2(1), 7.
Mughni, A., & Somantri, Y. (2020). Rancang bangun sistem keamanan menggunakan sensor laser dan photo-diode berbasis mikrokontroler. Jurnal Teknik Elektro, 9(2), 312.
Nugraha, P. A., & Sastyaprawira, H. (2023). Integrasi protokol MQTT pada ESP32 untuk optimalisasi sistem alarm nirkabel. Jurnal Informatika dan Teknologi (JINTECH), 4(2), 102.
Panggabean, J. H., & Gultom, M. V. (2023). Pengembangan sistem pengontrol dan monitoring pintu gerbang menggunakan smartphone melalui WiFi berbasis Arduino. EINSTEIN e-Journal, 11(3), 177. https://doi.org/10.24114/eins.v11i3.34039
Pratama, R. P., & Setiawan, B. (2022). Pemanfaatan LDR sebagai detektor intrusi pada sistem keamanan gudang berbasis IoT. Jurnal Komputer dan Informatika, 17(1), 55.
Putra, D. S., & Wandika, I. G. (2021). Prototype alat keamanan pintu menggunakan sensor laser dan buzzer berbasis NodeMCU ESP32. Jurnal Teknik dan Informatika, 8(2), 89.
Ramadhan, M. R., & Saputra, W. S. (2022). Implementasi real-time notification pada sistem keamanan ruangan menggunakan Firebase dan ESP32. Jurnal Teknologi Informasi, 6(1), 34.
Sasmita, W., & Hardiyanto, T. (2023). Implementasi histeresis pada kontrol sensor cahaya untuk stabilisasi perangkat IoT. Jurnal Rekayasa Elektrika, 19(1), 45.
Sethi, P., & Sarangi, S. R. (2017). Internet of Things: Architectures, protocols, and applications. Journal of Electrical and Computer Engineering, 2017, 1. https://doi.org/10.1155/2017/9324035
Setiawan, A., & Arsi, A. S. (2022). Perancangan sistem keamanan ruangan berbasis IoT menggunakan protokol HTTP dan ThingSpeak. Jurnal Teknologi Informasi dan Komunikasi, 11(2), 120.
Suherman, S. (2023). Perancangan sistem keamanan berbasis laser menggunakan cloud computing untuk skala industri kecil. Jurnal Sistem Informasi dan Telematika, 14(1), 22.
Wahyuni, S., & Ramli, I. (2020). Efektivitas penggunaan sensor LDR dalam deteksi gerak pada sistem keamanan cerdas. Jurnal Rekayasa Teknologi Informasi, 4(2), 150.
Article Statistics
Download data is not yet available.