Prototype Of An RFID-Based Door Lock System Using An ESP32 Microcontroller With Telegram Notifications
Main Article Content
Abstract
Door security is an important aspect of restricting access and protecting assets from unauthorized use. This study aims to design and develop a door lock prototype based on the ESP32 microcontroller by integrating an RFID RC522 module, a 4×4 matrix keypad, a 16×2 I2C LCD, an SG90 servo motor, LEDs, a buzzer, and a Telegram Bot for monitoring and remote control. The system implements RFID card and keypad password authentication, equipped with an automatic blocking feature after three consecutive incorrect password attempts and real-time notifications via Telegram. Testing results showed that the ESP32 Expansion Board received an input voltage of 12.28 VDC and successfully distributed operating voltages to all components, including 3.2 VDC for the RFID RC522, 5 VDC for the 16×2 I2C LCD and SG90 servo motor, and approximately 3 VDC for the LEDs. The RFID module was able to read cards at a maximum distance of 4 cm, while the servo motor successfully opened the door for 5 seconds through RFID and keypad authentication, and 3 seconds through Telegram commands. All components operated according to the design, demonstrating that the system can enhance door access security, support real-time activity monitoring, and provide a practical and reliable Internet of Things (IoT)-based door security solution.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
Adiwibawa, M. G., Ariyani, L., & Saputra, A. (2021). Pemanfaatan Telegram Bot untuk automatisasi penggajian dan informasi karyawan pada PT MCS. Jurnal Riset dan Aplikasi Mahasiswa Informatika, 2(1), 60–67. https://doi.org/10.30998/jrami.v2i01.746
Alexaki, L., & Dalmaris, P. (2020). A simple ESP32 PWM output experiment using an LED. Hackster.io. https://www.hackster.io/lina-tech-explorations/a-simple-esp32-pwm-output-experiment-using-an-led-ff37fe
Anggara, W. E. F., Yuana, H., & Puspitasari, W. D. (2023). Rancang bangun alat monitor ketinggian air berbasis Internet of Things (IoT) menggunakan ESP32 dan framework Blynk. JATI (Jurnal Mahasiswa Teknik Informatika), 7(5), 3837–3845. https://www.ejournal.itn.ac.id/jati/article/view/7956/4758
Cahyadi, C. I., Atmia, K., & Sihombing, P. M. (2023). Simulasi dan pengukuran rangkaian konverter analog ke digital resolusi 8 bit berbasis IC ADC0804 dan IC ADC0809. Jurnal Riset Sains dan Teknologi, 7(1), 83–91. https://doi.org/10.30595/jrst.v7i1.15939
Fauza, M., & Muthalib, M. A. (2022). Sistem pengaman pintu otomatis menggunakan sensor Radio Frequency Identification (RFID) berbasis Arduino Uno. Jurnal Energi Elektrik, 11(1), 30–37. https://doi.org/10.29103/jee.v11i1.8185
Fauziman, H., & Mukhaiyar, R. (2023). Rancang bangun sistem keamanan pintu menggunakan fingerprint berbasis Internet of Things (IoT). JTEIN: Jurnal Teknik Elektro Indonesia, 4(2), 529–537. https://doi.org/10.24036/jtein.v4i2.438
Google. (2019). I2C problem with LCD display 16×2. GitHub. https://github.com/espressif/arduino-esp32/issues/2444#issuecomment-462632504
Google. (2026). Data converters. Chain-IC. https://www.chain-ic.com/solutions/data-converters
Google. (2026). ESP32 38-pin Dev Board CP2102. EasyEDA. https://easyeda.com/modules/ESP32-38pin-Dev-Board-CP2102_e87b7fead99248db870467001066ea8d
Google. (2026). Lesson 5: Playing tones. Makeability Lab. https://makeabilitylab.github.io/physcomp/esp32/tone.html
Mahbub, M. (2026). Schematic diagram and pinout of a servo motor. ResearchGate. https://www.researchgate.net/figure/Schematic-diagram-and-pinout-of-a-servo-motor-vi-DC-motor_fig7_335611241
Marwinsyah, R., Abdi, F. I., Sakti, A. M., & Riandadari, D. (2023). Rancang bangun arm robot sebagai pemindah tabung reaksi sampel PCR pada prototype liquid handling system. Jurnal Rekayasa Mesin, 8(2), 90–95. https://doi.org/10.26740/jrm.v8i02.54240
Morib, Y., Hadi, G. T., Nanra, S., & Salim, K. (2025). Rancangan sistem kontrol dimmer pencahayaan lampu LED untuk peningkatan efisiensi energi. Zona Elektro: Jurnal Ilmiah, 15(1), 20–28. https://doi.org/10.37776/ze.v15i1.1756
Mulyana, C. (2023, March 31). ESP32 WROOM32 Development Board dengan 38 Pin. Stelselmatig. https://stelselmatig.com/2023/03/31/esp32-wroom32-development-board-38-pin/
Octavia, D. R. T., Rihartanto, R., & Rizal, A. (2026). Rancang bangun sistem inventaris aset berbasis RFID pada cafe. Jurnal Sains Informatika Terapan, 5(2), 489–494. https://doi.org/10.62357/jsit.v5i2.1132
Pratama, H., Matsun, M., & Puspitasari, Y. D. (2024). Buku Petunjuk Penggunaan pH Meter, NPK, Suhu, Kelembapan, dan Konduktivitas. PT Nasya Expanding Management. https://books.google.com/books?id=5hc6EQAAQBAJ
Safitri, F. E., & Ta'ali, T. (2022). Rancang bangun pengaman pintu otomatis menggunakan sidik jari (fingerprint) dan password berbasis Arduino. Jurnal Teknik Elektro Indonesia, 3(2), 425–436. https://doi.org/10.24036/jtein.v3i2.269
Saptadi, N. T. S., et al. (2025). Integrasi Internet of Things (IoT) dan Embedded System dalam Era Digital. PT Sada Kurnia Pustaka. https://www.researchgate.net/profile/Sada-Pustaka/publication/393986786_Integrasi_Internet_of_Things_IoT_dan_Embedded_System_dalam_Era_Digital
Sun, K. Y., Pernando, Y., & Safari, M. I. (2021). Perancangan sistem IoT pada smart door lock menggunakan aplikasi Blynk. JUTSI (Jurnal Teknologi dan Sistem Informasi), 1(3), 289–296. https://d1wqtxts1xzle7.cloudfront.net/112671234/739-libre.pdf
Willams, W., & Yohanes, Y. (2024). IoT adalah: Pengertian serta Manfaatnya bagi Kehidupan Manusia. Course-Net. https://course-net.com/blog/iot-adalah/
Zidan, F., & Badarudin, R. (2024). Prototype sistem presensi mahasiswa menggunakan sensor RFID berbasis Arduino Uno dengan program PLX-DAQ. JITET (Jurnal Informatika dan Teknik Elektro Terapan), 12(3), 1878–1888. http://dx.doi.org/10.23960/jitet.v12i3.4500