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):

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

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

AbidH20 (author)binaryhub2017-12-12

hey can i have your code and design of your version

binaryhub (author)AbidH202017-12-14

design was given in my last comment, and the code is similar which is given in this project's 2nd step (Bluetoothcar4.0.ino).

~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 :/

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

TomekR5 (author)Auroore2017-12-06

Did u solve this problem? Maybe u remember how?

Auroore (author)TomekR52017-12-06

No sorry, I am always looking for the solution

TomekR5 (author)Auroore2017-12-11

Yes

Program get into arduino but car doesnt work :/
I download app on the phone but nothing happen

Auroore (author)TomekR52017-12-12

Oh for me this is the same, the robot not function :/

Auroore (author)TomekR52017-12-07

The wires of mounting must not be plugged in when you put the program on the Arduino board. I think that was the solution to my problem.

Auroore (author)TomekR52017-12-07

The wires must not be plugged in when you put the program on the Arduino board. For me it was that.

Tell me if it your problem :)

TomekR5 (author)2017-12-06

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

Problem z wgrywaniem na płytkę. Sprawdź http://www.arduino.cc/en/Guide/Troubleshooting#up... w poszukiwaniu sugestii.

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

I dont get it can u help me? I used ur code

HasanE13 (author)2017-11-28

okadar baktım tükenmiş.bitmiş bi yardım edermisiniz

HasanE13 (author)2017-11-28

robot pilatformunu nerden adınız

Artwork53 (author)2017-11-11

good day! in your diagram, the rx pin is not connected to the tx of the arduino? will it work or it is just a mistake?

CarlosJ74 made it! (author)2017-10-24

hola mira soy un joven que está haciendo un carro con un puente h distinto un l293d, con el mismo programa de control pero no usado para todo lo que pueda ayudar con la programación y el esquema del sirquito utilizo arduino 1 un módulo bluetooth y quisiera ayudarme con los motores de la dirección y el futuro y atras mi correo es carlosjaviergarzonpinzon@gmail.com telo agrade seria espero tu respuesta

muchas gracias

miste es el puente que en este caso estoy hablando de un requisito de mi profe y los motores que estoy utilizando

pushya jain (author)2017-10-17

For an arduino bt car project, u have made it quite simplistic but I am still having some problem with the transmission as everything is connected event the bluetooth but when i use the app to control the arduino car (for example forward) it does not work, i even tried the serial monitor but the motors do not move/turn. Thanks a lot.

RajatB13 (author)2017-06-21

can i use promini?

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

About This Instructable

32,335views

268favorites

More by Owen_soo:Arduino Bluetooth RC car w/ electronic braking system
Add instructable to: