Step 5: Power

Remove the cover from the M-type power plug and slide it onto the wires for the 9V connector (such that you can twist it back on after you solder the wires).

Solder the red wire to the middle connection tab. Solder the black wire to the outer connection tab.

Twist the cover back onto the plug.
<p>Hello to everyone.check out my new project about Arduino</p><p><a href="https://www.instructables.com/id/Simple-PS3-Arduino-Project/?ALLSTEPS" rel="nofollow">https://www.instructables.com/id/Simple-PS3-Arduino-Project/?ALLSTEPS</a></p>
<p>Hey, I'm currently making a similar build, I've uploaded the code and I only get a short initial jerk from the motors after that I get nothing, I've only substituted the parallax ping sensor for Radioshack's version and the Arduino motor shield for Seeed's. Any suggestions?</p>
<p>sir the ping sensor that i buy has four feets where do i connect the other one and is there something to add in the code if the sensor is like that</p><p>reply sir ASAP</p>
<p>I also have the 4 pin sensor and don't know how to program it. Thanks!</p>
<p>I can't copy the code. I'm not sure if you did that on purpose or not?</p>
<p>Hi Randofo! I am running an RC car with the same setup as yours. Will I be able to wire up the car's standard 6v battery pack to the motor shield without frying the ping sensor? Will the ping sensor take on 6v?</p><p>Thanks,</p><p>Electronics_Geek</p>
<p>I don't think it could, but you could use a voltage regulator to bring it within the operating voltage of the Ping sensor.</p>
<p>that would be pretty cool if you used a traxxas or any other fast rc car</p>
<p>Nice tutorial, thanks for sharing! We built a similar project. However, we installed an Android device onto a RC car and used an IOIO board instead to control it autonomously. Here is the preliminary result:<br><br><iframe allowfullscreen="" frameborder="0" height="281" src="//www.youtube.com/embed/vkvkfcqEUkk" width="500"></iframe></p>
<p>hi abencomo, really u have done great job, can u send the details of ur project, like app which follows the ball, code and schematics to my mail <a href="mailto:arun3491@gmail.com" rel="nofollow">arun3491@gmail.com</a>.</p>
All the information and code is here:<br><br>http://www.socsci.uci.edu/~jkrichma/ABR/index.html#SOURCE%20FILES
<p>That's great! Can you tell me more about your project? (agocht@gmail.com)</p>
Great Instructable! Your build and pictures are so clean! Thank you so much for documenting this so clearly!<br><br>The choice of adding a motor shield kind of confuses me, though. If you have a steady hand then connecting four wires to the car's RX chip and taking advantage of the car's already present H-bridge is pretty simple. You can even send PWM signals and it works to control the motor's speed. <br><br>If you already have a motor shield or don't want to solder to a surface mount chip then I totally understand, but one can easily cut out $20 to $30 of the cost of this project with some careful soldering.
<p>Can you pls share the wiring on the car's RX chip and/or the H-Bridge?</p>
<p>Awesome work! I am building it now!</p>
<p>Thanks for the great instructions and pictures. My son and I just finished the truck and it worked. However the truck is only going foward and to the right, it pauses and repeats again. When I copied and pasted your scripts a bunch of extra spaces were added between the lines. I will delete them to see if this is the fix?! Otherwise we will have to recheck the Ping soldering and wiring to the Arduino motor shield, to find other errors.</p>
<p>Can you screenshot the code? I haven't done anything arduino but I do know a bit of code. </p>
can i use arduino leonardo and l298 ic motor shield
How possible to pull this off using a Sensored Brushless Motor system? Novak is what I am wanting to use).
Do you know if these sensors will work? &quot;Ultrasonic Module HC-SR04 Distance Measuring Transducer&quot; If not does anyone have code for these? great project!
can we use a different arduino motor shield
Yes, but perhaps not with these instructions. These instructions are centered around this shield.
is it possible to solder jumpers directly to the IC?
Instead of using a motorr shield, can I use a motor driver ic(SN754ONE)
Thanks for the great instructable! Could I use this motor shield? http://www.radioshack.com/product/index.jsp?productId=13351656 I am new to all of this stuff. Thanks
I have made a similar kind off project but instead of an arduino motor shield and a ping, i have attached a adafruit type of motor shied and a hc sr 04 sensor . can you please help and modify this coding for an adafruit motor shield along with a hc sr 04 sensor .
No, but please share your code if you do.
You mentioned that the front motor was the &quot;turn motor&quot;. how exactly does that work? does it actually turn or spins the left or right wheels to achieve turning? I'm wondering if one would need 2 motor controllers for an RC that has for motors
If it has four motors, then you might. Mine has two motors. One drives the back wheels and the front one turns the axle left and right.
works great but my wheels wont turn, they stay where they are when I fire it up but other than that it works perfect.
I am trying to delete one of them but having a hard time, bear with me please
Here it is, older motor shield, can I use this one?
Thanks for the How to.<br> <br> I am working on a project very much like this. See my video here: <a href="https://www.youtube.com/watch?v=SPLlTAVeIf8" rel="nofollow">https://www.youtube.com/watch?v=SPLlTAVeIf8</a>
Good day! I have one question about this project. Should I use Xbee modules to connect PC with robot??? I will be appreciate for your answers!
may I know what's the purpose of connecting the ground socket on the shield to the input ground screw socket on the motor shield?
dude should you only use new bright cars <br> <br>
Hey there, I used same arduino, same motor shield, same ping sensor, same code, but different rc car, basically the same two simple motors, but somehow my car moves only forward, with a short little stop, than moves again forward even if there are objects, like my hand or foot, It never reverse and doesnt turn the wheels. Can anyone help me? something wrong with the code or ?
Hi, I've used exactly the same kind of Arduino, motor shield, Ping sensor and code but different RC car for my project. However, the rear wheels turn forward and then reverse repeatedly when there is no obstacle. It works fine when there is an obstacle. May I know what's the problem?
hey, I had the same problem. Different car, anytime I power it up. it moves forward then backwards repeatedly, but when I keep my hands in front of it, keeps moving forward
Hi there, cool project. Im planning on doing my own. I got this old r/c car wich only has one motor, the rear one is that okay ? do I have to fix the code? and second, what do I do with the originally on/off button and its wires? thanks in advance !
hello when i put in the cod e every thing works fine but every 5 second the motors stop and some times the ping sensor does no always work is ths normal
Where did you connect the wires from the battery pack and from the switch to?
I am no longer using the car's battery pack and switch. It is all powered off the 9V.
How would you go about removing the Arduino so you can use it for other projects. I understand you would need an ATMega chip.
<a href="https://www.instructables.com/id/Perfboard-Hackduino-Arduino-compatible-circuit/">https://www.instructables.com/id/Perfboard-Hackduino-Arduino-compatible-circuit/</a>
Check This Out!!<br> <a href="http://dinofab.com/rumblebot.html" rel="nofollow">http://dinofab.com/rumblebot.html</a><br>
Not the greatest idea. You can harm the Arduino by doing that, as the motor could produce voltage spikes.
Would it be possible to plug everything straight into the Arduino without the shield? <br>
No. You would not be able to change direction and you would be under-powering the motors.

About This Instructable




Bio: My name is Randy and I founded the Instructables Design Studio. I'm also the author of the books 'Simple Bots,' and '62 Projects to ... More »
More by randofo:Custom Print Kimono Mad Scientist Extension Cord DIY Life-Sized Cardboard Cutout 
Add instructable to: