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

Authors

  • M Abdur Rahman Program Studi Teknologi Informasi, Fakultas Ilmu Komputer, Universitas Internasional Batam
  • Noe Prihartoyo Simanjuntak 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

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.

References

[1] Zhang, L., & Liu, X. (2021). A Survey on IoT Architectures: Design Principles and Security Challenges. Journal of Network and Computer Applications, 182, 102986. https://doi.org/10.1016/j.jnca.2021.102986

[2] Fernandes, L., & Diniz, F. (2022). MQTT Protocol for Internet of Things: A Performance Evaluation. IEEE Internet of Things Journal, 9(10), 7854–7865. https://doi.org/10.1109/JIOT.2022.3144552

[3] Pratama, R. D., & Kurniawan, I. (2021). Design and Implementation of Vehicle Security System Using IoT. Jurnal Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI), 7(1), 134-141. https://doi.org/10.26555/jiteki.v7i1

[4] Ramírez, M. J. (2022). Securing User Authentication Using Bcrypt in Web Applications. International Journal of Information Security Science, 11(2), 109–118.

[5] Lee, C. H., & Choi, Y. S. (2019). IoT Cloud Database Integration Using MongoDB. International Journal of Advanced Smart Convergence, 8(4), 137–144.

[6] Kumar, R., & Nayak, A. (2020). Design and Implementation of FCM Based Alert System for IoT Devices. Procedia Computer Science, 172, 1235–1240. https://doi.org/10.1016/j.procs.2020.05.181

[7] Farooq, M. U., Waseem, M., Khairi, A., & Mazhar, S. (2015). A Critical Analysis on the Security Concerns of Internet of Things (IoT). International Journal of Computer Applications, 111(7), 1–6.

[8] Srivastava, A., & Tiwari, R. (2021). A Layered Approach to Secure IoT Systems: Challenges and Solutions. Journal of Cyber Security Technology, 5(4), 253–270.

[9] Sharma, M., & Singh, H. (2021). An Enhanced Framework for IoT Security Using Authentication and Encryption Techniques. International Journal of Information Technology, 13(3), 901–908. https://doi.org/10.1007/s41870-021-00622-2

[10] Chen, W., & Zhao, Y. (2020). Efficient Real-Time Monitoring System Based on MQTT Protocol in Smart Transportation. Journal of Traffic and Transportation Engineering, 7(1), 35–45.

[11] Chen, Y., Li, X., Zhang, W., & Wang, L. (2023). Anomaly detection in vehicular IoT systems using real-time machine learning. IEEE Internet of Things Journal, 10(5), 3456–3467.

[12] Al Fuqaha, M., Hussain, A., AlMahameed, A., & AlZahrani, S. (2022). Ensuring end-to-end data security and privacy in IoT-enabled vehicle systems. IEEE Transactions on Vehicular Technology, 71(12), 14,987–14,999.

[13] Martins, R., & Silva, E. (2023). Edge computing architecture for real-time vehicle security in IoT. IEEE Access, 11, 55,321–55,333.

Published

2025-07-10

How to Cite

Rahman, M. A., Simanjuntak, N. P., 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). Retrieved from https://journal.uib.ac.id/index.php/telcomatics/article/view/10870

Issue

Section

Articles