How to make a DIY Gesture, Manual, and Voice control car using Arduino at home

Hello and welcome back. In this project, we will learn how to make a DIY simple Bluetooth control car using the Arduino. Especially, we can control this car using three methods. That is, manual, gesture, and voice. For this process, I used the SriTu Hobby app. You can download this app on the play store and use it easily. For that, this article will guide you step by step. I think this is a new experience for you. This is because all the functions are included in one car and one application. So, you can have a super experience.

Also, this Bluetooth control car is mainly based on the Arduino UNO board and powered by four gear motors. These motors are controlled by the L293D motor driver shield. The HC-05 Bluetooth module is used for Bluetooth communication. Okay, let’s move on.

OK, let’s do this project step by step. The required components are given below.

Disclosure: These Amazon links are Affiliate links. As an Amazon Associate, I earn from qualifying purchases.

Step 1

Firstly, identify these components.

Step 2

Secondly, let’s create the chassis of this car. For that, follow the instructions below. I also used foam board for this car chassis. You can use any other material.

  • First, cut four pieces of foam board to the following size.
  • Then, glue these pieces for the gear motors.
  • Now, let’s glue these motors together. To do this, cut the two pieces of foam board to the following size.
  • And then, glue these pieces using the pictures below.
  • Finally, cut out the middle part of the chassis and glue this piece using the pictures below.

Step 3

Thirdly, connect the L293D motor driver to the Arduino UNO board and mount it to the top of the car chassis.

Step 4

Next, connect the gear motors and the Bluetooth module to the motor driver shield. For that, use the circuit diagram below.

Step 5

Next, mount the Bluetooth module as you like, I mounted it on the front of the car chassis.

Step 6

OK now, attach the battery holder to the top of the car chassis and connect it to the motor driver shield. And then, connect the robot wheels for the gear motors.

Step 7

Finally, connect this car to the computer and upload the program. It’s as follows.

/*Manual,Gesture and voice control car
   https://srituhobby.com
*/

//Include the AFmotor library
#include <AFMotor.h>
//Define the speed of the motors
#define Speed 170

//Create the motor objects
AF_DCMotor M1(1);
AF_DCMotor M2(2);
AF_DCMotor M3(3);
AF_DCMotor M4(4);

void setup() {
  //Start the serial communication
  Serial.begin(9600);
  //Set the motor speeds
  M1.setSpeed(Speed);
  M2.setSpeed(Speed);
  M3.setSpeed(Speed);
  M4.setSpeed(Speed);
}
void loop() {
  bluetoothControl();//Bluetooth control function
}

void bluetoothControl() {
  //Get the Bluetooth control remote values
  if (Serial.available() > 0) {
    char value = Serial.read();
    Serial.println(value);

    if (value == 'U') {
      forward();
    } else if (value == 'D') {
      backward();
    } else if (value == 'L') {
      left();
    } else if (value == 'R') {
      right();
    } else if (value == 'S') {
      Stop();
    }
  }
}

/******************Motor functions*****************/
void forward() {
  M1.run(FORWARD);
  M2.run(FORWARD);
  M3.run(FORWARD);
  M4.run(FORWARD);
}
void backward() {
  M1.run(BACKWARD);
  M2.run(BACKWARD);
  M3.run(BACKWARD);
  M4.run(BACKWARD);
}
void right() {
  M1.run(FORWARD);
  M2.run(BACKWARD);
  M3.run(BACKWARD);
  M4.run(FORWARD);
}
void left() {
  M1.run(BACKWARD);
  M2.run(FORWARD);
  M3.run(FORWARD);
  M4.run(BACKWARD);
}
void Stop() {
  M1.run(RELEASE);
  M2.run(RELEASE);
  M3.run(RELEASE);
  M4.run(RELEASE);
}
  • Now, select the board and port. After, remove the RX and TX jumper wires.
  • And then, upload this code to the Arduino board and reconnect the jumper wires.

Step 8

Now, put the batteries to the battery holder and power ON this Bluetooth control car.

Step 9

Ok, now let’s set up the SriTu Hobby app. To do so, follow the instructions below.

  • First, download and install the SriTu Hobby app on your phone. Then, run this app and click the “controllers” button.
  • Now, you can see the manual remote control. Then, touch the gear wheel icon in the upper right corner and find the name of your Bluetooth module. To do so, touch the “Find Device” button.
  • Next, select the name of your Bluetooth module. Then, it will be connected. Now, you can control your car using this remote. Also, if you want to change the remote mode, just click the arrow icon in the upper left corner and select the mode.

Now, you can control this car using three modes. OK, enjoy this project. The full video guide is below. So see you in the next project.

How to make a DIY Gesture, Manual, and Voice control car using Arduino at home

1 thought on “How to make a DIY Gesture, Manual, and Voice control car using Arduino at home”

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart
Select your currency
USD United States (US) dollar
EUR Euro
Scroll to Top