Instructables
Picture of Computer controlled RC car with two Arduinos
DSCF0609.JPG
DSCF0610.JPG
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
 
Remove these adsRemove these ads by Signing Up
azverche1 month ago

I press backward but i didn't receive anything on second arduino..

Can someone make this program and send me??

sdas.jpg
yogesh225 months ago

it is giving a warning during run time in console as:

Started

WARNING: RXTX Version mismatch

Jar version = RXTX-2.2-20081207 Cloudhopper Build rxtx.cloudhopper.net

native lib Version = RXTX-2.2pre2

how to resolve this??

yogesh227 months ago

the power led of receiver end arduino does not turns on even after all the connections shown in your figure
is there any connection missing or do i need to connect an adapter
please reply ASAP
Thank You

malnas01 (author)  yogesh227 months ago
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
yogesh22 malnas017 months ago

ok nw i got it
thanks for your quick reply

malnas01 (author)  yogesh227 months ago
You're welcome. Good luck with it :)
yogesh22 malnas017 months ago

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?

malnas01 (author)  yogesh227 months ago
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.
yogesh22 malnas016 months ago

hey it worked.THANKS!
but this program is taking long time to respond to the keys pressed
how can i reduce the response time in the program.
I think my java program is taking more time to transmit the character from pc because my circuitry is working perfectly

saberakhizada8 months ago
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
Thanks
saberakhizada8 months ago
Its a very cool project i like it
saberakhizada8 months ago
Hi friend
backis9 months ago
i have problem with reaction time:( I need to push button many times and fast just to get reaction :(
malnas01 (author)  backis9 months ago
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?
backis malnas019 months ago
Yeah my rf transmitter is shit only works at 10cm range :DDD(with huge antenna)
malnas01 (author)  backis9 months ago
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
cgrrty malnas019 months ago
so cool
backis malnas019 months ago
Yes everything works. I'm using your code as a template to control relays.Now i'm
trying to crate working jar file :D But with my knowledge and experience with java it's taking time :D
malnas01 (author)  backis9 months ago
ahah good luck :) let me know how it ends up going!
What are you actually doing with it ?
creasty9 months ago
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
malnas01 (author)  creasty9 months ago
You can find many good tutorials already on the internet. Try look here: http://learn.adafruit.com/lesson-0-getting-started/the-lessons
This will teach you the basics of programming for the Arduino. It works on the Leonardo!

To upload the program to the Arduino use the Arduino IDE here: http://www.arduino.cc/en/Main/Software
backis9 months ago
cool project :D