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

31,205

40

37

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

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.

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

https://github.com/vishalsoniindia/Mobile-Controll...

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

3 People Made This Project!

Recommendations

  • Paint Challenge

    Paint Challenge
  • Made with Math Contest

    Made with Math Contest
  • Hour of Code Speed Challenge

    Hour of Code Speed Challenge

37 Comments

0
burha
burha

6 months ago on Step 9

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Uno"
FTGVQYAJVCNGM6B:1:10: fatal error: AFMotor.h: No such file or directory
#include <AFMotor.h>
^~~~~~~~~~~
compilation terminated.
exit status 1
AFMotor.h: No such file or directory
Invalid library found in C:\Users\Burhan\OneDrive\Documents\libraries\libraries: no headers files (.h) found in C:\Users\Burhan\OneDrive\Documents\libraries\libraries
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.



I am facing this problem .how can I solve?

0
vishalsoniindia
vishalsoniindia

Reply 6 months ago

🤦‍♂️Read properly,...... Step 4 has its solution, add library

0
AoumeurM
AoumeurM

Question 1 year ago

is there any ios application for remote controle??

0
Miguel1951
Miguel1951

Question 1 year ago on Step 10

He puesto un módulo hc 06 ,hay que hacer algún cambio en el programa
La app lo reconoce pero no funcionan los motores
Gracias

0
Miguel1951
Miguel1951

1 year ago

Todo hecho pero los motores no giran ,he puesto un módulo hc 06 ,hay que hacer algún cambio en el programa
Gracias

0
bhumika.sm05
bhumika.sm05

1 year ago

how does the shift register work here

0
ANUSHAN
ANUSHAN

2 years ago on Step 10

How to add lights and horn(buzzer)

0
dominikpilatpl
dominikpilatpl

Reply 1 year ago

6 analog pins and 1 digital are free to use with this shield

0
Siddxyz
Siddxyz

Question 2 years ago on Step 8

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

0
vishalsoniindia
vishalsoniindia

Answer 2 years 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
ADHEE Z LAZAR
ADHEE Z LAZAR

3 years 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
vishalsoniindia
vishalsoniindia

Reply 2 years ago

check again code is updated

0
Manzil1984
Manzil1984

Question 3 years 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
0
vishalsoniindia
vishalsoniindia

Answer 2 years 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
ADHEE Z LAZAR
ADHEE Z LAZAR

Answer 3 years ago

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

0
Manzil1984
Manzil1984

3 years 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
vishalsoniindia
vishalsoniindia

Reply 2 years 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
RoboT16
RoboT16

Tip 3 years ago

The code of car us showing many errors pls help me

0
vishalsoniindia
vishalsoniindia

Reply 2 years ago

Please add library otherwise it show errors.

0
sanjith boss
sanjith boss

3 years ago

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