top of page
Search

COLLISION-AVOIDANCE PROJECT

  • Writer: Princess Bamigboye
    Princess Bamigboye
  • Aug 2, 2023
  • 2 min read

Updated: Aug 4, 2024

The collision-avoidance project is a prototype for collision-avoidance in automated (self-driving) vehicles (cars). It possesses two ultrasonic sensors, and can consist of more if desired.

ree

Figure 1: Visualization for the Collision-Avoidance Project


The project was simulated on tinkercad for the purpose of having a diagram of the connections for reference sake.


ree

Figure 2: Tinkercad Simulation for the Collision-Avoidance Project



COMPONENTS USED:

  • Two ultrasonic HC-SR04 sensors (one placed on the left, and the other placed on the right).

  • An LCD module.

  • One 330-ohm (Ω) resistor.

  • An active (piezoelectric) buzzer.


HOW IT WORKS:

An ultrasonic sensor is an electronic device that measures the distance to an object by emitting ultrasonic waves and converting the reflected sound into electrical signals. It possesses one trigger pin (the transmitter) and one echo pin (the receiver). The trigger pin emits the ultrasonic wave and waits for it to hit the nearest object. Once, the wave hits the object, it bounces back to the sensor and is received by the echo pin.


ree

Figure 3: Working Principle of an Ultrasonic Sensor.


ree

Figure 4: An Ultrasonic Sensor


The purpose of the buzzer and LCD is for warning (alert) and data display. The buzzer produces a beeping sound when an object comes too close to the sensor(s) (the warning distance can be adjusted), and the LCD module is programmed to display the distance of the nearest object from each sensor, and also from which sensor collision is about to take place.



You can get the code via the link.



THE OUTCOME:


ree

Figure 5: The Final Work


REFERENCES:

 
 
 

Comments


  • LinkedIn
  • GitHub

©2023 by JoiTech.. Proudly created with Wix.com

bottom of page