Data Science: Journal of Computing and Applied Informatics
Vol. 8 No. 1 (2024): Data Science: Journal of Computing and Applied Informatics (JoCAI)

Simulation of Vehicle Distance Detection for Traffic Order

Baldemor, Milagros Racacho (Unknown)



Article Info

Publish Date
31 Jan 2024

Abstract

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.

Copyrights © 2024






Journal Info

Abbrev

JoCAI

Publisher

Subject

Computer Science & IT

Description

Data Science: Journal of Computing and Applied Informatics (JoCAI) is a peer-reviewed biannual journal (January and July) published by TALENTA Publisher and organized by Faculty of Computer Science and Information Technology, Universitas Sumatera Utara (USU) as an open access journal. It welcomes ...