Arduino Bluetooth RC Car

17,084

56

16

Intro: 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!!!

Share

Recommendations

  • Plastics Contest

    Plastics Contest
  • Optics Contest

    Optics Contest
  • Audio Contest 2018

    Audio Contest 2018

16 Discussions

0
None
ivsa

1 year ago

Is this possible with 4 robot wheels instead of a omni wheel at the front? Thanks in advance!

1 reply
0
None
shazfivsa

Reply 1 year ago

Yes of course you can!

0
None
shazfabhi89ban

Reply 1 year ago

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

0
None
niksoo

1 year ago

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

5 replies
0
None
shazfniksoo

Reply 1 year ago

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

0
None
niksooshazf

Reply 1 year ago

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.

0
None
shazfniksoo

Reply 1 year ago

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.

0
None
niksooshazf

Reply 1 year ago

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

0
None
shazfniksoo

Reply 1 year ago

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

0
None
kfrdk

1 year ago

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

1 reply
0
None
shazfkfrdk

Reply 1 year ago

hehe.. its connected to the arduino!

0
None
rukenhmd

1 year ago

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

1 reply
0
None
shazfrukenhmd

Reply 1 year ago

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!