How to make a Bluetooth control Jeep using Arduino

Hello and welcome back. In this project, we will learn how to make a Bluetooth control Jeep using Arduino. For that, I have mainly used the Arduino Nano board, HC-5 Bluetooth module, and a toy Jeep, but feel free to customize it to your liking. Also, You can operate the jeep using the SriTu Hobby Bluetooth controller. The good news is that you won’t need extra gear motors because the toy car already comes with built-in motors(Please choose these types of toy car or any toy model). Therefore, we can do it easily. I had a fantastic outdoor experience with this jeep, and you can give it a try too. You can find more details using the links below.

  • How to make a Bluetooth car using Arduino — Click on me
  • RoboHeart Electronic kit — RoboHeart
  • More details on the ROBOHEART website – Read me
(adsbygoogle = window.adsbygoogle || []).push({});

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, remove the top cover of this toy jeep or any other toy. And then, connect the motors to the L298N motor driver board.

Step 3

Thirdly, place the Arduino nano board and HC-05 Bluetooth module on the breadboard.

(adsbygoogle = window.adsbygoogle || []).push({});

Step 4

Now, connect the Bluetooth module and motor driver to the Arduino board. For that, use the circuit diagram below.

How to make a Bluetooth control Jeep using Arduino

Step 5

Next, install the breadboard on the top of this jeep. Then, connect the Li-ion battery holder to the motor driver and attach it as you like.

(adsbygoogle = window.adsbygoogle || []).push({});

Step 6

Now, connect the Arduino board to the computer an upload the following program.

How to make a Bluetooth control Jeep using Arduino
/*More projects and tutorials on srituhobby.com */

#define IN1 2
#define IN2 3
#define IN3 4
#define IN4 5
#define ENA 9
#define ENB 10

#define Speed 200

void setup() {
  Serial.begin(9600);
  pinMode(IN1, OUTPUT);
  pinMode(IN2, OUTPUT);
  pinMode(IN3, OUTPUT);
  pinMode(IN4, OUTPUT);
}

void loop() {
  if (Serial.available() > 0) {
    char value = Serial.read();
    Serial.println(value);

    if (value == 'U') {
      Forward();
    } else if (value == 'D') {
      Backward();
    } else if (value == 'S') {
      Stop();
    } else if (value == 'L') {
      Left();
    } else if (value == 'R') {
      Right();
    }
  }
}

void Forward() {
  analogWrite(ENA, Speed);
  analogWrite(ENB, Speed);
  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
}
void Backward() {
  analogWrite(ENA, Speed);
  analogWrite(ENB, Speed);
  digitalWrite(IN3, LOW);
  digitalWrite(IN4, HIGH);
}
void Stop() {
  digitalWrite(IN1, LOW);
  digitalWrite(IN2, LOW);
  digitalWrite(IN3, LOW);
  digitalWrite(IN4, LOW);
}
void Left() {
  analogWrite(ENA, Speed);
  analogWrite(ENB, Speed);
  digitalWrite(IN1, HIGH);
  digitalWrite(IN2, LOW);
  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
}
void Right() {
  analogWrite(ENA, Speed);
  analogWrite(ENB, Speed);
  digitalWrite(IN1, LOW);
  digitalWrite(IN2, HIGH);
  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
}
  • Now, select the board and port. Then, remove the Bluetooth module or RX and TX jumper wires.
  • Next, click the upload button. After the program is uploaded, reconnect the Bluetooth module.

Step 7

Now, remove the USB cable and put the batteries into the battery holder.

(adsbygoogle = window.adsbygoogle || []).push({});

Step 8

Next, download and install the SriTu Hobby app from the Play Store. Then, follow the instructions below.

  • SriTu Hobby app — Download
  • Then, open the app and click the controller tab.
  • Next, select your remote.
  • OK, now click the gear wheel icon and find your device. In this case, you have to enable location and location permission.
  • Then, click on the Bluetooth module name. Then, it will connect.

Now, you can test your Bluetooth control Jeep. If the motors are not rotating correctly, please change the motor wires. OK, enjoy this project. The full video guide is below. So, we hope to see you in the next tutorial or project. Have a good day.

How to make a Bluetooth control Jeep using Arduino

Similar Posts

2 Comments

  1. Hey my group is recreating this project and we are having some issues with the bluetooth module not working. All the wiring is done but the truck won’t move. Is there something we are missing. The only thing different from your directions is the truck and the arduino board. We aren’t using the nano board. Could that be the reason the blue tooth module is not working?

Leave a Reply

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