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.

Android RC Car

Android RC Car
«
  • Image-TPE-Couverture.bmp
  • TPE.png
  Hello and welcome to my second instructable, where we'll be modifying a cheap RC car to drive it with an Android smartphone over Bluetooth.
  Actually, this was my school project at the Lycée Jules Fil , so I had to produce a complete write-up. Unfortunately, it is in French, but if you want a really in-depth description of the system, and you understand french, you can download it HERE .

   I recommend that you read my first Instructable  for a more detailed explanation on how the thing works.

  The cost of following this instructable is something around 30~40$ if you already have the RC car.

  Disclaimer : In this instructable, you will be using dangerous chemicals (Acetone and Ferric Chloride) and dangerous tools (drill, saw, soldering iron,etc...). I can't be held responsible if you harm yourself following this guide. If you follow this instructable carefully, and protect yourself you won't get hurt.

  So, the RC car will be driven using the accelerometer sensor (like in iPhone/Android racing games) over bluetooth. For that, we'll be using an android app and arduino library named Amarino 2.0 . The system works a little bit like that : 

Accelerometer 
           |
           |     I²C
          \ /
Android Smartphone
           |
           |     Bluetooth
          \ /
Arduino
          |
          |     PWM / simple logic
         \ /
H-Bridge
          |
          |  
         \ /
Rear motor + Dir motor


Dont forget : If you liked my Instructable, please rate it , and let me know in the comments what you think about this Instructable, and what I could do to make it better ! Thanks !

Below is a little video demo :
 
Remove these adsRemove these ads by Signing Up
 

Step 1Required Stuff

Required Stuff
«
  • HPIM6840.JPG
  • 2011-05-07_14-15-26_997.jpg
  • HPIM6830.JPG
  • HPIM6846.JPG
  • HPIM6849.JPG
  • HPIM6836.JPG
Required tools:

- solder iron with fine tip
- tiny solder wire
- good magnifying glass
- "Third hand" helping tool
- small drill press with small bits (~0.02 inch)
- good soldering skills
- hacksaw (used for cutting and shaping the pcb)
- 400 grit sandpaper (otionnal, used for smoothing rough edges after cutting the pcb)
- latex gloves
- Laser Printer (for the Toner Transfer method )
- iron (used to transfer the toner on the pcb)

Required chemicals:

- copper etchant (I use Ferric Chloride)
- Acetone

Required Parts:

- Arduino
- cheap RC car
- Android smartphone
- Bluetooth serial adapter
- 10k and 20 kOhm resistors
- 9V battery or LiPoly 2S (7.4V) battery or 7~8v RC battery pack (Using a rechargeable battery is MUCH better)
- small wires (IDE cable style, see the photo)
- 28 break away headers
- L293E H-Bridge  (or any 16-pin L293 variant)
- 16-pin DIP socket
- 9v battery clip
- blank PCB (Printed Circuit Board)
- magazine paper (for the Toner Transfer)

Required Software:

- Arduino IDE : get it here .
- Eagle CAD freeware edition : get it here .

Now that you have gathered all this stuff, let's go to step 2.
« Previous StepDownload PDFView All StepsNext Step »
62 comments
1-40 of 62next »
May 22, 2012. 4:19 PMsyanikog says:
Hey I got the car working twice with this tutorial. I then tried to rewire it and have not been able to get it working again. I replaced the fresh 9v battery with a rechargeable one. Is there any chance I burned out my L293E by putting it in wrong? i imagine putting it in backward wouldn't change much, just switching from 9V to 5V right? I also tried putting my bluesmirf module on 5V instead of 3v3 as well as grounding through the battery and arduino board and didn't find anything different. Do you know any simple ways to test my L293E? I think my phone is connecting and sending a signal (I just tested it with a servo).
May 5, 2012. 8:30 PMHarsh298 says:
can i use ATMega168 (Based on Arduino Diecimila) pls reply me fast
Apr 30, 2012. 2:54 AMmmitkovski says:
Why I'm getting "beep" sounds ?
Thanks
May 3, 2012. 4:58 AMmmitkovski says:
Yes, but why ?
Apr 13, 2012. 1:22 PMmmitkovski says:
How to put IC ? What is the correct position, which side to be up, which down ? Thanks
Mar 24, 2012. 8:02 PMReal_Neo says:
I'm getting a compile error with your code

"In file included from RCdroid.cpp:6:
C:\Arduino\arduino IDE\libraries\MeetAndroid/MeetAndroid.h:104: error: conflicting return type specified for 'virtual void MeetAndroid::write(uint8_t)'
C:\Arduino\arduino IDE\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
"

Is it possible that they updated the Print.h library recently?
Mar 25, 2012. 5:10 PMReal_Neo says:
I found a solution, had to change the write function's return type in the MeetAndroid library. Also, with Arduino IDE 1.0 they changed some library names, so they should be updated in the MeetAndroid version you have posted here.
Jan 17, 2012. 2:17 PMbjpayton04 says:
Hey,
The code I wrote would not work properly with my project. I used your code to for my project and it worked to a certain extinct. The car tries to go forward, however, I have trouble with the left and right control. Could you help.
Jan 3, 2012. 2:25 AMfjohn says:
sorry i still didnt read the instructable before asking so no need to reply!
Jan 2, 2012. 2:20 AMfjohn says:
what is the D1 D2 M1 M2 in the schematic?
Dec 31, 2011. 11:55 PMfjohn says:
can u give me the schematics?? all the wiring coz im not gonna make a pcb... ill try it out on a breadboard so pls??
Jan 2, 2012. 2:03 AMfjohn says:
sorry (again but i was downloading it while i was typing it ... my mistake ...and thanks ...coz ur the one and only person who replies to my every need all other people would just not reply ...(because i ask a lot of questions!!!as u can see) ur a nice guy ( take it as a comliment) i respect u and i hope i can ask any more questionssssss????????????? THANK U!!!11
Dec 8, 2011. 3:22 PMAmir.Cekic says:
Ur Car is great but Can u tell how to connect the solenoid to the Arduino and How to connect the DC motor to the arduino. Tell me where to put the cables and what kind of wires do i need plz hhelppp me
Dec 8, 2011. 3:27 PMAmir.Cekic says:
and if i downlaod the PDF does it tell me Step by step how to make the RC car
Dec 4, 2011. 12:23 PMtechboy411 says:
Do you need an app or BT to use this
Dec 3, 2011. 1:12 PMtenaciousRas says:
This is a a great step-by-step!

If you decide to solder this type of Bluetooth module in this way, be very careful, and use flux! I've broken a couple of modules using this method. The connections on the side of the module are fragile, and if the wires are pulled in any way, the connections on the board are likely to break off. I ruined one module/board just by putting too much heat on the terminals while soldering and they fell off. Since I didn't use flux, the solder was refusing to stick, and it forced me to apply to much heat. On another board I was able to get the wires soldered, but then the power wire broke with some very light touches, and the exposed copper terminal came with it.

It might be better to create a footprint for this module on the board that we etched in earlier steps. Then we could place the module on our etched board and just drop solder on the terminals that are needed. It's obvious why the author didn't choose this approach. Doing so would make this Instructable less-usable, because the Eagle file would have this board's footprint on it, and that would mean users would have to purchase the exact same module (which might be difficult to acquire, or out of production).

In conclusion, if you solder the wires to this type of module as shown in the photo, be very careful both during and after soldering, and use flux to get the solder to bond efficiently!
Nov 23, 2011. 5:08 PMvnovachki says:
Where are used input pins from Arduino (D8,D9,D11,D12) ? I can see that they are connected with input of IC , but are they used (at Arduino code, or anywhere) ? Thank you!
Nov 23, 2011. 4:13 PMmmitkovski says:
Can I use this tutorial to build a helicopter? Or that toy has a more motors? Thanks
Nov 7, 2011. 9:33 AMbjpayton04 says:
Wanting to do this project but Im running into some problems. I have a Samsung Captivate(ATT) and I cant seem to connect my bluesmirf to my phone. I am able to pair but not connect. Another question, does anyone know how far the Bluesmirf gold will allow you to go? Im doing this as a project/gift and for the project part I was told that my phone needs to be able to shutdown the rc car when it is out of range? Help please! I have less than a month to do such a project. Thanks in advance
Nov 7, 2011. 9:47 AMbjpayton04 says:
Also, with my android it will not allow me to download Amarino to my cellphone it only allows apps from the Android market. Any ideas as to how I can get this toolkit on my phone?
Nov 10, 2011. 7:53 AMbjpayton04 says:
Hey,
Well Ive tried for more than an hour or so to get the time control loop to work. I worked on it over the past two days. Could you show me the updated code and I will use it to try and write one myself. Thanks ARI
Nov 11, 2011. 8:20 AMbjpayton04 says:
Is that code you sent me written to support the bluesmirf? Had a little difficulty when I loaded it.
Nov 11, 2011. 10:13 AMbjpayton04 says:
It uploaded fine to my arduino, but I had trouble with sending signals from the phone. Will try to fix it though. And let you know how it works out. I have one last question concerning this project. Making a battery pack has never been something Ive excelled at. did you use a voltage regulator to run your rc car?
Nov 16, 2011. 9:09 AMbjpayton04 says:
Hey,
I hate to bother you but I have been running into this problem. I downloaded the Amarino toolkit to my tablet and when I try to add an event it crashes, did this with my phone also. Did you encounter this problem? Thanks
Nov 17, 2011. 12:10 AMbjpayton04 says:
I tried it with my toshiba tablet. It runs 3.1 version
1-40 of 62next »

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!
37
Followers
4
Author:a1r(A1Rstudios.com)
My name is Jonathan Rico, I'm 17, I'm french and I live in Morocco near Casablanca. I'm in Terminale S (French equivalent to 12th grade) at the CNED (homeschool, but controlled by the french governmen...
more »