Introduction: Arduino Bluetooth Controled RC Car

Picture of Arduino Bluetooth Controled RC Car

In this instructable I am going to show you how to make Bluetooth controled car with 2 DC motors.

Step 1: Materials

Picture of Materials

Materials:

1.2x DC motor

2.L298N (motor controler)

3.Arduino Uno (or clone)

4.HC-05 (bluetooth module)

Step 2: Chassis Editing

Picture of Chassis Editing

I cut off Middle plastic part and replaced it with wood, then I added 4x1.5V battery pack in the middle of it.

Step 3: Wiring Scheme

Picture of Wiring Scheme

Connect one motor to the OUT1 and OUT2 pins of L298N, connect second to the OUT3 and OUT4 pins.

Connect positive wire of batteries to +12V pin and negative to the GND of L298N, then connect same GND to GND of arduino.

Pins of HC-05 are conected to arduino like this: GND to GND; VCC to 5V; RX to TX and TX to RX.

Pins of arduino 8,9,10,11 are connected to IN1,IN2,IN3,IN4 of L298N.

Step 4: Connecting

Picture of Connecting

Connect wites like in prevous step.

Step 5: Upload Code to Arduino

Picture of Upload Code to Arduino

Connect your PC to Arduino and upload this code.

Step 6: Download App

Picture of Download App

You can download app here:

https://play.google.com/store/apps/details?id=com.buncaloc.carbluetoothrc&hl=en

Step 7: App

Picture of App

Turn on your car.

Open app, turn bluetooth on and connect it to the HC-05.

Step 8: Done

Picture of Done

Special thanks to "Srpska Nauka", he helped me build this car.

You can check his acaunt here:

https://www.instructables.com/member/Srpska+Nauka/

Comments

Rohan Pillai (author)2016-09-28

i bought all these items,

i wired according to given...

i uploaded the code...

i connected hc05 with my tab...

but the car make no respones...i is remained stationary

MahilF (author)Rohan Pillai2017-10-12

when u upload the code remove rx and tx cables and plug when u done upload the code

shibil mohammed (author)2017-09-06

thankzz...this is very helpfull...

TomasN29 (author)2017-06-01

Can you send this project pdf format to karolis656@gmail.com?

Same here can u send it to himipritmani@gmail.com ? thanks in advance :)

Artwork53 (author)2017-05-08

can i use the arduino bluetooth rc car app?

CarlosM175 made it! (author)2017-03-12

apenas ainda em versao de teste.

fraz sultan (author)2017-01-29

owsum site

CarlosM175 (author)fraz sultan2017-03-12

qual o link do site?

CarlosM175 (author)2017-02-05

no programa "APK" quais sao as portas do arduino para as luzes da frente e de tras?

zhixuan (author)2017-01-13

@Dzefri I met problems while uploading the files.. Please help me to solve it..

zhixuan (author)2016-12-21

Hi everyone, I am beginner to arduino. I don't know how the black wire from the battery can be separated into two. I don't know how to see the wiring schematic. anyone who know please reply me . thank you very much.

command123 (author)2016-12-18

can you change the code for a 2wd car.i mean there will be not left-right motor.car will turn right-left by using two motor same time

Rohan Pillai (author)2016-09-28

premkumawat i hope u can help me

pls pls pls prem help me

Rohan Pillai (author)2016-09-28

i stucked at middle

Rohan Pillai (author)2016-09-28

anybody pls pls pls help to built this

Rohan Pillai (author)2016-09-24

thanks

premkumawat (author)2016-09-06

really its working and a nice project

Rohan Pillai (author)2016-08-14

program code showing error...wat 2 do...

Da pillai
Kayari ange meyyuvaanallo

poda chekka

Rohan Pillai (author)2016-08-13

pls help ,is there any way to add camera...

Rohan Pillai (author)2016-08-13

I loved your project.I decided to do this at school,
Can i add a spy camera to it....?

rakugukukugu (author)2016-07-17

I have a problem on uploading codes and my system work when I plug it with my lapi

AkhilK21 (author)2016-04-29

i have a problem on uploading code

dimitrakis1992 (author)2016-04-04

Hello to everyone.check out my new project about Arduino
https://www.instructables.com/id/Simple-PS3-Arduino-Project/?ALLSTEPS

sanjith.tt (author)2016-04-01

my one motor is not working.even i have made the connections properly what could be the reasons.pls help me fast

muddog15 (author)2016-03-21

I've been searching for a way to do this with the l298n, this fit the bill, thanks!

kartikeyag (author)2016-01-28

can we connect two motor drivers with arduino uno r3

and do i have to change the program for L293d motor

can someone plzzz help me fast

nelson rai (author)2016-01-21

Can i get the bluetooth code??

pavgupta (author)2016-01-03

hey i have all the materials you have listed but i made my rc car with 3 motors

one for steering and two for back wheels power

also i used the L293D motor shield because i had three DC motors

any idea where i could get the code for that for the arduino uno

asadhamid (author)2016-01-02

i have made project of it but my motor is not working what can possibles problem can be????

dimitrakis1992 (author)2015-12-20

Hello, you have done excellent work.Congratulations! I have a question.If i use this motor controller it will work?http://www.dfrobot.com/index.php?route=product/pro...

and if yes i have to modify the code?Thanks in advance.

Dzefri (author)dimitrakis19922015-12-21

It should work, same wiring and code, I think that controller works same as my controller. :-D

dimitrakis1992 (author)Dzefri2015-12-21

ok man thank you.One last question.Can you explain to me these:

Motor1A is PWM?

Motor1B is Direction of the motor?

Motor2A is PWM?

Motor2B is Direction of the motor?

In other words, what variable is PWM and what is Direction?Thank you for your time.

abhithejv (author)2015-12-17

Amazing project

Dzefri (author)abhithejv2015-12-21

Thanks :-D

KevinGA270 (author)2015-12-07

is there any different wiring...?

Dzefri (author)KevinGA2702015-12-21

I think there is different wiring. :-D

kchovatiya (author)2015-12-19

can i use the first motor shield L293D the whole shield ? so for this can that code runs ?

Dzefri (author)kchovatiya2015-12-21

You can try, if it not works then you need to modify code. :-D

Marethno made it! (author)2015-12-07

I m using the very first motorshield, evrything works fine - there just one problem i cant figure out how to change it - you outputs in your code affecting my Servo outputs - i don t know how to change to M1 and M2 dc motor outputs - until now evrything works fine. BTW im using the Slave HC-066 BT module . runs great no problems with it!

Dzefri (author)Marethno2015-12-21

Great job man :-D

Dimitris Platis (author)2015-12-05

Great job! One question: Isn't there just one DC motor PLUS a servo motor?

Dzefri (author)Dimitris Platis2015-12-05

I used 2 DC motors but you can use one DC and one servo if you want. :-D

Dimitris Platis (author)Dzefri2015-12-06

Oh OK, the #include <Servo.h> in the beginning of the sketch confused me, but as I now see you don't use it anywhere. Hmmm, so I suppose you have one dc motor for each "side" of the car, correct? In the picture it seems that you have one motor in the back and one in the front. How do you turn the car if that is the case?

Dzefri (author)Dimitris Platis2015-12-06

One DC motor turn wheels left and right and it is at front, second DC motor make car go back and forward the one on back of the car.

Dimitris Platis (author)Dzefri2015-12-06

That is what I don't understand then. If it is NOT a servo motor, how do you tell the dc motor "turn the wheels X degrees to the right" for example?

Dzefri (author)Dimitris Platis2015-12-06

You can't. You can only tell which side you want to turn.

Dimitris Platis (author)Dzefri2015-12-06

Hi, I see! I am starting to understand your system now. One last question: When you apply voltage to the DC motor, it turns towards one direction. It tries to continuously rotate, however there is a maximum amount of degrees your wheels can turn/steer. How or when do you stop the dc motors from turning (stop supplying voltage to them in other words)? Or is it the case that you don't do that at all and they keep trying to rotate but they just can't?

About This Instructable

25,151views

259favorites

License:

Bio: I just like to make staf xD If you want to contact me just send me massage and I will give you my email.
More by Dzefri:Logo With Fading LEDsArduino Game "NIM"Tic Tac Toe for Nokia 5110
Add instructable to: