Integrasi Sensor Ultrasonik dan Computer Vision (YOLO) Berbasis ESP32-CAM untuk Klasifikasi Objek pada Sistem Parkir
DOI:
https://doi.org/10.32672/jnkti.v9i1.159Keywords:
ESP32CAM; Internet of Things; Sensor Ultrasonik; Sistem Parkir Pintar; YOLO;Abstract
Abstrak - Penelitian ini mengembangkan sistem smart parking berbasis Internet of Things (IoT) yang mengintegrasikan sensor ultrasonik dan metode computer vision berbasis YOLO menggunakan modul ESP32-CAM untuk mendeteksi jarak serta mengklasifikasikan objek manusia dan non-manusia secara real-time. Sensor ultrasonik HC-SR04 digunakan untuk membaca jarak objek di area depan dan belakang kendaraan, sementara ESP32-CAM berfungsi menangkap citra lingkungan yang selanjutnya diproses melalui server berbasis Flask. Informasi jarak dan hasil klasifikasi objek kemudian diolah untuk menentukan status kondisi parkir, yaitu aman, hati-hati, dan bahaya, yang ditampilkan pada dashboard pemantauan real-time serta diteruskan ke indikator fisik berupa lampu lalu lintas mini dan buzzer sebagai peringatan kepada pengguna. Pengujian fungsional menunjukkan bahwa sistem mampu bekerja secara stabil dalam membaca jarak, mendeteksi keberadaan objek, serta menampilkan status parkir secara konsisten pada berbagai skenario jarak dan kondisi lingkungan. Integrasi sensor ultrasonik dan computer vision pada sistem ini memberikan informasi yang lebih komprehensif dibandingkan penggunaan sensor tunggal, sehingga berpotensi meningkatkan keselamatan dan efektivitas pemantauan area parkir. Untuk penelitian selanjutnya, sistem ini berpotensi dikembangkan melalui optimalisasi model deteksi objek serta perluasan variasi kondisi pengujian guna memastikan kinerja sistem yang andal pada lingkungan parkir yang lebih kompleks.
Kata kunci : ESP32CAM; Internet of Things; Sensor Ultrasonik; Sistem Parkir Pintar; YOLO;
Abstract – This research develops an Internet of Things (IoT)-based smart parking system that integrates ultrasonic sensors and YOLO-based computer vision using the ESP32-CAM module to detect object distance and classify human and non-human objects in real time. The HC-SR04 ultrasonic sensors are used to measure object distance in the front and rear areas of the vehicle, while the ESP32-CAM captures environmental images that are processed through a Flask-based server. The distance information and object classification results are then utilized to determine parking condition status, namely safe, caution, and danger, which are displayed on a real-time monitoring dashboard and transmitted to physical indicators in the form of a mini traffic light and buzzer. Functional testing shows that the system operates stably in reading distances, detecting object presence, and consistently displaying parking status under various distance and environmental conditions. The integration of ultrasonic sensing and computer vision provides more comprehensive information than single-sensor approaches, indicating its potential to improve safety and effectiveness in parking area monitoring. For future research, this system has the potential to be further developed through the optimization of the object detection model and the expansion of testing condition variations to ensure reliable system performance in more complex parking environment.
Keywords: ESP32CAM; Internet of Things; Ultrasonic Sensor; Smart Parking System; YOLO;
Downloads
References
[1] A. O. Elfaki, W. Messoudi, A. Bushang, S. Abuzneid, and T. Alhamiedat, “A smart real-time parking control and monitoring system,” MDPI, vol. 23, no. 24, pp. 1-18, 2023, doi: https://doi.org/10.3390/s23249741.
[2] M. Balfaqih, W. Jabbar, M. Khayyat, and R. Hassan, “Design and Development of Smart Parking System Based on Fog Computing and Internet of Things,” MDPI, vol. 10, no. 24, pp. 1-18, 2021, doi: https://doi.org/10.3390/electronics10243184.
[3] M. A. Nurfahmi, S. R. Hydayatullah, Yudhi, and Badriyah, “Alat Sensor Parking Berbasis IoT,” Prosiding Seminar Nasional Inovasi Teknologi Terapan, vol. 5, 2025.
[4] J. Riwanto and A. Wasid, “Perancangan Alat Bantu Parkir Mobil Berbasis ESP32-CAM dan Sensor Jarak VL53L0X Menggunakan VLC,” Jurnal Informatika & Komputasi, vol. 17, no. 1, pp. 1-5, 2023, doi: https://doi.org/10.56956/jiki.v17i1.173.
[5] M. S. A, Siregar, U. K. Usman, and S. Astuti, “Pengembangan Sistem Parkir Berbasis IoT Menggunakan ESP32, Sensor Ultrasonik HC-SR04, dan OLED Display,” e-Proceeding of Engineering, vol. 11, no. 5, pp. 5553-5557, 2024.
[6] N. Sapitri, L. D. Samsumar, dan A. Subki, “Smart Parking Berbasis IoT: Deteksi Slot dan Navigasi Kendaraan di Gedung Parkir,” JOURNAL OF COMPUTER SCIENCE AND INFORMATICS ENGINEERING, vol. 4, no. 4, pp. 373-385, 2025, doi: https://doi.org/10.55537/cosie.v4i4.1262.
[7] E. A. S. Daeli, “Perancangan Prototype Monitoring Area Parkir Mobil Berbasis Internet of Things,” TIN: Terapan Informatika Nusantara, vol. 5, no. 4, pp. 279-289, 2024, doi: https://doi.org/10.47065/tin.v5i4.5854.
[8] G. S. Wong, K. O. M. Gaoh, C. Tee, and A. Q. M. Sabri, “Review of Vision-Based Deep Learning Parking Slot Detection on Surround View Images,” MDPI, vol. 23, no. 15, pp. 1-21, doi: https://doi.org/10.3390/s23156869
[9] Auliya, M. Yusfi, and R. Rasyid, “Sistem Pemantauan Slot Parkir Menggunakan Sensor Ultrasonik JSN-SR04T dan Pengenalan Plat Kendaraan dengan ESP32-CAM,” Jurnal Fisika Unand (JFU), vol. 12, no. 4, hal. 534-540, 2023, doi: https://doi.org/10.25077/jfu.12.4.534-540.
[10] T. N. Arifin, G. F. Pratiwi, and A. Janrafsasih, “Sensor Ultrasonik sebagai Sensor Jarak,” Jurnal Tera, vol. 2, no. 2, pp. 55-62, 2022.
[11] M. A. Haq, A. Rosadi, and F. W. Wicaksono, “Sistem Identifikasi Wajah Personal dan Hemat Daya dengan ESP32 dan OV2640 Berbasis Model ResNet-29,” Cyclotron Jurnal Teknik Elektro, vol. 7, no. 2, pp. 64-69, 2024, doi: https://doi.org/10.30651/cl.v7i02.23286.
[12] Y. H. Chang, F. C. Wu, and H. W. Lin, “Design and Implementation of ESP32-Based Edge Computing for Object Detection,” MDPI, vol. 25, no. 6, pp. 1-26, doi: https://doi.org/10.3390/s25061656.
[13] M. A. Berwo, A. Khan, Y. Fang, H. Fahim, S. Javaid, J. Mahmood, Z. U. Abideen, and S. M. S. “Deep Learning Techiques for Vehicle Detection and Classification from Images/Videos: A Survey,” MDPI, vol. 23, no. 10, pp. 1-35, 2023, doi: https://doi.org/10.3390/s23104832.
[14] K. Malinski and K. Okarma, “Analysis of Image Preprocessing and Binarization Methods for OCR-Based Detection and Classification of Electronic Integrated Circuit Labeling,” MDPI, vol. 12, no. 11, pp. 1-16, 2023, doi: https://doi.org/10.3390/electronics12112449.
[15] M. L. Ali and Z. Zhang, “The YOLO Framework: A Compherensive Review of Evolution, Applications, and Benchmarks in Object Detection,” MDPI. Vol. 13, no. 12, pp. 1-37, 2024, doi: https://doi.org/10.3390/computers13120336.
[16] J. L. Mela and C. G. Sanchez, “YOLO-Based Power-Efficient Object Detection on Edge Devices for USVs,” Springer Nature: Journal of Real-Time Image Processing, vol. 22, no. 108, pp. 1-14, 2025, doi: https://doi.org/10.1007/s11554-025-01682-2.
[17] J. Terven, D. M. C. Espara, and J. A. R. Gonzales, “A Compherensive Revoew of YOLO Architectures in Computer Vision: From YOLOv1 yo YOLOv8 and YOLO-NAS,” MDPI, vol. 5, no. 4, pp. 1680-1716, 2023, doi: https://doi.org/10.3390/make5040083.
[18] I. P. Harahap and A. Muliantara, “Deteksi Objek pada Citra Menggunakan Model YOLO,” JNATIA (Jurnal Nasional Teknologi Informasi dan Aplikasinya), vol. 2, no. 3, pp. 469-474, 2024, doi: https://doi.org/10.24843/JNATIA.2024.v02.i03.p03.
[19] H. Syahputra, M. Restuati, D. Kiswanto, Aqila, and T. Abdullah, “Classification of Hair Disease Using with VGG-16 Architecture,” Sciendo: Proceeding of The 10th Annual International Seminar on Trends in Science and Science Education (AISTSSE), pp. 571-578, 2023.
[20] H. P. Fitrian, A. H. Munawar, B. N. Fajar, and F. N. Aima, “Analisis Keamanan dan Ancaman pada Jaringan Komputer di Era Internet of Things (IoT) dalam Bidang Teknologi Sistem Pendidikan,” Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), vol. 8, no. 1, pp. 318-322, 2025, doi: https://doi.org/10.32672/jnkti.v8i1.8716.
[21] D. Suandre, B. Candra, D. C. Theng, and D. P. Kesuma, “Manfaat dan Tantangan Penggunaan Perangkat IoT dalam Rumah Tangga: Systematic Literature Review,” Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), vol. 8, no. 3, pp. 1379-1381, 2025, doi: https://doi.org/10.32672/jnkti.v8i3.9120.
[22] Y. R. Fadhilah, V. Rafida, and Kusnandar, “Penerapan Metode Agile pada Rancang Bangun Alat Pengukur Kadar Air pada Arang Kayu Menggunakan ESP32 dan Capacitive Soil Moisture Sensor Berbasis Sistem Internet of Things,” Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), vol. 8, no. 2, pp. 1062-1070, 2025.
[23] F. Aulianisa, F. C. Q. Kesuma, and D. P. Kesuma, “Pemanfaatan Internet of Things dalam Industri 4.0: Kajian Systematic Literature Review,” Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), vol. 8, no. 3, pp. 1537-1548, 2025, doi: https://doi.org/10.32672/jnkti.v8i3.9222.
[24] A. Fikri, P. Adytia, and I. Haristyawan, “Rancang Bangun Aplikasi Parkir Elektronik Berbasis Android: Studi Kasus Dinas Perhubungan Kota Samarinda,” Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), vol. 8, no. 3, pp. 1156-1173, 2025, doi: https://doi.org/10.32672/jnkti.v8i3.9032.
[25] V. A. Kusuma, H. Arof, S. S. Suprapto, B. Suharto, R. A. Sinulingga, and F. Ama, “An Internet of Things-Based Touchless Parking System Using ESP32-CAM,” International Journal of Reconfigurable and Embedded Systems (IJRES), vol. 3, no. 12, pp. 329-335, 2023, doi: https://doi.org/10.11591/ijres.v12.i3.pp329-335.
[26] L. M. Xin and N. F. N. Rosely, “Development of Machine Learning Wildlife Camera Using ESP32-CAM for Small Mammals,” Pertanika Journal of Science & Technology, vol. 33, no. 4, pp. 1783-1807, 2025, doi: https://doi.org/10.47836/pjst.33.4.05.
[27] J. R. Ziliwu, G. C. Setyawan, and H. Budiati, “Penerapan ESP32-CAM dan TinyML dalam Klasifikasi Gambar Buah dan Sayuran,” JUTISI: Jurnal Ilmiah Teknik Informatika dan Sistem Informasi, vol. 13, no. 1, pp. 584-595, 2024, doi: https://doi.org/10.35889/jutisi.v13i1.1869.
[28] A. Kurniasih, C. N. Previana, R. Nugraha, dan A. Purnomo, “Efisiensi dan Akurasi dalam Deteksi Ekspresi Wajah: Studi Kasus Tiga Generasi YOLO,” Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), vol. 8, no. 4, pp. 2350–2357, 2025, doi: https://doi.org/10.32672/jnkti.v8i4.9674.
[29] A. Febrian, R. Heriansyah, dan Z. R. Mair, “Deteksi Pelanggaran Lalu Lintas Pengendara Sepeda Motor Metik dan Bebek Menggunakan Framework You Only Look Once (YOLO),” Jurnal Nasional Komputasi dan Teknologi Informasi (JNKTI), vol. 8, no. 5, pp. 2435–2442, 2025, doi: https://doi.org/10.32672/jnkti.v8i5.9673.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Jurnal Nasional Komputasi dan Teknologi Informasi

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
