Aim
The goal of this activity is to demonstrate an obstacle avoidance car. When an obstacle is detected from a certain distance, the car moves away from the obstacle.
Materials Required
- Arduino UNO R3 – 1
- USB Cable – 1
- 2WD Car Kit
- L293D Motor Driver – 1 OR L298N Module
- Ultrasonic Sensor – 1
Several Jumper Wires
Wiring Diagram
Desired Outcome
When the car detects an obstacle from a certain distance, the car takes a diversion from there.