Obstacle Avoiding Robot - Motor Shield

by DIY Robotics in Circuits > Arduino

9962 Views, 10 Favorites, 0 Comments

Obstacle Avoiding Robot - Motor Shield

DSC02218.JPG
DSC02219.JPG

Hi guys! This is an easy and basic tutorial for making a Obstacle Avoiding Robot... Read on ...

Materials Required

COmplete items used.jpg
47185-arduino.jpg
adafruit-motorshield2.jpg
download.jpg
hcsr04-e1416573917986.png
20pin300mm_LRG.jpg
s-l1000.jpg
417atmbbUsL._AA300_.jpg

To build the Obstacle Avoiding Robot you will require-

  1. Arduino Uno R3 (we recommend using Arduino Uno r3 but you can also use other boards such as Mega or Nano...)
  2. Arduino Motor Shield(We can also use a Motor Driver instead of it)
  3. Ultrasonic Sensor
  4. Jumper Wires
  5. 9V Battery
  6. Power bank(It is not nessecary that you use a power bank to power the Arduino but we reccommend using it but your robot would run perfectly even if you don't use a power bank)
  7. USB Cable (To connect the Arduino to the power bank if you are using one)

Wiring

567289064936d402760007fb.jpeg

1. Attach the Trig pin to 8 and the echo to the no.7 (Tip: make sure the wire is naked at the end because it has to be crunched inside the motor shield).The GND pin to the ground supply in the Arduino & VCC to the 5V

2. Then attach the motor shield on the Arduino.

3. Connect the Motors and the 9V power supply to the shield

Code

The download link is giving down below download & upload it.....

https://www.mediafire.com/?o3ouga2abw13wy6

You're Done

Obstacle Avoiding Robot with Motor Shield

Once you done all this make sure you send a image of the robot....