Introduction: Obstacle Avoiding Robot - B11

This is a Virtual Obstacle Avoiding Robot where my circuit makes the motor to go left when the distance between my robot and the object is less than 10 cm else it will make the motor to go forward.

Step 1: Components Required

The following Components are required to build the virtual circuit

  • Breadboard - 1
  • L293D (Motor Driver) - 1
  • Motor - 2 Nos.
  • Arduino UNO - 1
  • Ultrasonic Sensor -

Step 2: Connections

Make the following connections as shown in the Image above

Step 3: Code-Blocks

Assemble the following code blocks as shown in the image.