loading

This is a robot that isn't hard to build and is awesome to show friends.

Step 1: Parts

you will need:
l293d motor drive shield
arduino uno
hc-sr04 ultrasonic sensor
two 1:120 gear ratio motors
a platform of some kind
different types of dupoint wires
a battery (9v preferred)
a servo
 

Step 2: Start Assembling

Attach the wheels to the bottom of my he platform.
attach servo
mount the sensor on the servo
mount l293 on the arduino
attach wires for the motors
attach servo to the servo port
solder wires into 5+, gnd, a4 and a5
connect 5+ wire to vcc on the sensor
connect a4 to trig
connect a5 to echo
connect gnd to gnd

 

Step 3: Add Code

you can make your own code for this or download it here
http://apcmag.com/arduino.htm#project4

 


its project 4 mini robot
be sure to install the libraries :-)
 

<p>and should i use dupont male - female,female to female wires????</p>
<p>plshelp me na</p>
<p>from which site do i get 1:120 gear ratio motors in india</p>
<p>How can we add #include &lt;AFMotor.h&gt;</p><p>===============================</p><p>I tried to add from sketch&gt; add zip file and failed.</p><p>I got this error</p><p>=============================</p><p>.Arduino: 1.6.5 (Windows 8.1), Board: &quot;Arduino Uno&quot;</p><p>APC_4_ROBOT.ino:1:21: fatal error: AFMotor.h: No such file or directory</p><p>compilation terminated.</p><p>Error compiling.</p><p> This report would have more information with</p><p> &quot;Show verbose output during compilation&quot;</p><p>enabled in File &gt; Preferences.</p>
hi it might be because they changed the software since I made the robot. arduino has updated thier software recently but I haven't been using arduino lately
<p>you there i need help from u brother.</p>
<p>you there i need help from u brother.</p>
<p>need help please asap.</p>
hi, what's up?
<p>Where is 5+ at?</p>
<p>code error please help</p>
<p>Hi, you need to set up your libraries in the code. They define specific parts of the code. If you need more help please notify me :)</p>
<p>I made the robot but i am confused on how you wired it. </p><p>How did you do it?? Like where did you put everything</p>
<p>thx a lot dude ur the best ,i modified my code but overall u rock!!!!!</p>
<p>good but last three picture are more details please because i am new..jumber setup i want to more clear.</p>
<p>can you please send the code of arduino </p>
cool david
We'll done mate
looks great

About This Instructable

14,994views

65favorites

License:

Bio: I like to build random stuff when I'm bored.
More by Djnix:Diy solar phone charger Free iOS screen recorder Reuse your old hard drive disks 
Add instructable to: