Bluetooth Controlled Robot Car

84,581

81

57

Introduction: Bluetooth Controlled Robot Car

About: Enthusiastic! Bussiness freak :P

were you always fascinated by RC cars ?

Ever wanted to make one yourself ? controlled by your own smartphone ? ----> lets start

So, hey guys, here in this project i have tried to make a Bluetooth controlled car with the help of Arduino. I have included each detail so you can understand it easily. Also you can watch the video which is more detailed. Watch it till end and you will learn to make it within 10 minutes.

I have added every circuit diagram and explanation possible to make it easy for you all to understand.

It is economical and is a good idea for your school / college project. You don't need any previous knowledge!

just follow this guide :P

Step 1: Materials Required

1. Any car chassis kit ( with BO motors, wheels and base )

I bought this kit- http://amzn.in/cMSnMTL

2. Arduino UNO

3. L298 motor drive

4. Hc-05 bluetooth module

5. two batteries ( I used Samsung 18650 rechargeable cell , 3.7V and 2600 mA both) Link: http://amzn.in/4j4RXI5

6. Jumper Wires

7. Electrical instruments ( Solder wire and iron )

8. mobile with bluetooth

Step 2: Solder All Motors & Attach Them to the Base

Solder each motor with a black and a red wire and attach them with the chassis as shown in the video.

join left side motor wires together as: red wire --> red wire and black wire --> black wire

similarly join motors on right side together as: red wire --> red wire and black wire --> black wire

Step 3: Join Wheels to All the Motors

don't apply too much pressure while pressing the wheels otherwise the chassis may get break.

Step 4: Join the Two Batteries in Series

Connect the batteries in series by joining with a tape. You can also keep a little piece of open wire between them so that they are well connected.

Now join red wire to positive terminal of battery and black wire to negative terminal.

Try to keep the voltage <= 9 volts. I used 2 batteries of 3.7 V so my total pack voltage was 7.4 volts. If you use to high voltage ( like >= 12 volts , there is a chance that your components will get heated and might burn )

If your batteries have more current rating- your motors will rotate fast. My battery current rating was 2260 mA which was enough to power 4 motors.

Caution: Don't accidentally connect positive terminal of battery to its negative terminal directly. It might burn your wires without any resistance.

Step 5: Connect Motors to Motor Drive

Join the red and black terminal of motors on each side, to the motor drive outputs.

Step 6: Connect Motor Drive to Arduino

Then join the four control pins of motor drive to the arduino 9th, 10th, 11th and 12th pin socket.

Step 7: Join Bluetooth Module to Arduino

Connect bluetooth module( BT ) HC-05 to arduino as shown in circuit diagram.

join BT module to arduino as: VCC --> 5V and GND --> GND

Step 8: Connect Motor Drive to Battery

Connect motor drive's power input socket, to positive and negative terminal of battery. also connect the negative terminal of battery to GND of arduino. Finally connect 3rd terminal to Vin of arduino.

You can also add a switch to start or stop the car as you wish.

Step 9: Upload the Code & Download the App

You can copy the code from here.

Now compile and upload the given code to the arduino.

Step 10:

After uploading, disconnect the arduino from pc.

Now connect Rx of Hc-05 to Tx of arduino and Tx of Hc-05 to Rx of arduino.

(do not connect these before uploading the code otherwise it may burn your arduino while uploading the code)

Finally, download the Arduino Bluetooth control app.

Step 11: Pair With Bluetooth Module

Start the Car. Check that the LED of Bluetooth module is blinking fast without pairing.

Pair the HC-05 Bluetooth module with your smartphone. Enter password 1234. ( if it not works try 0000 )

After pairing open the app and choose HC-05 to pair with. Check the LED of Bluetooth module, its blinking rate would have been very slow now.

Step 12: Test Drive

Go to App --> Buttons

Press 1: Car moves forward. ( all wheels start moving forward )

Press 1: Car moves in reverse. ( all wheels start moving backward )

Press 3: Car turns to left side. ( Only right wheels move )

Press 4: Car turns to right side. ( Only left wheels move )

Step 13: Suggestions

make all your connections correct and tight. If they are loose then your car can stop while moving.

You can even build a obstacle avoiding robot as your next project.

2 People Made This Project!

Recommendations

  • Anything Goes Contest

    Anything Goes Contest

57 Comments

0
science4u2022
science4u2022

8 days ago

Hi friends, I made a bluetooth controlled car using arduino..

https://youtu.be/JK6zTM65Rh0

Please SUBSCRIBE to channel for watching more such videos in future. Thank you friends🥰

0
interestedrobotics
interestedrobotics

9 days ago

Hi @AnmolS44, I did everything with the wiring and connections and uploaded your exact code. But it still doesn't work! I have a 6V battery in total (4*1.5V cells) is that the problem? Please help as it will be marked soon...Thanks in advance.

0
ArnabS15
ArnabS15

2 years ago

I think little changes need to be made to control the motion and we shud add few lines so that we can stop it while it is in motion.
Thks.

0
9920004253
9920004253

Reply 7 weeks ago

Plz send the code

0
smnagalakshmi350
smnagalakshmi350

Question 6 months ago

I too have the same problem the supply is came to the motor driver and arduino but the motors are not working and you used on off switch sir Is that any specifications for that switch sir please help me sir?

0
alokochu19
alokochu19

1 year ago on Step 13

I have done everything showed here,still,my car is not moving.What might be the possible cause?
Arduino got power,Motor driver light is also on,Hc-05 is blinking.Actually,where did i make mess?I am uploading pictures to show you more briefly
And,after uploading my code to arduino,can i check through serial monitor,whether it is getting connection or not?
Cause,after uploading,when i am going to check in serial monitor,it is blank.

WhatsApp Image 2020-12-19 at 7.57.14 PM (2).jpegWhatsApp Image 2020-12-19 at 7.57.14 PM (3).jpegWhatsApp Image 2020-12-19 at 7.57.14 PM (4).jpegWhatsApp Image 2020-12-19 at 7.57.14 PM.jpegWhatsApp Image 2020-12-19 at 7.57.14 PM (1).jpeg
0
M_waleed
M_waleed

Reply 7 months ago

3.3V logic signal is required at RX pin of HC-05 to work properly
that can be provided using R1=2K and R2=4.7K ohm resistor using voltage
divider configuration

0
Dhanish
Dhanish

Question 7 months ago on Introduction

I want guidance to make this project....can anyone please contact...8838064678 on whatsapp and help me

1
LuckyBasera
LuckyBasera

Question 1 year ago on Step 8

Please make a step in which I can add on/off switch Please 🙏🏻 🙂

0
alokochu19
alokochu19

1 year ago

I have done everything showed here,still,my car is not moving.What might be the possible cause?
Arduino got power,Motor driver light is also on,Hc-05 is blinking.Actually,where did i make mess?I am uploading pictures to show you more briefly
And,after uploading my code to arduino,can i check through serial monitor,whether it is getting connection or not?
Cause,after uploading,when i am going to check in serial monitor,it is blank.

WhatsApp Image 2020-12-19 at 7.57.14 PM (2).jpegWhatsApp Image 2020-12-19 at 7.57.14 PM (3).jpegWhatsApp Image 2020-12-19 at 7.57.14 PM (4).jpegWhatsApp Image 2020-12-19 at 7.57.14 PM.jpegWhatsApp Image 2020-12-19 at 7.57.14 PM (1).jpeg
0
abbassadri23
abbassadri23

Question 2 years ago on Step 13

hi there
I have built the robot car as per instructions and uploaded the code given here with the same outputs mentioned in the instructions. The battery power is sufficient. All of the lights are glowing and the Bluetooth module is connecting fine with my smartphone. Still, my motors aren't moving. Guide me, please.

0
alokochu19
alokochu19

Answer 1 year ago

same problem

0
Advanceauto
Advanceauto

2 years ago

Hello all does the script need to be named.

0
ArnabS15
ArnabS15

2 years ago

We hv modified the codeing,and now the motion of the car is in full control.

0
ArnabS15
ArnabS15

2 years ago

We have done some modifications in the codeing just to have better control of car.
Thks.

0
Allowman
Allowman

2 years ago on Step 9

Can you paste these codes.i cant see it

0
Mohammad6Hasan
Mohammad6Hasan

Question 2 years ago on Step 9

Hi.
I have done all the wiring and also built the structure as per your instructions but I am unable to reach the site from where I can get the code. Can you please upload the code here?

0
dperrakas
dperrakas

Question 2 years ago

all the lights are on and my circuit all are correct but the motor doesnt run.But the motor arent spoilt

0
parvezdui
parvezdui

2 years ago

I uploaded the code as your direction. My smartphone's Bluetooth cannot find out Bluetooth module H05/06. What can I do now? My son is very upset that the car is not running by command of smartphone. Please help.

Screenshot_20200718_152944_com.broxcode.arduinobluetoothfree.jpg
0
thevinufernando780
thevinufernando780

2 years ago

hi,
imade this 100% correctly but only Arduino lights and the Bluetooth module lights are working .motor are not moving a bit when i give the command . also i'm using a 12v 4000aMp battery .give me a working code please