Introduction: Arduino: How to Build an Obstacle Avoiding Robot
This instructable is the written version of my "Arduino: How To Build An Obstacle Avoiding Robot" Youtube video that I've uploaded recently. I strongly recommend you to check it out.
My YouTube Channel. Please Subscribe for Support
So, without further ado, Let's get started !
Step 1: Video Tutorial : Just 6 Minutes - Watch and Make...
Arduino Tutorial : How To Build An Obstacle Avoiding Robot
Watch carefully
Step 2: Materials : Necessary Materials and Equipments
* Arduino Uno R3
* Adafruit Motor Shield
*HC-SR04 Ultrasonic Module Distance Sensor for Arduino
* Tower Pro SG90 RC Mini Servo Motor
* Bracket / Holder for HC-SR04
* DC Motors and Wheels
* Bovine Wheel
* Plate or something like that
* Jumper
* Battery Buckle 9V
* Battery 9V
* Glue Gun or Cable Ties
Step 3: A Chassis and Sensor Connections
A Chassis
Attaching The Arduino To The Chassis
Connecting The Sensor To The Arduino
Step 4: Motors and Motor Shield Connections
Attaching The Motor Shield To The Ardunio
Connecting Motors To The Shield
Step 5: Programming the Robot
Programing the Arduino code
Step 6: For Me + What's Next ?
First of all, I would like to thank you for reading this guide ! I hope it helped you build your own robot and improved your knowledge about robotics and arduino.
I think now it's a good time to introduce myself. My name is Mert . Likes Math, Computers, Robotics and programming. I've just started a youtube channel, hoping to help people, share some of my knowledge and learn myself.
My next Youtube (and Instructables) tutorials will deal with different methods of controlling electronics (Smartphone-Bluetooth control, remote control and much more) and specifically robots. There will also be videos about home automation (controlling every day appliances with your smartphone or computer using arduino). so make sure you are a subscriber so you won't miss them, and I will see you next time.
Bye !

Participated in the
Maker Olympics Contest 2016
37 Comments
4 years ago
Nice little bot project. Made it fwith a couple of 24v geared motors and whatever i could find at home, code works fine for me. Thank you for sharing. BTW, your blog shows empty page on Opera, Chrome and Firefox browsers. Keep creating
5 years ago
dude your arduino code is wrong so I had to go to a robotics lab to get the code
5 years ago
This is awesome! I want to make a wall-e style one of these. Do you know how I could replace the wheels/dc motor with tracks?
6 years ago
sir my robot is not working the program is verified and uploaded but it is not working the servo motor is not rotating and the wheels are also not rotating
only the motorshield and ardunio are getting the current supply and a buzzing sound is been heard anda pop sound after a intervel of time .
6 years ago
how to upload the program in the ardunio
6 years ago
Your program is giving errors it is not working correctly.
please check it positively.
Reply 6 years ago
Why do you think it's not correct? Maybe you made a mistake! If you are getting an error, first share the error. Maybe then I can help you.
6 years ago
can u give me the code on text pad
Reply 6 years ago
You can copy from here: http://mertarduinotutorial.blogspot.com.tr/2016/12/arduino-project-tutorial-01-obstacle.html
Reply 6 years ago
thanks!
6 years ago
Please watch this tutorial; https://youtu.be/Es8D1q_b-c4
6 years ago
See sir
Reply 6 years ago
Only the rotation of the wheels may not be equal. If this is the case, it is enough to replace the DC motor connections in the motor shield.
6 years ago
Sir please help me I really need to know
Reply 6 years ago
Connections seem right. Is there any problem?
6 years ago
5&6
6 years ago
4
6 years ago
3
6 years ago
2
6 years ago
Sir in the 2nd step you wrote install arduino libraries , does that mean the af Motor and new ping 7 or something else ?