Introduction: Arduino Bluetooth RC Car W/ Electronic Braking System

This is how to make an RC car for around 40$(27$ w/ uno clone).

Step 1: Parts

1. An Arduino Uno(from Amazon), Micro, Mega, Duo, or Leonardo.($5.99 Uno clone)

2. Robot platform.

3. L298n Motor driver.

4. Hc-06 bluetooth module.

5. 9v battery.

6. 9v battery holder.

7.Android device.

Software:

Arduino IDE

Arduino Bluetooth RC Car

Step 2: Programing

Here is the code:

Step 3: App

The app is simple, UP, DOWN, RIGHT, LEFT, UPRIGHT etc. ,also a slider. Arduino Bluetooth RC Car website.

Requires Android

2.3.3 and up.

Step 4: Wiring

Wire the robot as above, then it should be ready.

Thank you for reading.

Have fun!

Comments

author
BasimE made it!(author)2015-09-17

Excuse but how can you fit more than one jumper wire into the arduino's pins? (I have never worked with arduino)

author
Sumanth+R made it!(author)2015-10-17

join the wires at the middle and make only one pin of 2 wires and connect to arduino

author
BasimE made it!(author)2015-09-17

Also can I use 4 1.5v batteries with 1500 mAh?

author
Owen_soo made it!(author)2015-09-19

6 will work, actually better than a 9v.

author
Owen_soo made it!(author)2015-09-19

If you mean powering the arduino, you can buy a 9v snap that fits in the power plug,

or wire it diffrent:

FNZ1OU6IE7J7E7G.jpg
author
m.tech.s3 made it!(author)2015-09-12

Are u sure it will works with that 9V battery ? and how much ampere does it supply ?

author
Owen_soo made it!(author)2015-09-13

It runs for around 15 minutes, and the batteries can supply 300mah(nimh). Li-ion batteries voltage is to low, as it cuts out at about 7.5 volts.

author
Slk_Stephane made it!(author)2015-09-08

I have 12v 1.3Ah. Will it work fine or will it destroy my arduino or l298n

author
Owen_soo made it!(author)2015-09-12

An uno theoretically can take 6-20v(7 - 12v recommended) but to be on the safe side

I would put a resistor in the circuit, like this: (your l298n will be fine):

Untitled Sketch_bb.jpg
author
RajatB13 made it!(author)2017-06-21

can i use promini?

author
Auroore made it!(author)2017-05-25

Hi!

Can you help me please? I have a problem with the overturning of the program. It's write:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

So I can't upload, it's a big problem.

Thanks for your help!

PS: Excuse me for the grammar, I'm french and my level englsih is low.

PS: Congratulations for this project, is fantastic ;)

author
binaryhub made it!(author)2016-12-19

I also made this one; but i changed the circuit diagram a little bit..
~thank you

car.JPGcircuit_diagram.jpg
author
ftnnabihahS made it!(author)2017-02-26

Hi. Can you email me this project of your version

author
binaryhub made it!(author)2017-03-01

sure!! give me your email address please.

author
owensoo made it!(author)2016-12-26

(: Awesome! Keep it up guys I don't have much time so I can't post much :/

author
fossoknu000 made it!(author)2017-01-17

I am having trouble getting the car to respond with the app. the app says connected but nothing works. I have uploaded v 4.0 code to aurdino. plz help!

author
kartikRAO made it!(author)2016-08-06

Can I use L293D instead of your motor driver. Is there any change in code.

author
owensoo made it!(author)2016-12-26

I don't think so. (:

author
jekob made it!(author)2016-09-04

sorry but my l298n can't move the dc motors. what I have to do?

author
owensoo made it!(author)2016-12-26

Well can you see if there is a wire lose?

author
shantanu+bhowmick made it!(author)2016-09-13

sir can you send me full procedure of bluetooth car building and executing the code.

author
owensoo made it!(author)2016-12-26

I am sorry I just don't have time but there are some good tutorials out there of the code building so you can look at those -->

https://www.arduino.cc/en/Guide/HomePage

author
srinjay_2008 made it!(author)2016-10-09

Hi Owen,
I have made this project with the help of your tutorial.It is working with the android app but when I press the forward button in the app only one motor rotates. Also when I press the back button then both the motor work. Please help me to understand why both the motors donot work at the same time. Please Help.......

author
owensoo made it!(author)2016-12-26

I think a wire from the arduino to the moter driver is lose

author
AndreasO1 made it!(author)2016-11-20

Was easy to build and funny to play with it! Thank you.

DSC_0336.JPG
author
casman72 made it!(author)2016-08-08

Proyecto terminado, la unica pega que encontre, fue la conexion del modulo bluetooth, que va cruzada el tx con el rx

IMG_20160808_203332.jpgIMG_20160808_224812.jpgIMG_20160808_224842.jpgVID-20160808-WA0001.mp4VID-20160808-WA0002.mp4
author
casman72 made it!(author)2016-08-08

Proyecto terminado, la unica pega que encontre, fue la conexion del modulo bluetooth, que va cruzada el tx con el rx

IMG_20160808_203332.jpgIMG_20160808_224812.jpgIMG_20160808_224842.jpgVID-20160808-WA0001.mp4VID-20160808-WA0002.mp4
author
Kalaru made it!(author)2016-07-23

When I use the code ''bluetoothcar4.0.ino'' will I be able to add lights which can be controlled by the app (which it shows we can in the app).Does the code for bulbs contains in the code "bluetoothcar4.0.ino"?If so how can I connect the LED bulbs with the Arduino? or if it does not contain the code,how can I add it to the existing "bluetoothcar4.0.ino" code? and the code please.

waiting for the reply.

Thankyou

author
Owen_soo made it!(author)2016-07-23

Yes, I will update the code (someday), any way, here's the code:

// replace the void loop with this

void loop() {

if (Serial.available() > 0) {

command = Serial.read();

Stop(); //Initialize with motors stoped.

switch (command) {

case 'F':

forward();

break;

case 'B':

back();

break;

case 'L':

left();

break;

case 'R':

right();

break;

case 'G':

forwardleft();

break;

case 'I':

forwardright();

break;

case 'H':

backleft();

break;

case 'J':

backright();

break;

case '0':

Speed = 100;

break;

case '1':

Speed = 140;

break;

case '2':

Speed = 153;

break;

case '3':

Speed = 165;

break;

case '4':

Speed = 178;

break;

case '5':

Speed = 191;

break;

case '6':

Speed = 204;

break;

case '7':

Speed = 216;

break;

case '8':

Speed = 229;

break;

case '9':

Speed = 242;

break;

case 'q':

Speed = 255;

break;

case 'W':

digitalWrite(13, LOW);

break;

case 'w':

digitalWrite(13, HIGH);

break;

}

Speedsec = Turnradius;

if (brkonoff == 1) {

brakeOn();

} else {

brakeOff();

}

}

}

//end of code

then attach your led(s) to pin 13 and Gnd.

Thank you.

author
smit01 made it!(author)2016-05-13

can a hc-05 module be used

author
Owen_soo made it!(author)2016-07-04

Yes.

author
AsadA50 made it!(author)2016-05-14

i like it

author
Owen_soo made it!(author)2016-07-04

Thank you.

author
KennethM85 made it!(author)2016-04-30

my wheels dont move when i try moving it on the bluetooth application. im providing power through the arduino usb cable to laptop to test. im using the same components except the 9v connector when im testing this. im assuming there is not enough power for the wheels to turn and i need to hook up a 9V battery for it to properly work?

author
Owen_soo made it!(author)2016-07-04

Hello, sorry for the late reply. Yes, you do need the 9v for the motors to spin, or any

7v-12v supply.

author
smit01 made it!(author)2016-05-13

I have the same problem

author
NyanHtetAung made it!(author)2016-06-06

i have the same problem

author
Juan+AntonioP4 made it!(author)2016-06-14

no puede leer mi arduino ide carbt.fzz como lo habro y si es nesesario

author
AsadA50 made it!(author)2016-05-14

i want to make such a car

author
AsadA50 made it!(author)2016-05-14

i want to make such a car

author
AsadA50 made it!(author)2016-05-14

i want to make such a car

author
shivamsingh67890 made it!(author)2016-05-05

which code is to be used

# bluetoothcar3.0.ino.ino

or

# bluetoothcar4.0.ino.ino

author
Owen_soo made it!(author)2016-05-11

bluetoothcar4.0.ino

author
Faic0n. made it!(author)2016-03-15

When I run the robot moves without pause when I click and ceases to press it continues to move

author
owensoo made it!(author)2016-04-19

So, if you turn it on it drives forwards no matter what?

author
Faic0n. made it!(author)2016-04-25

yes

author
Owen_soo made it!(author)2016-04-26

Try double checking your wiring?

author
leena+vora made it!(author)2016-04-06

The code is not proper

author
Owen_soo made it!(author)2016-04-24

Do you have any suggestions?

author
sanjith.tt made it!(author)2016-04-02

i did it and it is eay to follow your instructions. this is my first arduino project.,it amazing.thank you