Simulation of Vehicle Distance Detection for Traffic Order
DOI:
https://doi.org/10.32734/jocai.v8.i1-17139Keywords:
Distance, HC-SR04, ESP32, SimulationAbstract
The use of ultrasonic sensors, especially HC-SR04, in microcontroller projects is expanding thanks to its ability to accurately detect distance. In this final project, the HC- SR04 is connected to an ESP32 to measure the distance of an object and provide feedback in the form of sound when the object approaches the sensor within a certain distance. The HC-SR04 sensor works by emitting ultrasonic waves and measuring the time it takes for the waves to reflect back to the sensor. The ESP32, as the microcontroller connected to the sensor, processes this time data to calculate the object's distance from the sensor. When the distance of the object is below a predetermined threshold, the ESP32 will activate the buzzer as a sound signal. This implementation can be applied in various systems, for this test we used it on the zebra crossing system automatically. The test results show that this system is able to detect distance with sufficient accuracy and provide a fast and consistent sound response according to changes in object distance.
Downloads
References
Panduardi, F., & Haq, E. S. (2016). Wireless Smart Home System Menggunakan Raspberry Pi. Jurnal Teknologi Informasi Dan Terapan, 3(1), 320–325.
Fauzan, Mohamad Nurkamal. Dkk. 2019. Tutorial Membuat Prototipe Prediksi Ketinggian Air (PKA) Untuk Pendeteksi Banjir Peringatan Dini Berbasis IOT. Bandung : Kreatif Industri Nusantara
Santoso, Hari. (2015). Panduan Praktis Arduino Untuk Pemula.v1. Indonesia: ELANGSAKTI.com
Wagyana, A., & Rahmat. 2019. Prototype Modul Praktik Untuk Pengembangan Aplikasi Internet Of Things (Iot). Jurnal Ilmiah Setrum, 240-241.
Published
How to Cite
Issue
Section
Copyright (c) 2024 Data Science: Journal of Computing and Applied Informatics
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
The Authors submitting a manuscript do so on the understanding that if accepted for publication, copyright of the article shall be assigned to Data Science: Journal of Informatics Technology and Computer Science (JoCAI) and Faculty of Computer Science and Information Technology as well as TALENTA Publisher Universitas Sumatera Utara as publisher of the journal.
Copyright encompasses exclusive rights to reproduce and deliver the article in all form and media. The reproduction of any part of this journal, its storage in databases and its transmission by any form or media, will be allowed only with a written permission fromData Science: Journal of Informatics Technology and Computer Science (JoCAI).
The Copyright Transfer Form can be downloaded here.
The copyright form should be signed originally and sent to the Editorial Office in the form of original mail or scanned document.