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

5,339

25

5

Published

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

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

  • Planter Challenge

    Planter Challenge
  • Make it Move Contest

    Make it Move Contest
  • Oil Contest

    Oil Contest
user

We have a be nice policy.
Please be positive and constructive.

Tips

2 Questions

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

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

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

Change in program

serial.begin(38400)
To
serial.begin(9600)

Car dont move
motors dont move

5 Comments

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

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

1 reply

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

Download zarchiver app in Android to extract files...