Obstacle Avoiding Robot
In this particular Article I have a simple Obstacle Avoiding Virtual Circuit. In this Circuit my Motors will rotate in Forward direction if the distance is greater than 10 cms and it rotates Left if it than 10 cms .
Components Required
The following are the components that is required to make this circuit.
- Breadboard
- L293D- Motor Driver
- Motors
- Arduino UNO
- Ultrasonic sensor
Connections
Make the connection as shown in the above picture in the TinkerCAD Circuits.
CodeBlocks
Assemble the following CodeBlocks in the TinkerCad software