This instructable will show you how to convert an old toy R/C car from the thrift-store ($1.50) into a bluetooth controlled robot. To make the conversion, you will need an Arduino (any type), an L298N dual 2-amp motor-controller (or similar), and a bluetooth serial adapter from Sparkfun.com.

We will first remove all existing circuitry from the old toy and prepare it for its new brains. Then we will install the Arduino, motor-controller, and bluetooth adapter onto the top of the frame and wire everything up. Lastly, there are a few steps to complete on your computer to pair it with the bluetooth adapter on the robot. The building process is simple and straightforward, using hot-glue to secure each circuit board - which is easily removable later if desired.

To control this bot, I have assigned several keys on the keyboard to carry out various movements from the robot’s motors. By opening a terminal after pairing the Bluetooth-bot to your computer, you can send serial commands by pressing the “i” (forward), “j” (left), “k” (reverse), and “l” (right) keys to command the bot in any direction.

Here is a short video of the bluetooth-bot in action:

All parts can be purchased at Sparkfun.com, and the motor-controller can either be purchased as a shield (Ardu-moto shield), or built from scratch using the provided PCB layout files. You can download any of the files needed for this project (code and PCB files) from here:


Tools needed:
  • wire stripper/snips
  • soldering iron
  • small screwdriver
  • hot-glue gun

Parts list:

This project was left over from my new book titled “Arduino Robotics” from Apress publishing. I decided to add it online for anyone to build. If you like this and want to see more Arduino based projects like it (including the Lawnbot400, ridable Seg-bot, GPS guided robo-boat, and many more), check out the book webpage:

Arduino Robtics

You can also check out some other projects that I have posted online at my website.

Step 1: Toy brain surgery

The PCB that came installed in the toy tank/car base had a small crystal for use with a AM radio transmitter and a few transistors to make a small H-bridge circuit for each motor. We will replace the old circuitry with an Arduino, a Bluetooth serial adapter, and an L298n dual motor-controller IC. The Arduino is reprogrammable, so you can obtain a variety of different behaviors with your bot, though I have only set up basic movement commands (fwd, rev, left, right).

First, strip the R/C car you got from the thrift-store, of all its electronic guts. This includes the motor-controller, R/C crystal, and any other PCB's installed. We will only need two wires to each motor and a set of wires to the battery compartment. The code for this project is intended for use with a "tank-steer" type robot, utilizing one motor on each side of the robot, like a tank. With bi-directional control of each motor, we can turn the robot in a circle without moving forward or reverse (called a "zero-turn radius"). This type of control is extremely effective, especially at slower speeds.

Note: You do not have to have find a toy vehicle with tank tracks, there are many R/C toys at the thrift-store that have wheels, but utilize tank steering - just make sure your vehicle has a drive motor installed on each side. I was able to find several "tracked" tank-steering vehicles at my local thrift-store, with regular visits and a few months time.

Once you remove the old electronic circuits from the toy, we will need a place to mount the Arduino board, the motor-controller PCB, and the small Bluetooth adapter (we will use the battery compartment built in to the toy). If you use an Ardumoto shield for the Arduino, you will only need a place to mount the Arduino. I used a hot-glue gun to add a small blob of glue to the top of the toy base - then mount the Arduino. Using low-temp glue will keep the Arduino securely attached, but also allow you to remove it later without damage if desired.

I designed a small PCB that uses an L298N dual motor driver IC to control (2) DC motors in either direction and with full speed control. The PCB files were created using the freeware version of Eagle CAD and can be used to build your own motor-controller. If you would not like to build your own PCB, you can buy the Ardumoto motor-controller from Sparkfun.com which uses a surface mount version of the same L298N IC (control pin reassignment may be required in the code).

Download the Eagle files for the L298N motor-controller and code for this project here:

<p>Very useful tutorial how to make a bluetooth controlled robot</p>
Is it really ok to pit an electric current greayer than 5 volt into the arduino ??
Hi, <br>I am Dhiviyansh. The bluetooth module 'bluetooth mate gold' is out of my budget. So can i us a 'HC -06' module
<p>can you use an android phone for these wiring connections?, plz help me i have to show that wiring for different purposes can work for other builds using same wiring. plz plz plz help me, anyone</p>
<p>what application sending commands</p>
<p>is there is only two motors.</p>
<p>Hi, I have a problem with serial read, it received wrong values when I press a key in terminal window. Can you help me with this problem</p>
<p>i am trying to make this project with a l298nIC will it work with that ?I just don't know than which pin on the l298nIC is used for supplying the voltage to the motors </p>
<p>motors can get their power from ic boot the -vcc shoulde get from battery</p>
<p>you are talking about terminal in step 7 which terminal is that....how to get that??</p>
Does it work for a smartphone
<p>does it work for a mobile phone</p>
<p>Thanks a lot</p>
<p>cual es el valor de las resistencias del l298n</p>
<p>how to control it from computer is there any software</p>
<p>how to control it from computer is there any software</p>
<p>how to control it from computer is there any software</p>
<p>I didn't understand the computer's side. How are we sending different values by pressing different keys??</p>
<p>good instructable, you could use one of these:-</p><p><a href="http://www.ebay.co.uk/itm/111202844111?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649" rel="nofollow">http://www.ebay.co.uk/itm/111202844111?ssPageName=...</a></p><p>this saves using a arduino plus a motor controler.</p><p>also why not use the arrow keys on the keyboard (easier to remember) or a android phone.</p>
<p>sure, I have played with Dagu and it should be sufficient as long as your motors don't require more than 1amp. It would definitely work on the toy tank that I bought... and should work on most toys.</p><p>Also, you can map the controls to any keys you want... though all keyboards have I, J, K, L, so I just used those. Most keyboards have up/down arrows, so that should work just fine. You would just need to open the serial monitor and see what code is sent across when you press those keys.</p><p>You can also use an android phone, but at the time of writing this, I didn't have an android that would allow me to pair to the bluetooth module... might try this with my newer phone.</p>
<p>Hi. This is a great instructable. I have one question. How do you power the power shield, motors and arduino. Do you use one 12 volt battery and connected in parallel to the arduino and shield or it is two separate power sources?</p><p>Thanks!</p>
<p>hey mate </p><p>was wondering, is this usable on windows at all??I have all the components but I'm not sure how to control it</p><p>love the project </p><p>eagerly awaiting your reply :) </p>
Can you use the arduino motor shield? Instead of the L293D
will this work with the arduino app for like apple or android devices
Yeah does the same code work for L293D? please answer.
Yeah does the same code work for L293D? please answer.
sir does the same code works for the L293D motor driver Ic ??
sorry for the late reply, <br>tthe manner in which you are controlling the bot, the same manner i want to apply.. as long as the user presses i,j,k,l.. the bot should perform the same action. <br> the user must not press enter to feed the instructions for directions.
hye <br>will this program also work over using xbee?? <br>also how to give continuous input for direction control without pressing enter.. pls help.. need it for project. <br>thnx
sure it will work over xbee, just without the pairing process used with the bluetooth... xbee is actually far easier to set up and has a far better range, but is more expensive to buy 2 xbee radios than one bluetooth adapter and a bluetooth module. <br> <br>what method of control are you going for? I assume you would like to press forward once and let it go forward until you press another button?
Is there a way to use a PS3 controller (bluetooth) to control the robot? It would make it a lot easier to control the robot using a hand held controller rather than a keyboard. Please let me know.
Hiya! <br>Can it work with Windows, You said that the video will explain connecting it to your PC, But it only shows using Ubuntu... <br>Nolan5683 asked an interesting question... Is it possible? <br> <br>Thanx!
How did you make the motors run as long as you pressed the button. And what terminal did you use.
can you give me the componets list for the motor controller i can't find the list anywhere,even in the arduino robotics book please
I am new to all this Arduino business and I have no idea what you are really talking about. Is t possible to do this kind of thing, but putting the programming on a Macintosh MacBook. If it is, please tell me!
Hi, <br> <br>I am kind of new to the robot-building-scene, but I really want to give it a try. So I want to apologize in advance for the dumb question. <br> <br>But I still have one thing that I don't understand and I was hoping someone could help me out here. <br> <br>Wouldn't you have to have a (java) program running on your pc in order to send the commands to the bot? or in other words, how does your pc send the info to your bluetooth transmitter? <br> <br>thanks to anyone willing to help!!
would this work the same if it were a &quot;walking&quot; instead of a &quot;driving&quot; bot?
can you please tell me whare to connect bluetooth mate gold.if i am using Sparkfun Ardumoto shield.please tell me
Hi there, I am trying to build a rc tank with the lawnbots cade, What are the en1 and en2 connections for?
im having trouble getting my bluetooth bot to work can please send a more detailed list of instructions so i can get mine to work I used a(n) arduino uno, bluetooth mate silver and a motor shield please respond soon <br>
Is that the linus line bot in tthe pics?
where do you get the tracks from
hey is it possible to do this with a ps3 controller without the computer at all?<br>thanks in advance <br>akinich

About This Instructable




Bio: I have always been one to take things apart to figure out how they work, so most of what I own has been dismantled. If ... More »
More by johndavid400:Arduino controlled Bluetooth-bot Core3duino Arduino R/C Lawnmower (painted) 
Add instructable to: