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

18,504

28

29

About: i believe to help people and share my knowledge i always want to build creative thing some of them for learning and some of them is very useful.

.

.

.

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

Wireless Contest

Participated in the
Wireless Contest

Make It Move Contest 2017

Participated in the
Make It Move Contest 2017

1 Person Made This Project!

Recommendations

  • CNC Contest

    CNC Contest
  • Make it Move

    Make it Move
  • Teacher Contest

    Teacher Contest

29 Discussions

0
None
Siddxyz

Question 5 weeks ago on Step 8

Is there a way to connect blutooth to arduino without soldering?

1 answer
0
None
vishalsoniindiaSiddxyz

Answer 4 weeks ago

Yes... I have soldered Bluetooth because of motor shield.
Take a thin wire remove protective layer and insert it with shield in arduino... Both shield's pin and thin wire together in arduino

0
None
ADHEE Z LAZAR

1 year 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 . .

1 reply
0
None
Manzil1984

Question 1 year 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
2 answers
0
None
vishalsoniindiaManzil1984

Answer 4 months ago

i am no longer working on this project , you can do it yourself by understanding the code....or wait till i make another video for this.

0
None
ADHEE Z LAZARManzil1984

Answer 1 year ago

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

0
None
Manzil1984

1 year 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.

1 reply
0
None
vishalsoniindiaManzil1984

Reply 4 months ago

i am no longer working on this project , you can do it yourself by understanding the code....or wait till i make another video for this.

0
None
RoboT16

Tip 1 year ago

The code of car us showing many errors pls help me

1 reply
0
None
sanjith boss

11 months ago

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

1 reply
0
None
vishalsoniindiasanjith boss

Reply 4 months ago

Please remove the Bluetooth while uploading program or check the cable which connected to computer. your arduino not recognized by PC.

0
None
vishalsoniindiaRahulP209

Answer 4 months ago

why are you using the white cable please connect black cable directly to your
computer.

0
None
wang_jianwu

8 months ago

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

1 reply
0
None
vishalsoniindiawang_jianwu

Reply 4 months ago

Actually my Bluetooth module is works on 38400 bps that's why i did this but now i updated the code

0
None
wang_jianwu

Question 8 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

1 answer
0
None
vishalsoniindiawang_jianwu

Answer 4 months ago

i am no longer working on this project , you can do it yourself by understanding the code....or wait till i make another video for this.

0
None
kishanthsiva15

4 months ago

pls help me.... i put the code into uno board.... all works are finished .... bt motors didn't rotate......