Obstacle Avoiding Robot

21,629

44

66

Published

Introduction: Obstacle Avoiding Robot

In this tutorial I will work with you in a step by step process explaining through visuals and written instructions on how to create an Obstacle Avoiding Robot Car. This is a simple start up project with the arduino microcontroller and the arduino motor shield.

Bill of materials:
Arduino
Arduino motor shield
Custom built/bought (ebay) car with motors on each wheel
batteries 
bread board
ping sensor (ultrasonic distance sensor)
wires
servo motor





 

Step 1: Step 1

For the first step I bought a simple 4 motorized car and assembled it.  Before placing the top plastic platform i wired the right hand side motors to a single wire and the same process was done to the left hand side. After connecting the wires, the battery compartments were placed for this example i used a 9V battery to power the arduino and 4 AA batteries to power the motors (however if you want more power input to the motors i suggest adding more AA batteries). Finally the top platform is placed to cover the wiring and batteries.
 


Step 2: Step 2

For this second step the Arduino, motor shield and distance sensor are all connected and placed on the top platform. The image below is a top view of the final wiring stage. Make sure to connect the external power and the motor wires to the appropriate slot on the motor shield.

Step 3: Step 3

Add the code supplied and watch the robot avoid obstacles!
Message me for the code through instructables and i will email the file. (I cannot figure out how to add text files or copy paste the code to the instructable)
(If car moves too fast or slow change speed values to adjust with the power supplied to the motor shield)




Share

    Recommendations

    • Planter Challenge

      Planter Challenge
    • Woodworking Contest

      Woodworking Contest
    • Make it Move Contest

      Make it Move Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    66 Comments

    Please email the code to sheshubabu 71415@gmail.com

    Could you please send the code.

    terje.flatnes@icloud.com

    thanks

    Please email code to brydavies71@gmail.com

    Send the code to giridharvb71@gmail.com

    Could you please send the code.

    alif.munanggar@gmail.com

    thanks

    Could you please send the code.

    amiralmu@gmail.com

    thanks

    Could you please send the code.

    prairietank@gmail.com

    Pls send me code

    jimilnshah.ji@gmail.com

    user

    hey could you send me the code?

    Nathan.cameron@rcsd.ca

    Can you please send me the code? johnnyleon55@gmail.com Thanks

    Which arduino board did you use?

    hye there..can you please send me full code..i really need it for my final year project..here is my email miyss3@gmail.com

    Hi nice project. Can you please send the code to samforrest1@hotmail.co.uk. Thanks

    Awesome project man! please send me the code at aaryagreen@gmail.com

    Please send me the code as well: bob@rhj4.com

    Could you send me your code : ertaserman87@gmail.com

    thanks

    Hi Mr Leband,

    Really like your project. One of the best I have ever seen. I really need the code for it, so if you can email it to me, that would be great.

    nathanmarcus00@gmail.com

    P.S. If you can try to send it to me by tommorow, that would be great because I really need it

    Hi Mr.Lebrend

    Could you send me your code to my gmail: michealvorm@gmail.com

    Thank you.