Perancangan dan Implementasi Sistem Keamanan Kendaraan Berbasis IoT Menggunakan ESP32, FastAPI, dan Aplikasi Android

Authors

  • Noe Prihartoyo Simanjuntak Universitas Internasional Batam
  • M Abdur Rahman Program Studi Teknologi Informasi, Fakultas Ilmu Komputer, Universitas Internasional Batam
  • Adi Nuzul Pratama Universitas Internasional Batam
  • Stelyven Stelyven Universitas Internasional Batam
  • Andik Yulianto Program Studi Sistem Informasi, Fakultas Ilmu Komputer, Universitas Internasional Batam

DOI:

https://doi.org/10.37253/telcomatics.v10i1.10870

Keywords:

Vehicle Security, IoT, ESP32, MQTT, FastAPI, Android, Firebase

Abstract

The advancement of digital technology has made a major contribution to improving security systems, especially in the automotive sector. One of the main challenges in securing motor vehicles is providing real-time protection against potential threats such as theft or vandalism. In this study, an Internet of Things (IoT)-based vehicle security system was designed and implemented that utilizes the ESP32 microcontroller as the main tool to detect physical contact or interference with the vehicle. This system integrates the MQTT communication protocol for sending data to a FastAPI-based backend server, which then stores the data in MongoDB Atlas and sends notifications to users via Firebase Cloud Messaging (FCM).

Users can monitor and respond to these notifications through an Android application built using Android Studio and the Java programming language. In addition to notifications, this application also provides a sound alarm player feature and a display of sensor activity history. The test results show that the system is able to detect and respond to events quickly and accurately, with a notification delivery time of less than two seconds after the data is received by the server. With an integrated and real-time system architecture, this solution is expected to be an economical, efficient, and reliable alternative to improve the security of private and public vehicles.

Downloads

Download data is not yet available.

References

[1] A. Putra and D. Romahadi, “Sistem Keamanan Sepeda Motor Berbasis Internet Of Things (Iot) Dengan Smartphone Menggunakan Nodemcu,” 2021.

[2] M. Juliarto, R. Amru Nityasa, and A. D. Fajar Aditama, “Perancangan Keamanan Kendaraan Tanpa Kunci Dengan Menggunakan ESP32 dan Aplikasi BLYNK Berbasis IOT,” V-MAC (Virtual of Mechanical Engineering Article), vol. 9, no. 1, pp. 47–53, Mar. 2024, doi: 10.36526/v-mac.v9i1.3653.

[3] F. D. Makatita and N. F. A. Hakim, “MQTT Protocol-Based ESP-32 Smarthome with Multi-sensor Recognition,” Journal of Electrical, Electronic, Information, and Communication Technology, vol. 6, no. 1, p. 29, May 2024, doi: 10.20961/jeeict.6.1.84007.

[4] I. Liwanto, H. Arfandy, A. Munir, and S. 63, “Jurnal Ilmu Komputer KHARISMA TECH PENDISTRIBUSIAN INFORMASI DI STMIK KHARISMA MAKASSAR.”

[5] A. Mustafa et al., “Vehicle Intrusion And Theft Control System Using GSM and GPS -- An advance and viable approach,” Apr. 2020, doi: 10.1109/ICACC.2009.154.

[6] M. Adrian et al., “REAL-TIME DATA ACQUISITION WITH ESP32 FOR IOT APPLICATIONS USING OPEN-SOURCE MQTT BROKERS,” Proceedings in Manufacturing Systems, vol. 19, pp. 61–68, 2024, [Online]. Available: https://www.researchgate.net/publication/388464048

[7] P. Mahardika Kusumawardhana, M. Hannats, H. Ichsan, and R. Primananda, “Implementasi Penyimpanan Data Sensor Nirkabel dengan MongoDB pada Lingkungan IOT Menggunakan Protokol MQTT,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 2, no. 9, pp. 3391–3399, Feb. 2018, Accessed: Aug. 23, 2025. [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/2291

[8] B. Wicaksono, A. Susanto, T. Informatika, F. Ilmu Komputer, and U. Dian Nuswantoro Semarang, “Push Notification Using Firebase Cloud Messaging (FCM) on Employee Attendance Application,” SISFOTENIKA, vol. 11, no. 2, pp. 220–231, Aug. 2021, doi: 10.30700/JST.V11I2.1150.

[9] E. Sandalci, “A CASE STUDY ON DEFINING SIMPLICITY IN INTERACTION DESIGN: A REVIEW OF THE SCHEMATIC AND FUNCTIONAL EVALUATION OF THE SIMPLE MODE SMARTPHONE INTERFACE,” 2021.

[10] M. A. Khan et al., “Smart Android Based Home Automation System Using Internet of Things (IoT),” Sustainability 2022, Vol. 14, Page 10717, vol. 14, no. 17, p. 10717, Aug. 2022, doi: 10.3390/SU141710717.

[11] R. B. Varugu, G. Anil Kumar, and R. Supervisor, “A Survey on IoT Device Authentication and Anomaly Detection for Cyber Security using Machine Learning.” [Online]. Available: https://ssrn.com/abstract=4798899

[12] S. K. V, T. C. Manjunath, and A. Professor, “Design & Implementation of data privacy & security using IoT sensors in remote health monitoring system [1],” 2023.

[13] Y. H. Chang, F. C. Wu, and H. W. Lin, “Design and Implementation of ESP32-Based Edge Computing for Object Detection,” Sensors (Basel), vol. 25, no. 6, p. 1656, Mar. 2025, doi: 10.3390/S25061656.

[14] T. P. Batubara, S. Efendi, and E. B. Nababan, “Analysis Performance BCRYPT Algorithm to Improve Password Security from Brute Force,” J Phys Conf Ser, vol. 1811, no. 1, p. 012129, Mar. 2021, doi: 10.1088/1742-6596/1811/1/012129.

[15] S. Hong, J. Kang, and S. Kwon, “Performance Comparison of HTTP, HTTPS, and MQTT for IoT Applications,” International journal of advanced smart convergence, vol. 12, no. 1, pp. 9–17, 2023, doi: 10.7236/IJASC.2023.12.1.9.

[16] B. Wicaksono, A. Susanto, T. Informatika, F. Ilmu Komputer, and U. Dian Nuswantoro Semarang, “Push Notification Using Firebase Cloud Messaging (FCM) on Employee Attendance Application,” SISFOTENIKA, vol. 11, no. 2, pp. 220–231, Aug. 2021, doi: 10.30700/JST.V11I2.1150.

[17] P. Mahardika Kusumawardhana, M. Hannats, H. Ichsan, and R. Primananda, “Implementasi Penyimpanan Data Sensor Nirkabel dengan MongoDB pada Lingkungan IOT Menggunakan Protokol MQTT,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 2, no. 9, pp. 3391–3399, Feb. 2018, Accessed: Aug. 24, 2025. [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/2291

Downloads

Published

2025-07-10

How to Cite

Simanjuntak, N. P., Rahman, M. A., Pratama, A. N., Stelyven, S., & Yulianto, A. (2025). Perancangan dan Implementasi Sistem Keamanan Kendaraan Berbasis IoT Menggunakan ESP32, FastAPI, dan Aplikasi Android. Telcomatics, 10(1), 73–81. https://doi.org/10.37253/telcomatics.v10i1.10870

Issue

Section

Articles