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 motor shield
Custom built/bought (ebay) car with motors on each wheel
bread board
ping sensor (ultrasonic distance sensor)
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.

<p>Please send me the code as well: bob@rhj4.com</p>
<p>Could you send me your code : ertaserman87@gmail.com</p><p>thanks</p>
<p>Hi Mr Leband,</p><p> 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.</p><p>nathanmarcus00@gmail.com</p><p>P.S. If you can try to send it to me by tommorow, that would be great because I really need it</p>
<p>Hi Mr.Lebrend</p><p>Could you send me your code to my gmail: michealvorm@gmail.com</p><p>Thank you.</p>
<p>Could you send me the code at sohamshah252@gmail.com</p>
<p>if I could get your code awesome</p><p>ianfoster31@gmail.com</p>
<p>hey, </p><p>please send me the code asap!</p><p>here is my id: mattiacolli@icloud.com </p><p>cool project</p>
<p>did he give you the code</p>
<p>did you get the code?</p>
<p>hi sir.. we have a project for this can you send me the code.. vienielvie@gmail.com</p>
<p>Hello Mr.Lebrend </p><p> can you please send me the code on this ID. pakcikteds@gmail.com</p><p>Thanks n Regards...</p>
<p>Hello Sir Will you please send me the code on this ID. tousifiqbal.mig@gmail.com.</p><p>Thanks n Regards..</p>
<p>Hello Mr. Lebrend. Will you please mail me the code to me. Mail Id: tousifiqbal.mig@gmail.com. Also Sir, I dont ve L293 Shield. Though I ve got the IC, I just want to connect it directly. So will you please send me the output pins for motors &amp; servo. Thanks in Advance.</p>
if it's OK. I put a twist with a sainsmart 4wd kit but wired the same way. thanks for the great understandable instructable.
hello! I'm all ready. my you please email me the code to georgewilson718@gmail.com
<p>hey pls can u email me the code...it would be a great help....thanks for ur clear instructions...my email address is 'm.ahsan93@ymail.com'</p>
please can u give me the codes ASAP!!!!! beygicom005@gmail.com
<p>hi. if its okay can i have your codes for this project. thank herrera.relman@gmail.com</p>
<p>Hi, could you please send me the codes at</p><p>akshaybhatia94@gmail.com</p><p>Thank You </p>
<p>hey please send me the code...its my humble request..please send it..</p><p>my id is: srajkamal84@yahoo.in</p>
<p>very clear instructions but </p><p>i want the code to make this email is harigt2009@gmail.com.</p>
<p>very clear instructions but </p><p>i want the code to make this email is harigt2009@gmail.com.</p>
<p>Dear sir, please and i request to you please send me code.my email nayemzaman@gmail.com... please send i request</p>
<p>this is a very good one. i am beginner for this kind of things . so could you please send me the codes and materials briefly.</p><p>hemanthraj888@gmail.com</p>
<p>Hello,</p><p>Could you send me the source code please? I'd like to learn how to do it !</p><p>Here is my e-mail: jmira18@gmail.com</p>
<p>did he give you the code</p>
<p>Hello ! :)<br>Very nice work you've done here. Could you send me the source code please? I'd love to learn how to do it !<br>Here is my e-mail: croizepaul@gmail.com<br><br>Thanks and bravo !</p>
<p>did he give you the code</p>
<p>Hi,</p><p>Great instructable. Could you send me the code at rzzmtazz@gmail.com, Thanks Razz</p>
<p>did he give you the code</p>
<p>hey,</p><p>i love your project :)</p><p> please send me the code asap!</p><p> here is my id: sheroooo94@hotmail.co.uk</p>
<p>did he send you the code</p>
<p>this is the only robot i have found that uses the same hardware as mine but you did not post the code....</p><p>could you not have just copied and pasted it to your instructable?</p><p>could you message me thew code if you have it still?</p>
<p>Hi, I also build smart car as your project. I got stuck around code that I do not know where is error.</p><p>Could you send to me your code?</p><p>citytech90@gmail.com</p><p>thanks</p>
Email code please? I need it right away. 3tr3jo@gmail.com
Hey how are you? I'm making the same but for the motor shield I'm using adafruit. Can you send me the code please if you don't mind?<br>Hope I will work with it thank you<br>Soufiemaak@gmail.com
<p>Hey Sir! I'm building similar type of robot and complete freshie here! would you mind sharing me with your code at jackienewtonyap@yahoo.com and definitely great thanks to you! </p>
<p>i'd like to try this one, please send me the code to this email: jasonseril@gmail.com. thanks in advance</p>
<p>code please @ gabriellah99@gmail.com Thank you </p>
Great tutorial. Could you please send me the code to seraf@hotmail.es<br><br>Thanks
<p>May you please send me the code at hamza.akman@std.bou.edu.tr</p><p>oganer@outlook.com</p>
May u please send me the code at jvirgil1106@gmail.com by like today. PPPPPLLLLLEEEEAAAASSSSEEEE
Plz send me the codes
I make this type 4wd robot car.. I have Arduino uno r3 board,Adafruit motor shield,4 Bo motors , 4 wd cheeses,1 servo, 1 Ultrasonic distance sensor,some jumber wires , &amp; 9volt Battery for Arduino &amp; 11.1 Battery motor shield supply.. Now i need the code .. pl send the code sj28550@gmail.com
Mr.Lebrend <br>Great tut. I was wondering if you could email me a copy of the code so I'll have a template to follow
Hey, great instructable! I am working on a similar bit with tracks and was wondering if you would send me the code you used so I have a place to start.
Hello Mr.Lebrend, <br> <br>thank you for your sharing. I'm wondering if you could provide more clear picture for the wiring diagrams. I'd like to build the similar robot, but would like to see how the wires are plugged. thank you a lot in advance.

About This Instructable


43 favorites


More by Mr.Lebrend: Wheres Waldo? Halloween Costume Obstacle Avoiding Robot Household Relay connected to arduino
Tags: arduino
Add instructable to: