This obstacle avoiding car uses an ultrasonic sensor for its movement. Arduino microcontroller connects with motors and ultrasonic sensor. The ultrasonic sensor is attached in front of the car. The car turns automatically when the sensor detects an obstacle.
You will learn how to use the ultrasonic range finder to measure distance, and find the best algorithm to make a turn.