Introduction: Arduino Bluetooth RC Car (Android Controlled)

Picture of Arduino Bluetooth RC Car (Android Controlled)

Hello, in this project I will show you how to transform an RC toy car to Bluetooth controlled through your Android smartphone!

Before starting, make sure that you have:

  • Arduino uno board
  • L293D motor driver
  • HC-06 Bluetooth module
  • RC Car that can fit all the above !

Optional you will need:

  • 1M & 100K resistor for battery level
  • 4x leds for lights
  • 1x speaker/buzzer for horn sound

For power, you can use the existing batteries (4x 1.5V AA), or replace them with a LiOn rechargeable battery pack.

(I used 12V LiOn rechargeable battery pack)

Official page: http://www.ardumotive.com/bluetooth-rc-car.html

Step 1: Remove the Existing Rc Circuit

Picture of Remove the Existing Rc Circuit

Before starting, remove the existing rc circuit. You will not need it any more... you will make a better one from the beginning with Arduino uno ;)

Now, with one battery AA 1.5V you must find the polarity of 2 c motors.

  • For movement motor (back side) the positive polarity cable will be that moves the car forward.
  • For direction motor (front side) the positive polarity cable will be that moves the wheels left.

Step 2: Breadboard Schematic

Picture of Breadboard Schematic

Ι suggest you to build your circuit on (small) breadboard first.

You can use on/off switch of car like this:

Battery +........./ .......... Arduino Vin

Tip

If you have a "big" rc car it will need more power so you can use L298 module board. L293D motor driver will give max 0.5A per channel and it will be come very hot after while. L298 module board has a heat sink and can give 1A per channel, but is bigger than L293D.

Step 3: Code

Download and open file with Arduino ide. Read every line of code (+comments) to understand how it's working and then upload it to your Arduino uno board!

(for programming arduino uno board you must disconnect first the RX & TX pins of Bluetooth module)

Step 4: Android Bluetooth Controller

Picture of Android Bluetooth Controller

To control your new Bluetooth car, download and install this android application:

http://www.ardumotive.com/bluetooth-rc-car.html

Tip

First enable Bluetooth and establish connection with BT module.
(ex. HC-06, password 1234)
Use "Help & info" button if you can not understand how it is working.

Accelelometer function is under developing, use with attention!

If you have problem with this app on your android device you can also use this one.

Step 5: Video of My BT ArduiCar

Video is in Greek language but I believe that you can understand it...

Thanks for watching!!!

Remember that Bluetooth technology will give you max 15-20 meters of control.

Follow - Comment - Share

Comments

PranavP62 (author)2017-11-07

I m using L298N H bridge and i cannot figure out the the changes in circuit diagram and the code. Any help would be appreciated.

CarlosJ74 (author)2017-11-03

1. yo quiero hacer uno esaptamente igual me podrías ayudar calosjaviergarzonpinzon@gmail.com

enviame el esquema y las conexiones


Hamza Qurayshi made it! (author)2017-10-28

Hi everyone if you have any question feel free to ask or contact me

anand shaurya (author)2017-10-01

My motor not works, it's trill and stop. Why

Jai akash (author)2017-09-16

Pls send this project pdf to bairavaa1010@gmail.com

Jai akash (author)2017-09-16

Can I use 9v rechargeable battery.pls reply fast

mohamed26.7.1996 (author)2017-07-30

what is the code that i should write to control in the car speed by two motor only without motor driver?

thanks ^_^

ulven_brud (author)2017-07-27

By any chance would the code need changing in the case of rev3 arduino motorshield? Thank you :)

djreaper (author)2017-07-17

Hi. car working but motors are slow why? I Use 12v battery and l293D without leds. THANKS

hazwanh3 (author)djreaper2017-07-20

because u need a motor shield to control the speed motor

HariN27 (author)2017-06-29

bro i want to add a ultrea sonic [distance sensoer] to the same code that is the car will stop automatically when objects come naear 2meters,plz pm me harinadh.38@gmail.com

JomarM3 (author)HariN272017-07-08

could you kindly send this also to me? i am also planning to add the ultrasonic sensor :) thank you, my email is jmangubat528@gmail.com

HariN27 (author)JomarM32017-07-14

if isuccess i will send u

loaia2 (author)2017-07-12

Hey Where's The AFMotor.h ?

RajatB13 (author)2017-06-22

can i use arduino promini?

Ardumotive_com (author)RajatB132017-06-22

Yes you can use any Arduino board you want

RajatB13 (author)Ardumotive_com2017-06-23

same code?

TomasN29 (author)2017-06-05

Could you send this project to karolis656@gmail.com ?

TomasN29 (author)2017-06-02

This project is amazing and working because another project not working now i am very happy.

PiotrK75 (author)2017-05-24

Is there a way to use uln2003 instead of L293D motor driverI received uln2003 as shop was out of stock with L293DAnd i was trying to figure out if i can control bboth enngines with one motor control,please help ;)

jupa1804 (author)2017-04-21

How can i do if i have a bluetooth module with 4 pins instead of 6?? please somebody can help me??

prudhvi05 (author)2017-04-21

​i made it. but couldn't get it to work. i made my motor driver with l293D on a solder bare board. i did not test what was wrong. I threw the entire project aside & the circuit diagram given by creator is incorrect as the 5v(output) of arduino could only supply a meager milliAmps from it. so it is impossible to supply HC-05 & L293D in parallel as current draw would be much Higher causing your on board Voltage Regulator to trip resulting in a board-reset.
&
I dont know if it was a short or a current drop on the arduino, when the signal is given to the L293D nothing happens & the LED (BUILTIN_LED) fades to the point, where the board gets reset.
I checked the circuit for continuity and shorts.. but everything was fine.
and even the L293D works as it should, when a 5v DC signal is applied to the Input pins. but, it wont work with the arduino.
(finally, I did not use the battery level) & (I used my own code)
Any Help would be Greatly Appreciated !!!

AreebaA4 (author)2017-04-13

slam! anyone plz help me... i want to make arduino bluetooth car with gears... and i dnt knw about the code for gears... plz help me this is my project... and how to construct... help me plz...

NicoP16 (author)2017-03-21

Hi all,

So I had this project working at one point, and then after months of storage it no longer functions. I can't seem to narrow down the issue, but it sounds like the L293d is not supplying enough current; the same issue I had when I first tried this. I forgot my solution to the issue. Any ideas? I can hear the internals of the motor moving, and I measured about 100mA, and significantly lower voltage at the l293d outputs.

Solution? Or perhaps the circuit diagram for the l298n?

GabrielG115 (author)NicoP162017-04-04

Hi nico I had the same exact problem as yours, the motors wasn't turning enough, and small current. So i replaced the L293d with the L2938n Motor Driver H bridge and it worked. It worked perfectly fine and the motors turned pretty good. Hope you got your solution now, if you got any questions just ask me bro.

NicoP16 (author)GabrielG1152017-04-11

Hi Gabriel,

How do you wire the L2938N in this whole configuration? Pictures please! I still want to try that.

My solution for this issue was abandon the Uno and any accessory bridges, and get yourself a DFRobot Romeo V2.2 R3. It's a physically larger board, but can handle so much more. So if the dimensions are right for your project, I'd say switch to the dark side ('cause the board is a dark color haha). Use the HC-06 as instructed above. Any questions on that solution, I'm happy to answer.

Rohan Pillai (author)2016-08-20

can i use hc-05 bluetooth module?

GabrielG115 (author)Rohan Pillai2017-04-04

Yes absolutly

Robotkuning (author)Rohan Pillai2017-01-08

Sure ..the difference only on the name of module that appear on your Android phone when pairing , if you can't connected , you must check the cable connection or change the baudrate , it just using 4 pins : tx , rx ,vcc & gnd other 2 pins on HC-05 no need connected on this project.

Yasar Sherpao (author)2017-01-10

I assign the same project by my teacher, but I have 12 volts motor in my vichle, plz guid me, will L293 motr drive my 12 volt motor if not then what I should do?

no the L293 doesn't has enough output current you justreplace it with the L2938n Motor driver H bridge.

Akash akon (author)2017-02-03

Can I use hc05 instead hc06 . It is of same wiring

GabrielG115 (author)Akash akon2017-04-04

yes you just don't connect the state and the other one. You don't need to connect those.

wenturi (author)2017-03-03

Any chance you can help me calculate resistor strength for 2x 3.7v batteries I will be using in my project?

madushan123 (author)2017-02-21

how to connect motorshiled l293D driver

anand shaurya (author)2016-09-26

can I use HC-06 in this project

Sure , just connect tx on HC-06 with rx on Arduino and rx on HC-06 with tx on arduino pinout ..Vcc HC-06 to Vcc Arduino and bound the negative /Gnd pinouts on Arduino , L293D & HC-06 together.

kartikRAO (author)2016-10-22

can I use L293D motorshield in this project.Would I require any change in code.

Robotkuning (author)kartikRAO2017-01-08

You can use L293D motorshield just follow the pin out on shield and connect to arduino same as breadboard diagram , it more easy and not require change the code.

ROHIT SINGHY (author)2016-12-23

i am using lm293d board so please tell me the connection

Robotkuning (author)ROHIT SINGHY2017-01-08

If you means L293D board then the conection just the same as breadboard diagram above , first you have recognize the name of L293D pin out , then look at pin out written on your L293D board , connect to the Arduino pin out as diagram . Don't forget to add power to your board via terminal power on your L293D board , or it motors won't move.

deksar (author)2017-01-06

Please tell me how to use l298 in place of l293d.. Please tell me the
circuit diagram.... please respond my question
Please give me the circuit diagram
U can mail me also madewira27@gmail.com thank you....

Robotkuning (author)deksar2017-01-08

You may look datasheet of L293D and L298 then compare both of pin out , such as Vcc , Gnd etc. Just find both datasheets on google , then connect the same pin out name with Arduino pin out on breadboard diagram

monusuthar2016 (author)2016-12-19

nice

anand shaurya (author)2016-11-24

Moter doesn't work properly could you remind my mistakes ?
Thank you

cosmotcat (author)2016-11-17

Thank you for this! It is EXACTLY (most of) the info I have been looking for. SO much more informative than just "how to turn an LED on or off."

Can't wait to get home now and tinker... uhh ... I mean ... 'create'.

RuthwikE1 (author)2016-10-22

pls reply asap,can we use HC-5 instead of HC-6

MohdK19 (author)2016-10-17

Please tell me how to use l298 in place of l293d.. Please tell me the circuit diagram.... I have asked u so many times but you are note responding
Please give me the circuit diagram
U can mail me also at shayankhan48@gmail.com

Dravidan (author)2016-10-09

how to control the speed of the motor

rubencoelho (author)2016-09-30

Hi i'm trying to making it to My final work of My course. I only works the buzzer ans the LEDs... Can anyone help me please? I made it equal, does it work with a standard motor?

About This Instructable

238,681views

118favorites

More by Ardumotive_com:MIKE - Arduino Line Following Robot for Beginners "GRECO" - Arduino Object Avoiding Robotfor BeginnersArduino 3D Printed Digital Thermometer With DHT-22 Sensor
Add instructable to: