3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino controls cheap RC car transmitter

Arduino controls cheap RC car transmitter

OBJECTIVE
Cheap Chines RC toy cars can be had for about 5 Euros in the local market. The brains behind the majority of these cheap RC toys are a pair of very cheap ICs the TX2 and the RX2. Yup, that's what they are called. So this tutorial is focused on the TX2/RX2 based remote controlled toys. I bought one a while ago and used the Arduino with an IR sensor to drive it. Then I figured why not use the Arduino to drive the radio control mechanism of the car. You can see a video of the steps involved and the final  operational circuit here:



WHY?
I mentioned in my other projects how hard it is for most people in Jordan to afford buying electronic components because of very low income, absurdly high tariffs (mostly to feed rampant government corruption), and arbitrary security procedures. So scavenging parts from cheap gadgets is the way for most young makers I know to sustain their passion for electronic innovation.

CREDITS
Special thanks to Eng. Jafar Quttaineh for his invaluable assistance.

FEEDBACK
Your feedback is most welcome to help me improve my future projects.

Let's get started...
 
Remove these adsRemove these ads by Signing Up
 

Step 1Getting started

Getting started
APPROACH
In this project, I will use the Arduino to drive the transmitter's LEFT and RIGHT functions. So instead of the user pushing the remote control's joystick to turn the car (or my test rig) , the Arduino can be connected and programmed instead to send these commands via the RC car's transmitter. The same steps can be duplicated to enable the Arduino to drive the transmitter's BACK and FORWARD function pins.

I extracted both receiver and controller circuits from the RC car but you may find it easier to just work with the transmitter + Arduino while leaving the receiver and the car intact. This might be simpler for some of you since you have to only worry about dissecting and wiring the transmitter to the Arduino. Also, the intact receiver + car will act as your test platform. Its' also more fun to end your project with your Arduino controlling your RC car instead of just looking at two naked circuits and a blinking LED. Your call.


THE RC CAR'S COMPONENTS
The car has three main components.

1) Mechanical: For steering and locomotion, the car has 2 DC motors and associated gear. One motor provides locomotion from the back of the car, the other DC motor in the front provides steering left and right. I won't be using the motors in this project but these toy cars are a great source of motors, gears, and other parts. So I am not throwing anything away.

2) Electronic: There are three main circuits. a) the transmitter b) the receiver c) the H-bridge. The transmitter and receiver are driven by the venerable TX2 encoder and RX2 decoder ICs. The h-bridge to drive the DC motors uses power transistors. Refer to the datasheet for more details.

3) Power: The transmitter is powered by 2 AA batteries (3V) and the receiver is powered by 4 AA batteries (6V).

PARTS NEEDED FOR THIS PROJECT
- Arduino Uno.

- 2 X  10K Ohm resistors. I use each in a series to connect the transmitter's pin to the Arduino's digital pin.  If you want to connect all steering functions (Left, Right, Back, Front) to the Arduino you will need 4 of those. 10K might be overkill but the circuit works.

- 2 X breadboards to place the transmitter and receiver for wiring. It just makes for easier handling and wiring. But you can do without the breadboard.

- Wires and alligator clips.

- 4 X AA (6V) battery source to supply the receiver.

- Multimeter to test your connections.

- DC motors, small DC lamps, or relays to test your final TX2/RX2 system depending on what you plan to use it for.

OPTIONAL LED TESTBED
I know some of you will be tempted to just use LEDs to test the rig. LEDs are nice and cheap and accessible. Since the receiver's h-bridge (geek term for circuit that drives motors) switches between positive and negative voltage depending on whether it's driving the motor in one direction or the other (e.g. Forward vs Back), we can't just use LEDs as-is since an LED passes current in one direction only but not the other. But if you insist on using LED's , I came up with a quick and dirty test circuit based on LEDs. I won't describe it in detail because it's not relevant to his project.

My LED testing circuit was put together on the fly. It's a miniboard made up of two LEDs, two diodes, and two resistors both in parallel but rigged for opposite polarities. When the voltage is positive, one LED will turn on, when it's negative, the other LED will turn on.  This is to simulate a motor turning one way (e.g. Right) or the other (e.g. Left).  You don't need to do this test circuit. Just connect a small DC lamp or a DC motor to test your circuit. I am sure there are better ways of doing this but it was the quickest at the time. I might add two more LEDs to simulate the 2nd  motor's Forward and Backward functions.

WORKING WITH DIFFERENT RC GADGETS
There's a good chance your RX2/TX2 based RC gadget was made by a different vendor with different wire colors and based on different schematics. You should be able to apply the techniques from this project to other RX2/TX2 based RC projects with a modest effort.
« Previous StepDownload PDFView All StepsNext Step »
2 comments
May 3, 2012. 3:39 PMemdarcher says:
it looks like you could use this for cheap arduino to arduino control of you connected the reciever outputs to another arduino, and that arduino would have a code that translates those signals to a usable command. it would require a bit of coding, but is way cheaper than xbee.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
31
Followers
18
Author:techbitar
Did I unplug the solder iron?