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
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!!!
16 Comments
6 years ago
Is this possible with 4 robot wheels instead of a omni wheel at the front? Thanks in advance!
Reply 6 years ago
Yes of course you can!
6 years ago
is the "relay" necessary for this project ..?
Reply 6 years ago
no i added it coz of the 12v Led strip light!
6 years 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 :)
Reply 6 years ago
dd you connect the wires properly... and dd you upload the code after removing Tx and Rx pins?
Reply 6 years 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.
Reply 6 years 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.
Reply 6 years ago
I have changed the baud rate in the code but it is still not working
Reply 6 years ago
9600, 14400, 19200, 28800, 38400, 57600, or 115200 try using those baud rates
6 years ago
Hi, fantastic project. I didn't understand where battery pack is connected to. Thank you!
Reply 6 years ago
hehe.. its connected to the arduino!
6 years ago
why my code is not uploding?????? just saying '''error compiling for board arduino genuino uno'' plz... help me
Reply 6 years 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!
8 years ago on Introduction
Thanks for sharing. Did you write the "Arduino Bluetooth RC Car" apk? If so, can you include the source code for it as well?
Reply 8 years ago
sorry I didn't make it,it was in play store