Obstacle Avoiding Robot Using Arduino

16,309

135

10

Hey guys in this instructable we will see how to make an autonomous obstacle avoiding Robot.This robot is designed and programmed in such a way that it avoids collision.The robot basically moves in a forward direction and whenever it detects a object/obstacle in its path it takes an diversion and avoids the collision.

Step 1: Components Needed:

  • Arduino UNOHC
  • SR-04(Ultrasonic sensor)
  • ultrasonic sensor clamp(optional)
  • L293D motor driver
  • metal chassis
  • 2x BO motors
  • 1x caster whee
  • l2x wheels
  • 2x 9v battery
  • 2x dc battery connectors
  • connecting wires

Step 2: Working Principle

The obstacle avoidance robotic vehicle uses ultrasonic sensors for its movements. A UNO of Arduino family is used to achieve the desired operation. The motors are connected through motor driver IC to Arduino uno. The ultrasonic sensor is attached in front of the robot.Whenever the robot is going on the desired path the ultrasonic sensor transmits the ultrasonic waves continuously from its sensor head. Whenever an obstacle comes ahead of it the ultrasonic waves are reflected back from an object and that information is passed to the arduino. The arduino controls the motors based on ultrasonic signals.

Step 3: LETS MAKE THE ROBOT:

Fix the wheels on the metal chassis and mount the Dc BO motors on the back wheels and fix a caster wheel in the front.

connect the L293D motor driver with the arduino and dc motors.

CONNECTIONS:

3,6(l293d) to left motor(output)

11,14(l293d) to right motor(output)

2,7,10,15(l293d) to pins 2,3,4,5 of Arduino(inputs)

NOTE: you can use an l293d ic or an readymade module,each module differs so check L293D IC pin diagram to make correct connections.

Step 4: CONNETING WITH PING SENSOR:

connect the ultra sonic sensor with your arduino,

pin 8 of arduino to echo pin

pin 9 of arduino to trigger pin

vcc-5v

gnd-gnd

Step 5: UPLOADING PROGRAM:

Interface your arduino with arduino IDE software and upload the below program.

TO GET THE PROGRAM:click here

Now give the power supply to your ardiuino and motor driver.

YOUR BOT IS READY......

Vist my blog for more project:click here

Share

Recommendations

  • Make it Glow Contest 2018

    Make it Glow Contest 2018
  • Toys Contest

    Toys Contest
  • PCB Contest

    PCB Contest

10 Discussions

0
None
AnirudhS33

1 year ago

Sir i am not getting that dc conector any other alternate of it

0
None
AkhilK21

2 years ago

How to make this robot with L298N Motor driver

0
None
8ByteRemmargorp

2 years ago

what is the total cost for all of the parts? Could you list the prices next to each part?

1 reply
0
None
kishorec6

2 years ago

L293d Dual Motor Driver H-BRIDGE Module.... Will this module work with this?

5 replies
0
None
Karthik_Innovatorkishorec6

Reply 2 years ago

yes you can use it .

i have used the same L293D H-BRIDGE module in this instructable

0
None
abkhan17Karthik_Innovator

Reply 2 years ago

I don't have a sensor where do I can get a sensor from... can you tell me sir plz

0
None
Karthik_Innovatorabkhan17

Reply 2 years ago

abkhan17 I am not sure which country you are from. If you are from India you can easily get the sensor from amazon,flipkart or ebay e-commerce websites .

0
None
Karthik_Innovatorabkhan17

Reply 2 years ago

check in your regions local electronic shops or check if you have any e-commerce service available in your place