Instructables
loading
loading
Picture of 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





 
 
Remove these adsRemove these ads by Signing Up

Step 1: Step 1

Picture of 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

Picture of Step 2
20130913_135300.jpg
20130913_135309.jpg
scan0001.jpg
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)




1-40 of 44Next »
MattiaC4 months ago

hey,

please send me the code asap!

here is my id: mattiacolli@icloud.com

cool project

MattiaC MattiaC4 months ago

did he give you the code

MattiaC MattiaC4 months ago

no

eset01 MattiaC23 days ago

did you get the code?

eset0123 days ago

hi sir.. we have a project for this can you send me the code.. vienielvie@gmail.com

toaster_me1 month ago

Hello Mr.Lebrend

can you please send me the code on this ID. pakcikteds@gmail.com

Thanks n Regards...

Hello Sir Will you please send me the code on this ID. tousifiqbal.mig@gmail.com.

Thanks n Regards..

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 & servo. Thanks in Advance.

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
ahsan932 months ago

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'

please can u give me the codes ASAP!!!!! beygicom005@gmail.com
relmanh2 months ago

hi. if its okay can i have your codes for this project. thank herrera.relman@gmail.com

AkshayB32 months ago

Hi, could you please send me the codes at

akshaybhatia94@gmail.com

Thank You

very clear instructions but

i want the code to make this email is harigt2009@gmail.com.

very clear instructions but

i want the code to make this email is harigt2009@gmail.com.

Nayemuzzaman3 months ago

Dear sir, please and i request to you please send me code.my email nayemzaman@gmail.com... please send i request

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.

hemanthraj888@gmail.com

jovany.mira4 months ago

Hello,

Could you send me the source code please? I'd like to learn how to do it !

Here is my e-mail: jmira18@gmail.com

did he give you the code

PaulC64 months ago

Hello ! :)
Very nice work you've done here. Could you send me the source code please? I'd love to learn how to do it !
Here is my e-mail: croizepaul@gmail.com

Thanks and bravo !

MattiaC PaulC64 months ago

did he give you the code

Hi,

Great instructable. Could you send me the code at rzzmtazz@gmail.com, Thanks Razz

did he give you the code

hey,

i love your project :)

please send me the code asap!

here is my id: sheroooo94@hotmail.co.uk

did he send you the code

DNMEBOY5 months ago

this is the only robot i have found that uses the same hardware as mine but you did not post the code....

could you not have just copied and pasted it to your instructable?

could you message me thew code if you have it still?

tbao6 months ago

Hi, I also build smart car as your project. I got stuck around code that I do not know where is error.

Could you send to me your code?

citytech90@gmail.com

thanks

etrejo lujano9 months ago
Email code please? I need it right away. 3tr3jo@gmail.com
soufiemaak10 months ago
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?
Hope I will work with it thank you
Soufiemaak@gmail.com
JACKIELENGZAI10 months ago

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!

kanjas1 year ago

i'd like to try this one, please send me the code to this email: jasonseril@gmail.com. thanks in advance

ghoward81 year ago

code please @ gabriellah99@gmail.com Thank you

salvram1 year ago
Great tutorial. Could you please send me the code to seraf@hotmail.es

Thanks
hakman11 year ago

May you please send me the code at hamza.akman@std.bou.edu.tr

oganer@outlook.com

Jvirgil211 year ago
May u please send me the code at jvirgil1106@gmail.com by like today. PPPPPLLLLLEEEEAAAASSSSEEEE
Plz send me the codes
smithraj1 year ago
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 , & 9volt Battery for Arduino & 11.1 Battery motor shield supply.. Now i need the code .. pl send the code sj28550@gmail.com
Mr.Lebrend
Great tut. I was wondering if you could email me a copy of the code so I'll have a template to follow
mhobert1 year ago
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.
1-40 of 44Next »