Required Parts: This project requires two Arduino boards which can be bought from http://www.adafruit.com/category/17
This project uses two Arduino Uno compatible boards.

An L293D or other Dual H-Bridge Motor Driver chip will be needed to drive the motors of the RC car. This can be found here: http://www.adafruit.com/products/807

Finally, this project requires the RF transmitter (https://www.sparkfun.com/products/retired/8945) and receiver (ttps://www.sparkfun.com/products/retired/8945) which will used for communication between the Arduinos.

A breadboard to prototype your circuit and a prototype board is also needed to solder everything together in the end. This can be bought from an electronics store like Jaycar Electronics.

Required Knowledge: A basic knowledge of electronics is required for this tutorial. If you have never worked with electronics take a look at this tutorial (at least up to lesson 4): http://www.ladyada.net/learn/arduino/
Knowing how to solder will also help with the final steps: https://learn.sparkfun.com/tutorials/how-to-solder...
This tutorial also assumes that you have a basic knowledge of the Arduino Uno and know how to program and upload a basic sketch. For the basics of Arduino, check out the Adafruit Arduino basics lessons at: http://learn.adafruit.com/lesson-0-getting-started/the-lessons.
A basic knowledge of Java is also assumed. You should know how to set up Java on your computer and create a basic Java program. This tutorial uses the Eclipse IDE. For the basics of programming Java and using Eclipse, check out this tutorial: http://eclipsetutorial.sourceforge.net/totalbeginner.html

Tutorial Structure: This tutorial will be split up into 3 parts:
  • Sending Arduino
  • Recieving Arduino
  • Computer program

Step 1: Sending Arduino: Wiring and building.

Pick one of your Arduinos to be the sending one and the other to be the receiver. The layout for the sending Arduino is simple. We are using a breadboard to connect the RF Transmitter to the Arduino. The four pins on the transmitter are as follows: Ground, Data in, 5V in, Antenna.
Place the transmitter in the breadboard and wire the Ground and 5V pins to the corresponding Ground and 5V on the Ardunio. The data in pin should be connected to pin 12 on the Arduino. The antenna is optional but to gain more range, you can simply attach a long wire and leave it hanging.
<p>I have no knowledge of java but am in real need of help. could you please send the java file you made.</p><p>email:-sanghviprajesh@gmail.com</p>
<p>i am using an adafruit motor shield to run 4 dc motors..what codes should i use?</p>
<p>I keep getting &quot;Could not find COM port&quot;. How to fix this thing?</p>
<p>I press backward but i didn't receive anything on second arduino..</p><p>Can someone make this program and send me??</p>
<p>can you please tell me how to input code to control the cam and projector for live recording and display direct from pc please help me in my project ...</p>
i have problem with reaction time:( I need to push button many times and fast just to get reaction :(
Did you copy my code exactly or modify it in any way? Try download and use my exact code. It might be an issue with your RF receiver or transmitter, have you used them before, did they work as expected?
Yeah my rf transmitter is shit only works at 10cm range :DDD(with huge antenna)
Does the rest of the project work? The RF transmitter I linked in the tutorial is the one I'm using. You can buy it from spark fun for $3.95USD
Yes everything works. I'm using your code as a template to control relays.Now i'm <br>trying to crate working jar file :D But with my knowledge and experience with java it's taking time :D
<p>can you tell me how to input code to control the cam and projector for live recording and display direct from pc please help me in my project ... </p>
ahah good luck :) let me know how it ends up going! <br>What are you actually doing with it ?
so cool
<p>Can you make one car for me please i want some addition in it i need a small projector which can rotate and a camera installed inside a car which also can rotate 360 degree to see all four sides of a car and a distance meter to see how much distance did a car moved and if possible make the car 4 wheel drive please replay me as urgent you can please&hellip;</p><p>thank you&hellip;</p>
<ul><li>Another cool addition could be to add a wireless camera to see what the car see's while you drive it around.<br><br><br>HOW??? please tell me.. =D</ul>
hey,friend it's look like u have a great knowlage on arduino i need ur help,i m new to arduino..i want to run arduino programme which i'hv (made for leonardo board only) and check whether there is any error in programme or not..and than i want to upload this programme in programme board and acorrding to programme it'll run 2 gear motor,so how can i check it and load it..can u please tell me step wise instruction or put instructable type vedio..i'll be thankfull,thank you
You can find many good tutorials already on the internet. Try look here: http://learn.adafruit.com/lesson-0-getting-started/the-lessons <br>This will teach you the basics of programming for the Arduino. It works on the Leonardo! <br> <br>To upload the program to the Arduino use the Arduino IDE here: http://www.arduino.cc/en/Main/Software
<p>hey it worked.THANKS!</p><p>i have problem with reaction time, this program is taking long time to respond to the keys pressed<br>how can i reduce the response time in the program.</p>
<p>Yeah same here, I just got done with it today and the reaction time takes a while. Did you figure out a way to reduce the reaction time?</p>
<p>thanks.. but the problem has been solved =)</p>
<p>it is giving a warning during run time in console as:</p><p>Started</p><p>WARNING: RXTX Version mismatch</p><p>Jar version = RXTX-2.2-20081207 Cloudhopper Build rxtx.cloudhopper.net</p><p>native lib Version = RXTX-2.2pre2</p><p>how to resolve this??</p>
<p>the power led of receiver end arduino does not turns on even after all the connections shown in your figure<br>is there any connection missing or do i need to connect an adapter<br>please reply ASAP<br>Thank You<br></p>
The receiver arduino needs a power supply of its own. I used a battery pack that came with it. You could also connect the cat battery to the Vin pin on the Arduino but I recommend the separate battery pack
<p>ok nw i got it<br>thanks for your quick reply</p>
You're welcome. Good luck with it :)
<p>can i drive two 12 volts (0.4amp 200 rpm 4 kg torque) geared dc motors with this circuit?? or do i need to make some changes?</p>
Yes you should be able to but you may need to increase the power supply connected to the +Vmotor pin of the l293d chip. If you do increase the power supply you should probably connect the +V pin to your Arduinos 5v out instead of the external power supply so as not to damage it with to much voltage.
<p>hey it worked.THANKS!<br>but this program is taking long time to respond to the keys pressed<br>how can i reduce the response time in the program.<br>I think my java program is taking more time to transmit the character from pc because my circuitry is working perfectly </p>
Can you please tell me how to make a receiver for Lanyu 5CH transmitter RC controller because I lost it or if you can contact me saberakhizada@gmail.com <br>Thanks
Its a very cool project i like it
Hi friend
cool project :D

About This Instructable




More by malnas01:Computer controlled RC car with two Arduinos 
Add instructable to: