Introduction: Arduino Bluetooth RC Car W/ Electronic Braking System

Picture of 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

Picture of 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

Picture of Programing

Here is the code:

Step 3: App

Picture of 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

Picture of Wiring

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

Thank you for reading.

Have fun!

Comments

BasimE (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)

Sumanth R (author)BasimE2015-10-17

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

BasimE (author)BasimE2015-09-17

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

Owen_soo (author)BasimE2015-09-19

6 will work, actually better than a 9v.

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

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

or wire it diffrent:

m.tech.s3 (author)2015-09-12

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

Owen_soo (author)m.tech.s32015-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.

Slk_Stephane (author)2015-09-08

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

Owen_soo made it! (author)Slk_Stephane2015-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):

RajatB13 (author)2017-06-21

can i use promini?

Auroore (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 ;)

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

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

ftnnabihahS (author)binaryhub2017-02-26

Hi. Can you email me this project of your version

binaryhub (author)ftnnabihahS2017-03-01

sure!! give me your email address please.

owensoo (author)binaryhub2016-12-26

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

fossoknu000 (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!

kartikRAO (author)2016-08-06

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

owensoo (author)kartikRAO2016-12-26

I don't think so. (:

jekob (author)2016-09-04

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

owensoo (author)jekob2016-12-26

Well can you see if there is a wire lose?

shantanu bhowmick (author)2016-09-13

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

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

srinjay_2008 (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.......

owensoo (author)srinjay_20082016-12-26

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

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

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

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

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

Kalaru (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

Owen_soo (author)Kalaru2016-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.

smit01 (author)2016-05-13

can a hc-05 module be used

Owen_soo (author)smit012016-07-04

Yes.

AsadA50 (author)2016-05-14

i like it

Owen_soo (author)AsadA502016-07-04

Thank you.

KennethM85 (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?

Owen_soo (author)KennethM852016-07-04

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

7v-12v supply.

smit01 (author)KennethM852016-05-13

I have the same problem

NyanHtetAung (author)smit012016-06-06

i have the same problem

Juan AntonioP4 (author)2016-06-14

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

AsadA50 (author)2016-05-14

i want to make such a car

AsadA50 (author)2016-05-14

i want to make such a car

AsadA50 (author)2016-05-14

i want to make such a car

shivamsingh67890 (author)2016-05-05

which code is to be used

# bluetoothcar3.0.ino.ino

or

# bluetoothcar4.0.ino.ino

bluetoothcar4.0.ino

Faic0n. (author)2016-03-15

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

owensoo (author)Faic0n.2016-04-19

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

Faic0n. (author)owensoo2016-04-25

yes

Owen_soo (author)Faic0n.2016-04-26

Try double checking your wiring?

leena vora (author)2016-04-06

The code is not proper

Owen_soo (author)leena vora2016-04-24

Do you have any suggestions?

sanjith.tt (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