Introduction: Arduino Bluetooth RC Car

This project is about a car that is controlled via Bluetooth.

Step 1: Collecting the Items Required

Parts

  • (1 )Arduino UNO
  • (1) Arduino Motor Shield (Funduino)
  • (1) HC-05 Bluetooth module (Slave)
  • Jumper Wires
  • (2) Robot Wheels
  • (1) omni Wheel
  • (1) Base to mount the parts (in my case i have got a wood plank 10.5cmx14cm)
  • (1) relay sheild or my relay circuit (link below)
  • 12v power source

https://www.instructables.com/id/Arduino-Relay-conn...

Step 2: Assembling the Components

Now that we have all the components we connect the motor shield to the Arduino.I did a small trick to connect the RX and TX pin to the motor shield because mine didn't have female pin headers. I took two small female pin headers and soldered to my motor shield.

Next we have to mount the Arduino to the base of the car then mount the motor sheild on top of it. Next mount the Bluetooth module on the base remembering the Vcc,GND,RX and TX pins by noting it down.

Next mount the omni wheel onto the base and the dc motor robot wheels too.

Then connect the dc motors to the M1 and M2 ports of the motor shield.

Thereafter connect the RX pin in the module to the TX pin of Arduino and TX pin of module to RX pin of Arduino.

Lastly connect the relay circuit i made to digital pin 6 so that we can switch on the front light via Bluetooth.

Step 3: Coding and the Android Apk

Before uploading the code remove the 5v or RX and TX pins from the arduino which is connected to the Bluetooth module because there would be problems in uploading the code if not.

Go to play store and download the "Arduino Bluetooth RC Car" apk or scan the Qr code to download easily and install it switch on the car and connect the module using 1234 as the password

Enjoy!!!

Comments

author
abhi89ban (author)2017-06-17

is the "relay" necessary for this project ..?

author
shazf (author)abhi89ban2017-06-30

no i added it coz of the 12v Led strip light!

author
niksoo (author)2017-01-05

Hi, amazing project, I'm trying to build it, but is it possible to use an HC-06 BT module? Becuase I'm trying to use that, but when I try to connect to it with my phone, the blinking on the module stops (as if there is somekind of connection) but none of the commands in the mobile app work. What could be the problem?

Thank you :)

author
shazf (author)niksoo2017-01-05

dd you connect the wires properly... and dd you upload the code after removing Tx and Rx pins?

author
niksoo (author)shazf2017-01-05

Yes I have soldered 2 cables on the motor shield just like in the project (above 0 and 1 which are the RX and TX on the arduino),next I have connected the RX from the shield to the TX on the BT module (also TX to RX).
And yes I have removed the TX and RX when uploading the code, I had no trouble uploading it.
The problem is that when I try to connect with my phone, it shows that it's connected (BT module not blinking+green circle in the app), but it doesn't react to any commands (forward,backward,etc...)
I've attached a picture. Can someone please help?
Thank you :)
PS: it's not the same like in the project, for example I don't have lights.

author
shazf (author)niksoo2017-01-07

no the problem could be the fact that the app is programmed for only HC-05 modules or try changing the baud rate to 9600.

author
niksoo (author)shazf2017-01-08

I have changed the baud rate in the code but it is still not working

author
shazf (author)niksoo2017-01-09

9600, 14400, 19200, 28800, 38400, 57600, or 115200 try using those baud rates

author
niksoo made it! (author)2017-01-05

Here is the photo.

IMG_1235.JPG
author
kfrdk (author)2016-10-17

Hi, fantastic project. I didn't understand where battery pack is connected to. Thank you!

author
shazf (author)kfrdk2016-12-19

hehe.. its connected to the arduino!

author
rukenhmd (author)2016-12-17

why my code is not uploding?????? just saying '''error compiling for board arduino genuino uno'' plz... help me

author
shazf (author)rukenhmd2016-12-19

hey remove the tx and rx connections from the Bluetooth module to the arduino and then upload the sketch and the re-connect the pins after uploading!

author
SpecialRobotBuilders (author)2015-06-18

Thanks for sharing. Did you write the "Arduino Bluetooth RC Car" apk? If so, can you include the source code for it as well?

author

sorry I didn't make it,it was in play store