Mobile Controlled Bluetooth Car || Easy || Simple || Hc-05 || Motor Shield

13,376

27

17

About: i am 20 year old electrical engineer from india.

.

.

.

Please SUBSCRIBE To my YouTube channel..........

This the Bluetooth controlled car that used HC-05 Bluetooth module to communicate with mobile.

We can control the car with mobile via Bluetooth.

There is an app to control the motion of car.

Step 1: Requirements

  • Arduino uno
  • Motor shield
  • Battery for motor (above 4v and above 1amp)
  • Power bank of 5v to power the arduino
  • HC-05 Bluetooth module
  • Robot chassis

Step 2: Assemble the Chassis

Assemble the motor, wheels and chassis....

As given instructions with chassis.

Step 3: Download the Zip File

  • Download the zip file
  • And extract it

Step 4: Add the AF Motor Library

  • Extract the zip file
  • Open extracted folder
  • Copy the AF motor folder
  • Now go to document section
  • Open arduino folder
  • Now open library folder
  • Paste the AFMotor folder
  • Then close it

Step 5: Upload Program

  • Connect arduino with laptops or pc
  • Open extracted folder again
  • Open the car program
  • Go to the tools in arduino software
  • Make sure board are arduino Uno and port where arduino connected
  • Upload the program

Step 6: Circuit Connections

  • Solder two wires at arduino's 0 and 1 pin that is RX and TX.
  • Fix the motor shield on the top of arduino
  • Connect all motors on motor shield as given in circuit.
  • Left motor are connected to M3 and M4
  • Right motor are connected to M1 and M2
  • If any motor are rotating in reverse direction then reverse the connection of motor

Step 7: Add Bluetooth Module

  • Take Bluetooth module
  • Connect two female to female wire at +5v and GND
  • Connect Bluetooth's +5v and GND with servo's + and - on motor shield as shown in picture.
  • Connect RX of arduino to TX of Bluetooth module
  • Connect TX of arduino to RX of Bluetooth module

Step 8: Power the Arduino and Motors

  • Connect power bank to arduino via USB cable
  • Connect the battery to motor shield

Step 9: Connect the App

  • Turn on Bluetooth
  • Search for new device
  • Click on hc-05
  • Enter the password 1234
  • Once it paired open play store
  • Search for arduino Bluetooth rc car
  • Download the app and open
  • Click on setting icon
  • Click on connect to car
  • Click on hc-05
  • Red Light turn into green it means it connected
  • All done

Step 10: All Done

Now all done move left, right and up, down arrow in app to operate robot.

Share

Recommendations

  • Pocket Sized Contest

    Pocket Sized Contest
  • Build a Tool Contest

    Build a Tool Contest
  • Pie Contest

    Pie Contest

17 Discussions

0
None
wang_jianwu

Question 2 months ago

Hi, Vishal, if I want to control the speed, add buzzer and add LED light at front and back. How shall I do that?. My email is lis_wang@hotmail.com. Thanks

0
None
wang_jianwu

2 months ago

Hi, Vishal, why did you use Serial.begin(38400) instead of Serial.begin(9600) in your programme?

1
None
RahulP209

Question 3 months ago on Step 5

Sir my aurdino code is not uploaded to board please help

15429657150192097321955.jpg
0
None
sanjith boss

5 months ago

I GOT IT BUT IT IS SHOWING
Error Compelling For Board Arduino/Genuino Uno.

0
None
RoboT16

Tip 7 months ago

The code of car us showing many errors pls help me

0
None
Manzil1984

8 months ago

Hi vishal,I have to use LEDs front lamp back lamp and room lamp.please guide how process and working the lights and with 4 nos motors.Please provide the data code. I use for this data code.My mail ID manzil1983@gmail.com.

0
None
Manzil1984

Question 9 months ago

I need to use LEDs front lamp back lamp and room lamp.please guide how process and working the lights and with 4 nos motors.Please provide the data code. I use for this data code.My mail ID manzil1983@gmail.com.

#include <AFMotor.h>

AF_DCMotor motor1(1);

AF_DCMotor motor2(2);

AF_DCMotor motor3(3);

AF_DCMotor motor4(4);

char bt='S';

void setup()

{

Serial.begin(9600);

motor1.setSpeed(255);

motor2.setSpeed(255);

motor3.setSpeed(255);

motor4.setSpeed(255);

Stop();

}

void loop() {

bt=Serial.read();

if(bt=='F')

{

forward();

}

if(bt=='B')

{

backward();

}

if(bt=='L')

{

left();

}

if(bt=='R')

{

right();

}

if(bt=='S')

{

Stop();

}

}

void forward()

{

motor1.run(FORWARD);

motor2.run(FORWARD);

motor3.run(FORWARD);

motor4.run(FORWARD);

}

void backward()

{

motor1.run(BACKWARD);

motor2.run(BACKWARD);

motor3.run(BACKWARD);

motor4.run(BACKWARD);

}

void left()

{

motor1.run(FORWARD);

motor4.run(FORWARD);

}

void right()

{

motor2.run(BACKWARD);

motor3.run(BACKWARD);

}

void Stop()

{

motor1.run(RELEASE);

motor2.run(RELEASE);

motor3.run(RELEASE);

motor4.run(RELEASE);

}

IMG_20180531_150527.jpg
1 answer
0
None
ADHEE Z LAZARManzil1984

Answer 9 months ago

Exit status 1.
Error compiling for board arduino /genuino Uno . .what can I do. .

0
None
ADHEE Z LAZAR

9 months ago on Step 3

Sir . .i have do all properly but . .didn't got the car code link. . I request u to send the code in my g-mail account . .the zip is in error . .

0
None
RobertB750

Question 1 year ago on Step 6

Please help me
I have a problém
I do everything like bit in the end when i start aplication there Green light shines and too L293D and bluetooth modul shines
I dont know what to do

1517003150205-265516055.jpg
3 answers
0
None
Anil KumarB3

1 year ago

It's not working pls send me the code to anilkumarbirudula293@gmail.com

1 reply
0
None
Anil KumarB3

1 year ago

Hi vishal pls Can you send me the only program for DC motors car because i don't no how to extract files pls send me the only progarm to my gmail pls

1 reply