Section 6.4 - Project 4


Self Driving Car (Sorta)

In this task, you’ll use an ultrasonic sensor to measure the distance of an object from the sensor and display the result on an LCD. As the object approaches, the DC motor will gradually slow down, eventually stopping once the sensor detects a specific, close distance. This setup simulates how a vehicle might slow down and stop to avoid a collision in traffic. Through this exercise, you’ll gain experience in distance measurement, motor control, and integrating sensory data into automated responses, reinforcing concepts in safe stopping distances and automated control systems.