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 ads by
Signing UpStep 1: Required Stuff
- 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.















































Visit Our Store »
Go Pro Today »




In file included from RCdroid.pde:6:
C:\Users\jonathan\Desktop\installer arduino\Arduino\arduino-1.0.4\libraries\MeetAndroid/MeetAndroid.h:104: error: conflicting return type specified for 'virtual void MeetAndroid::write(uint8_t)'
C:\Users\jonathan\Desktop\installer arduino\Arduino\arduino-1.0.4\hardware\gizduino-\cores\gizduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
i already followed the instructions but i still i encounter this.plz reply ASAP
my e-mail id sunandsuresh92@gmail.com
how to operation..
u can explain
intdata[0] = int(data[0]);
intdata[0] = intdata[0] * 24;
tq...
a)
}
void setup() {
Serial.begin(9600);
Serial.println("\t\t\t.----------------------.");
Serial.println("\t\t\t| Starting Up.. |");
Serial.println("\t\t\t'----------------------'");
pinMode(EnablePinDir, OUTPUT);
pinMode(EnablePinMotor, OUTPUT);
pinMode(LogicPin1Dir, OUTPUT);
pinMode(LogicPin2Dir, OUTPUT);
pinMode(LogicPin1Motor, OUTPUT);
pinMode(LogicPin2Motor, OUTPUT);
delay(1000);
Serial.println("\t\t\t.----------------------.");
Serial.println("\t\t\t| PG-R Ready ! |");
Serial.println("\t\t\t| Have Fun ! |");
Serial.println("\t\t\t'----------------------');
meetAndroid.registerFunction(floatValues, 'A');
}
-what the function..Serial.println("\t\t\t");
b)
// ..===========================================..
// || ||
// || Control Algorithm Beginning here ||
// || ||
// ''===========================================''
// This is for Forward/Reverse
if (-10<=data[0]<=10) {
// Tilt-Proportional Speed
intdata[0] = int(data[0]);
intdata[0] = intdata[0] * 24;
-why multiple "24";
TQ..:)
The multiply by 24 is here to adapt the data (ranges from -10 to 10) being sent to the motor controller (which gets -240 to 240).
-240 to 240 range ??..current or voltan.
I weak in the program,new venture into this field..
but? there is still a problem if the wheel goes forward, backward, left and right making a sound "BEEP"??
Why is that?? Is there something slah with my chip? but I have replaced it with the new still reads "BEEP"?
https://www.google.com.my/search?hl=en&sugexp=les%3B&gs_rn=4&gs_ri=psy-ab&tok=8b3jCZ6JwvaPeqLAqMbVoA&pq=battery+saver+for+android&cp=13&gs_id=3w&xhr=t&q=battery+sell+oakville&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.42768644,d.bmk&biw=1241&bih=640&um=1&ie=UTF-8&tbm=isch&source=og&sa=N&tab=wi&ei=iCQpUZ2FA9GGrAe4koEY#um=1&hl=en&tbm=isch&sa=1&q=+nicad%2Fnimh+pack+&oq=+nicad%2Fnimh+pack+&gs_l=img.3...18648.22262.4.22668.6.6.0.0.0.0.104.411.5j1.6.0...0.0...1c.1.4.img.w-I75WiewUc&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.42768644,d.bmk&fp=5d827613dcf2ae72&biw=1241&bih=640&imgrc=XaOe-ChZCQnjCM%3A%3B9B-Ph5aLnzBzIM%3Bhttp%253A%252F%252Fi00.i.aliimg.com%252Fphoto%252Fv3%252F235775702%252FNICD_AA_9_6v_battery_pack.jpg_250x250.jpg%3Bhttp%253A%252F%252Fwww.alibaba.com%252Fproduct-gs%252F235775702%252FNICD_AA_9_6v_battery_pack.html%3B250%3B236
it says :
C:\Users\LaPtOp PuNoH\Desktop\mat\arduino-1.0\libraries\MeetAndroid/MeetAndroid.h:104: error: conflicting return type specified for 'virtual void MeetAndroid::write(uint8_t)'
C:\Users\LaPtOp PuNoH\Desktop\mat\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)
u must insert one libray android to sofware Arduino...
- Download the Amarino Arduino Library
- Extract it in your libraries folder : arduino_install_dir/libraries/extract_meetandroid.zip_here
asmuransyah:i see connect false..Motor d1 and motor d2,must connect parallel..
if you more disconcerted, check the circuit using circuit draw ..
Jonathan:I hope the tech is correct, if there are errors please show
The issue comes from the BT module: either it's a 5V module and he should remove the resistor divider (ONLY if it's a 5V module), either he's using a different baud rate (I really think this is the problem).
please help me ... I really need your help???
asmuransyah: I'm gonna need more info: does the car make the init sequence or not (first, check that the init isn't commented in the Arduino code). Does it complete the full sequence (all directions) or reset before that? Again, there's a good chance that your 9V batt isn't powerful enough: use NiCad/NiMh.
why motor not running..
Tq
i use ic l293d. and change l293b..same not respond motor...
Jonathan.?.thank you for guild me..
data sent from my phone .rc car not respond..u can guild me?
data sent from my phone .rc car not respond..u can guild me?