Design and Build a Home Security System based on an ESP32 Cam Microcontroller with Telegram Notification


  • Filantropi Yusuf Aji Cahyono State Polytechnic of Malang
  • Nugroho Suharto State Polytechnic of Malang
  • Lis Diana Mustafa State Polytechnic of Malang



telegram applications, AM312 Passive Infrared Sensor (PIR), Esp32 cam microcontroller, KY-026 Flame sensor, Quality of Services (Qos).


Along with the times and technology, the need for fast information is needed in various sectors of life, thus supporting the performance of these sectors, one of which is the security aspect, especially in security at home, considering that there are many things that happen such as crimes and negligence of residents of the house that can cause problems such as fires. In this case, a system is needed that can visually monitor the condition of the room from remote location. This is useful for the surveillance process so that if there is a crime and fire in the surveillance room, the system can monitor the state of a room via a smartphone. This study aims to create a device that is able to increase the security of the room at home by utilizing the Esp32 cam as a microcontroller and the PIR sensor as a detector of movement when crossing the corner area of the sensor and also the Fire sensor key as a detector of fire. In this study, the ESP32 cam is used as the main brain of the system which will read data from the fire sensor, PIR sensor, and remotely control the door lock and door unlock. The data from the sensor will be sent to the server by Esp32 cam. The test results have been running in accordance with the designed system. So that pictures taken and notifications of fire can be sent to the telegram application with a 100% success percentage.


K. Firdausy, S. Riyadi, T. Sutikno, dan M. Muchlas, “Aplikasi Webcam Untuk Sistem Pemantauan Ruang Berbasis Web,” TELKOMNIKA (Telecommunication Computing Electronics and Control), 2008.

Samuel mahatma Putra, “Analisis Dan Perancangan Aplikasi Monitoring Ip Camera Menggunakan Protokol Http Pada Mobile Phone,” J. Teknol. Inf., vol. 2010, no. Snati, hal. 1–7, 2010.

E. P. Dewa dan R. Kartadie, “Integrasi Sensor Gerak Dan Ponsel Pada Arduino Sebagai Sistem Kontrol Keamanan Rumah,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 1, no. 02, hal. 30–37, 2016..

M. S. Annas dan D. Maulana, “Perancangan Audio Streaming Menggunakan Wifi Berbasis Mikrokontroler ATMega 328,” vol. 1, no. 1, hal. 27–32, 2019.

R. Saleha, P. Studi, T. Informatika, F. Teknik, dan U. Mataram, “Klasifikasi Data Time Series Pola Pergerakan Manusia Di Depan Rumah Menggunakan Sensor Passive Infrared Dan Camera Ov2640 Dengan Metode,” 2020.

R. H. Yoga Perdana, N. Hidayati, A. W. Yulianto, V. Al Hadid Firdaus, N. N. Sari and D. Suprianto, "Jig Detection Using Scanning Method Base On Internet Of Things For Smart Learning Factory," 2020 IEEE International IOT, Electronics and Mechatronics Conference (IEMTRONICS), 2020, pp. 1-5.

R. H. Y. Perdana, Hudiono, M. Taufik, A. E. Rakhmania, R. M. Akbar, and Z. Arifin, “Hospital queue control system using Quick Response Code (QR Code) as verification of patient’s arrival,” Int. J. Adv. Comput. Sci. Appl., vol. 10, no. 8, 2019.

M. Taufik, H. Hudiono, A. E. Rakhmania, R. H. Y. Perdana, and A. S. Sari, “An Internet of Things Based Intercity Bus Management System for Smart City,” Int. J. Comput. Digit. Syst., vol. 10, no. 1, pp. 1219–1226, 2021.

W. Puspitasari and H. Y. Perdana R, "Real-Time Monitoring and Automated Control of Greenhouse Using Wireless Sensor Network: Design and Implementation," 2018 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), 2018, pp. 362-366, doi: 10.1109/ISRITI.2018.8864377.

Hudiono, M. Taufik, R. H. Y. Perdana, and A. E. Rakhmania, “Digital centralized water meter using 433 mhz lora,” Bull. Electr. Eng. Informatics, vol. 10, no. 4, pp. 2062–2071, 2021, doi: 10.11591/EEI.V10I4.2950.

H. Hudiono, M. Taufik, R. Perdana, and A. Rakhmania, “Telemetering of Rainfall Measurement Results Using 433 MHz Wireless Transmission”, INFOTEL, vol. 13, no. 3, Aug. 2021.

A. E. Rakhmania, M. Taufik and M. Sa’adah, "Centralized Post Paid Water Meter Controller Using Wireless Sensor Network," 2019 International Conference on Advanced Mechatronics, Intelligent Manufacture and Industrial Automation (ICAMIMIA), 2019, pp. 302-305, doi: 10.1109/ICAMIMIA47173.2019.9223421.

A. Hariyadi, M. Taufik, H. Hudiono, N. Hidayati, A. E. Rakhmania, and R. H. Y. Perdana, “Efisiensi Daya Perangkat Wireless Sensor Network Pada Penerangan Jalan Umum (PJU) Berbasis Algoritma Leach”, tech, vol. 20, no. 2, pp. 101–112, Oct. 2021.

A. Hariyadi, Y. Ratnawati, and R. H. Y. Perdana, “Jurnal iptek,” J. IPTEK, vol. 24, no. 1, pp. 11–18, 2018, doi: 10.31284/j.iptek.2020.v24i1.

Taufik, M., Hudiono, H., & Rakhmania, A. E. (2019). Sistem Monitoring Keberadaan Pengunjung Pariwisata Secara Realtime Dengan Metode Wireless Network Clustering. Jurnal IPTEK, 23(2), 63-70.




How to Cite

F. Y. A. Cahyono, N. Suharto, and L. D. Mustafa, “Design and Build a Home Security System based on an ESP32 Cam Microcontroller with Telegram Notification”, Jartel, vol. 12, no. 2, pp. 58-64, Jun. 2022.