How to Make a Bluetooth Controlled Robot Car Using Arduino and Bluetooth Electronics App

Have you ever wanted to build your own remote-controlled robot car that you can operate using your smartphone? With an Arduino Uno, an HC-05 Bluetooth module, and a few other electronic components, you can easily build a Bluetooth controlled robot car at home.

In this tutorial, we will learn how to make a Bluetooth controlled robot car using Arduino Uno and the Bluetooth Electronics app. We will use an HC-05 Bluetooth module for wireless communication, an L298N motor driver to control two DC geared motors, and a 2WD Smart Robot Car Chassis to build the robot.

To control the robot, we will use the Bluetooth Electronics app developed by KEUWLSOFT. This Android application allows us to create a custom control interface with directional buttons for operating our Arduino robot car.

How to Make a Bluetooth Controlled Robot Car Using Arduino and Bluetooth Electronics App

Once the project is completed, you will be able to control your robot wirelessly using your smartphone. You can move the car forward, backward, left, and right, and stop it using the on-screen buttons.

This Arduino Bluetooth car project is suitable for beginners, students, electronics enthusiasts, and anyone interested in learning Arduino programming, Bluetooth communication, and robotics.

Let’s get started!

1. How Does an Arduino Bluetooth Controlled Robot Car Work?

Before building the robot, let’s understand how this Arduino Bluetooth controlled car works.

The working principle is simple. We use an Android smartphone running the Bluetooth Electronics app to send movement commands to the HC-05 Bluetooth module.

The HC-05 receives these commands and transfers them to the Arduino Uno through serial communication.

Android controlled Arduino Bluetooth robot car
Android controlled Arduino Bluetooth robot car

The Arduino processes the received commands and sends appropriate signals to the L298N motor driver. The motor driver then controls the direction and operation of the two DC motors.

For example:

  • When you press the Forward button in the Bluetooth Electronics app, Arduino makes both motors rotate forward.
  • When you press Backward, both motors rotate in the opposite direction.
  • When you press Left, the robot turns left.
  • When you press Right, the robot turns right.
  • When you release a movement button, the robot receives a stop command.

The complete communication process is:

Android Smartphone → Bluetooth Electronics App → HC-05 Bluetooth Module → Arduino Uno → L298N Motor Driver → DC Motors

The HC-05 provides wireless communication, Arduino acts as the main controller, and the L298N handles the motor-driving requirements.

Unlike a Wi-Fi-controlled robot, this project uses classic Bluetooth communication. Therefore, you do not need an internet connection or Wi-Fi router to control the robot.

Bluetooth Robot Car Video Demo

2. Components Required for the Arduino Bluetooth Robot Car

To build this Arduino Bluetooth controlled robot car, you will need the following components.

No.ComponentQuantity
1Arduino Uno1
2HC-05 Bluetooth Module1
3L298N Dual H-Bridge Motor Driver Module1
4DC Geared Motors2
52WD Smart Robot Car 1
6Wheels2
7Caster Wheel1
8Suitable Battery Pack or Power Supply1
9Jumper WiresAs required

You will also need a computer with the Arduino IDE installed.

Brief Introduction to the Main Components

Arduino Uno

Arduino Uno is the main controller of our robot car. It receives Bluetooth commands from the HC-05 module and controls the motors through the L298N motor driver.

Custom Arduino project development Services

HC-05 Bluetooth Module

The HC-05 is a classic Bluetooth serial communication module. It allows Arduino to communicate wirelessly with an Android smartphone.

L298N Motor Driver Module

The L298N is a dual H-bridge motor driver that allows us to control two DC motors independently. It receives control signals from Arduino and supplies motor-driving current from the external motor power supply.

DC Geared Motors

We will use two DC geared motors to move the robot car. Each motor drives one wheel, allowing the robot to move forward, backward, and turn.

2WD Smart Robot Car Chassis

The 2WD chassis provides the mechanical structure for the robot. It generally includes a base plate, two motor mounts, two wheels, and a caster wheel.

2WD Smart Robot Car Chassis

Bluetooth Electronics App

Bluetooth Electronics is an Android application developed by KEUWLSOFT. It allows users to control electronic projects through Bluetooth using customizable buttons, switches, sliders, pads, and other controls.

We will use its button controls to operate our Arduino Bluetooth robot car.

Battery or Power Supply

The motors require an external power source because Arduino Uno cannot directly provide the current needed to drive them. We will use a suitable battery pack to power the motor driver.

3. Assemble the 2WD Smart Robot Car Chassis

First, we need to assemble the mechanical structure of our Arduino robot car.

Follow these steps:

  1. Take the 2WD Smart Robot Car Chassis and identify the motor mounting positions.
  2. Attach the two DC geared motors to the chassis using the supplied screws and brackets.
  3. Install the wheels onto the motor shafts.
  4. Attach the caster wheel to the front or rear of the chassis, depending on your chassis design.
  5. Mount the Arduino Uno on the upper side of the chassis using suitable spacers.
  6. Secure the L298N motor driver module to the chassis.
  7. Place the HC-05 Bluetooth module in a suitable position.
  8. Secure the battery pack to the chassis.

Make sure all components are firmly attached. The battery and electronic modules should not move around when the robot is operating.

Tip: Keep the wiring organized and ensure that the wheels can rotate freely without touching any wires.

4. Arduino Bluetooth Robot Car Circuit Diagram and Connections

Now let’s connect the electronic components.

Our circuit consists of three main sections:

  • HC-05 Bluetooth module connected to Arduino Uno.
  • L298N motor driver connected to Arduino Uno.
  • Two DC motors connected to the L298N motor driver.
Arduino Bluetooth Robot Car Circuit Diagram and Connections
Arduino Bluetooth Robot Car Circuit Diagram and Connections

4.1 HC-05 Bluetooth Module Connections

The HC-05 communicates with Arduino Uno using serial communication.

We will use the Arduino SoftwareSerial library so that the hardware serial connection remains available for uploading programs and debugging.

Connect the HC-05 module according to the following table.

HC-05 PinArduino Uno
VCC5V (breakout-board version)
GNDGND
TXDDigital Pin 10
RXDDigital Pin 11 through a voltage divider (Recommended)

Important: Protect the HC-05 RXD Pin

The Arduino Uno operates with 5V logic, while the HC-05 module uses approximately 3.3V logic on its RXD input.

Therefore, do not connect Arduino’s 5V TX signal directly to the HC-05 RXD pin.

Use a simple voltage divider with a 1kΩ and 2kΩ resistor.

Make the following connections:

  • Connect Arduino Digital Pin 3 to one end of the 1kΩ resistor.
  • Connect the other end of the 1kΩ resistor to a junction.
  • Connect the junction to the HC-05 RXD pin.
  • Connect one end of the 2kΩ resistor to the same junction.
  • Connect the other end of the 2kΩ resistor to GND.

This reduces the 5V signal to approximately 3.3V.

The HC-05 TXD output can connect directly to Arduino Digital Pin 2.

Note: These power connections assume you are using a common HC-05 breakout board with an onboard voltage regulator. A bare HC-05 module requires a regulated 3.3V supply.

4.2 L298N Motor Driver Connections

The L298N motor driver controls the two DC motors independently.

It has two motor output channels:

  • Motor A: OUT1 and OUT2
  • Motor B: OUT3 and OUT4

Connect the L298N motor driver to Arduino Uno as follows.

L298N PinArduino Uno
IN1Digital Pin 5
IN2Digital Pin 4
IN3Digital Pin 3
IN4Digital Pin 2
GNDCommon GND

For the motor connections:

L298N OutputConnection
OUT1Left DC Motor Terminal 1
OUT2Left DC Motor Terminal 2
OUT3Right DC Motor Terminal 1
OUT4Right DC Motor Terminal 2

Important: ENA and ENB Jumpers

Most L298N motor driver modules include small jumpers on the ENA and ENB pins.

Remove both jumpers when connecting ENA to Arduino Digital Pin 5 and ENB to Digital Pin 6. This allows Arduino to control motor speed using PWM signals.

4.3 Motor Power Supply Connections

The DC motors require more current than Arduino Uno can safely provide.

Therefore, we will use a separate motor power supply connected to the L298N motor driver.

Power SupplyL298N Connection
Battery Positive (+)Motor Supply Input (+12V terminal)
Battery Negative (-)GND

The +12V terminal is the motor supply input. You do not necessarily need a 12V battery; choose a voltage suitable for your DC motors and the motor driver’s specifications.

Powering the Arduino and L298N Logic

You can power Arduino Uno through its USB connection while testing the project.

For the L298N logic supply, check the 5V-EN jumper on your particular module:

  • If you use the onboard 5V regulator, keep the 5V-EN jumper fitted only when the motor supply voltage is within the module’s specified regulator range. Do not connect another 5V source to its 5V terminal.
  • If you use an external regulated 5V logic supply, remove the 5V-EN jumper and connect the regulated 5V supply to the module’s 5V logic input.

Connect the grounds of Arduino, HC-05, L298N, and the motor battery together.

The HC-05 breakout board can receive its 5V supply from Arduino Uno.

Important Power Supply Precautions

  • Never connect the motor battery directly to Arduino’s 5V pin.
  • Never power the DC motors directly from Arduino’s 5V output.
  • Make sure all components share a common ground.
  • Avoid connecting two different 5V sources together.
  • Select a battery capable of supplying the motors’ startup and operating current.
  • Do not allow the motors to remain stalled for extended periods.

The L298N has a noticeable voltage drop and can become hot under load. Check the motor voltage and current ratings before selecting the battery.

5. Understanding the Bluetooth Commands

Before configuring the Bluetooth Electronics app, let’s understand the commands that Arduino will receive.

We will use five simple characters to control the robot.

CommandRobot MovementMotor Action
FForwardBoth motors rotate forward
BBackwardBoth motors rotate backward
LLeftMotors rotate in opposite directions
RRightMotors rotate in opposite directions
SStopBoth motors stop

These commands are sent from the Bluetooth Electronics app to the HC-05 Bluetooth module.

The Arduino reads the received character and executes the corresponding motor-control function.

For example, when we press the Forward button, the app sends the character F. When we release the button, it sends S to stop the robot.

This press-and-release arrangement is important because it prevents the robot from continuing to move after the user releases a directional button.

battery voltage, motor characteristics, mechanical load, and the voltage drop across the L298N motor driver.

6. Arduino Bluetooth Controlled Robot Car Code

Now it’s time to program the Arduino Uno.

We will use the SoftwareSerial library to communicate with the HC-05 Bluetooth module. The Arduino will receive commands from the Bluetooth Electronics app and control the two DC motors through the L298N motor driver.

In this project, we will use only the four direction-control pins of the L298N motor driver. We will not connect the ENA and ENB pins to Arduino.

Complete Arduino Source Code

Copy the following code into the Arduino IDE.

#include <SoftwareSerial.h>

// HC-05 Bluetooth Pins
// Arduino RX = 10, Arduino TX = 11
SoftwareSerial bluetooth(10, 11);

// L298N Motor Driver Pins
const int IN1 = 5;
const int IN2 = 4;
const int IN3 = 3;
const int IN4 = 2;

void setup() {

  // Set motor driver pins as outputs
  pinMode(IN1, OUTPUT);
  pinMode(IN2, OUTPUT);
  pinMode(IN3, OUTPUT);
  pinMode(IN4, OUTPUT);

  // Initialize serial communication
  Serial.begin(9600);

  // Initialize Bluetooth communication
  bluetooth.begin(9600);

  // Stop motors at startup
  stopCar();

  Serial.println("Bluetooth Robot Car Ready!");
}

void loop() {

  // Check for Bluetooth commands
  while (bluetooth.available() > 0) {

    char command = bluetooth.read();

    // Ignore spaces and line endings
    if (command == '\n' ||
        command == '\r' ||
        command == ' ') {
      continue;
    }

    // Convert lowercase to uppercase
    if (command >= 'a' && command <= 'z') {
      command = command - 32;
    }

    Serial.print("Received Command: ");
    Serial.println(command);

    // Execute the received command
    switch (command) {

      case 'F':
        moveForward();
        break;

      case 'B':
        moveBackward();
        break;

      case 'L':
        turnLeft();
        break;

      case 'R':
        turnRight();
        break;

      case 'S':
        stopCar();
        break;

      default:
        stopCar();
        break;
    }
  }
}

// Move robot forward
void moveForward() {

  digitalWrite(IN1, HIGH);
  digitalWrite(IN2, LOW);

  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
}

// Move robot backward
void moveBackward() {

  digitalWrite(IN1, LOW);
  digitalWrite(IN2, HIGH);

  digitalWrite(IN3, LOW);
  digitalWrite(IN4, HIGH);
}

// Turn robot left
void turnLeft() {

  digitalWrite(IN1, LOW);
  digitalWrite(IN2, HIGH);

  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
}

// Turn robot right
void turnRight() {

  digitalWrite(IN1, HIGH);
  digitalWrite(IN2, LOW);

  digitalWrite(IN3, LOW);
  digitalWrite(IN4, HIGH);
}

// Stop robot
void stopCar() {

  digitalWrite(IN1, LOW);
  digitalWrite(IN2, LOW);

  digitalWrite(IN3, LOW);
  digitalWrite(IN4, LOW);
}

6.1 Understanding the Arduino Bluetooth Car Code

Let’s understand the important parts of the Arduino program.

SoftwareSerial Library

#include <SoftwareSerial.h>
SoftwareSerial bluetooth(2, 3);

The SoftwareSerial library creates a separate serial communication connection using Arduino Digital Pins 2 and 3.

  • Arduino Pin 2 receives data from HC-05 TXD.
  • Arduino Pin 3 sends data to HC-05 RXD through a voltage divider.

Motor Driver Pin Configuration

const int IN1 = 8;
const int IN2 = 9;
const int IN3 = 10;
const int IN4 = 11;

These four pins connect Arduino Uno to the L298N motor driver.

IN1 and IN2 control the direction of the first motor, while IN3 and IN4 control the direction of the second motor.

Bluetooth Command Reading

char command = bluetooth.read();

This instruction reads the character received from the HC-05 Bluetooth module.

The Arduino then checks the received character and executes the corresponding movement function.

Forward Movement

void moveForward() {

  digitalWrite(IN1, HIGH);
  digitalWrite(IN2, LOW);

  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
}

When both motor channels receive the forward direction signals, the robot moves forward.

Backward Movement

The backward function reverses the motor direction by changing the HIGH and LOW signals.

Turning Left and Right

The left and right functions rotate the two motors in opposite directions, allowing the robot to make a pivot turn.

Stopping the Robot

The stop function sets all four direction-control pins to LOW, stopping both motors.

6.2 How Are Motor Speeds Controlled?

In this project, we are not using the ENA and ENB pins for PWM speed control. Instead, we keep their jumpers installed on the L298N motor driver module.

This keeps both motor channels enabled.

The motors operate at the available drive level determined by the motor power supply, motor characteristics, and voltage drop across the L298N driver.

If you want to add variable motor speed control in the future, you can remove the ENA and ENB jumpers and connect those pins to Arduino PWM-capable pins.

7. Uploading the Code to Arduino Uno

After completing the Arduino Bluetooth robot car program, follow these steps to upload it to Arduino Uno.

  1. Download and install the Arduino IDE on your computer.
  2. Connect Arduino Uno to your computer using a USB cable.
  3. Open the Arduino IDE.
  4. Create a new sketch.
  5. Copy the complete Arduino Bluetooth car code into the editor.
  6. Select Tools → Board → Arduino AVR Boards → Arduino Uno.
  7. Select the correct COM port under Tools → Port.
  8. Click the Upload button.
  9. Wait until the IDE displays the upload completion message.

The program is now uploaded to Arduino Uno.

You can disconnect the USB cable after uploading if the robot is powered using its intended standalone power arrangement.

ding if the robot is powered using its intended standalone power arrangement.

8. Download and Install the Bluetooth Electronics App

Now we will install the Android application that allows us to control our Arduino robot car.

We will use Bluetooth Electronics by KEUWLSOFT.

The application supports classic Bluetooth communication with modules such as HC-05 and HC-06. It also provides customizable control panels containing buttons, switches, sliders, pads, and other interface elements.

You can download the application from its official website:

Download Bluetooth Electronics App – Official KEUWLSOFT Website

The app requires an Android smartphone with Bluetooth capability.

After installing the application, open it and follow the next steps to create a control interface for our robot car.

9. Configure Bluetooth Electronics App for Arduino Robot Car

In this section, we will create a custom control panel with five buttons: Forward, Backward, Left, Right, and Stop.

Each button will send a specific character to Arduino through the HC-05 Bluetooth module.

Step 1: Open Bluetooth Electronics App

Open the Bluetooth Electronics app on your Android smartphone.

The main screen displays available control panels. Select a panel that you want to use for the robot car.

You can edit an existing panel or create your own control layout.

For this tutorial, we will create a simple directional control panel.

Step 2: Open the Panel Editor

Select your chosen panel and tap the Edit option.

The editor allows you to add different control elements to the panel.

Select the Buttons category from the menu. You will find different button styles that you can add to the control panel.

Choose suitable button styles and drag them onto the panel.

Add five buttons for the following functions:

  • Forward
  • Backward
  • Left
  • Right
  • Stop

Arrange the buttons in a directional layout so that they are easy to operate.

Step 3: Configure the Forward Button

Select the Forward button on the panel.

Open its properties using the Edit option.

You will find settings for the strings sent when the button is pressed and released.

Configure the button as follows:

SettingValue
Button FunctionForward
Send StringF
Release StringS

When you press the Forward button, the application sends F to Arduino.

When you release the button, the application sends S, stopping the robot.

Step 4: Configure the Backward Button

Select the Backward button and open its properties.

Set the following values:

SettingValue
Button FunctionBackward
Send StringB
Release StringS

Now the application will send B when the button is pressed and S when it is released.

Step 5: Configure the Left Button

Select the Left button and configure its properties.

SettingValue
Button FunctionLeft
Send StringL
Release StringS

When the Left button is pressed, Arduino receives L and turns the robot left.

When the button is released, Arduino receives S and stops the motors.

Step 6: Configure the Right Button

Select the Right button and configure it as follows.

SettingValue
Button FunctionRight
Send StringR
Release StringS

The robot will turn right when this button is pressed and stop when it is released.

Step 7: Configure the Stop Button

Finally, configure the Stop button.

SettingValue
Button FunctionStop
Send StringS
Release StringS

This button will send the stop command to Arduino whenever it is pressed.

Step 8: Save the Control Panel

After configuring all five buttons, return to the main screen.

Your custom Bluetooth robot car control panel is now ready.

The complete button configuration should look like this:

ButtonPress CommandRelease Command
ForwardFS
BackwardBS
LeftLS
RightRS
StopSS

Important: Make sure the release string is configured as S for all directional buttons. Otherwise, the robot may continue moving after you release a button.

10. Connect the Bluetooth Electronics App to HC-05

Now we will connect our Android smartphone to the HC-05 Bluetooth module.

Step 1: Power On the Robot

Connect the motor battery and power Arduino Uno.

Make sure the HC-05 Bluetooth module is powered. Its status LED should blink, indicating that it is waiting for a connection.

Step 2: Open the Bluetooth Connection Screen

Open the Bluetooth Electronics app.

From the main screen, tap the Connect or Change option.

Select Bluetooth Classic as the connection method.

The HC-05 uses Bluetooth Classic serial communication, so this is the correct option for our project.

Step 3: Discover Bluetooth Devices

Turn on Bluetooth on your smartphone if it is not already enabled.

In the Bluetooth Electronics app, tap Discover.

The application will search for nearby Bluetooth devices.

Wait until the HC-05 appears in the discovered devices list.

Select the HC-05 module.

Step 4: Pair the HC-05 Module

After selecting HC-05, tap Pair.

If your smartphone requests a Bluetooth PIN, try:

  • 1234
  • 0000

The default PIN for many HC-05 modules is 1234, although it may vary depending on the module configuration.

Once paired, the HC-05 should appear in the paired devices list.

If pairing through the application does not work, open the Android Bluetooth settings, find HC-05, and pair it there.

Step 5: Connect to HC-05

Return to the Bluetooth Electronics application.

Select HC-05 from the paired devices list and tap Connect.

Wait for the connection to complete.

The connection status should indicate that your smartphone is connected to the Bluetooth module.

Return to the main screen.

Step 6: Run the Control Panel

Select your configured robot car panel and tap Run.

You should now see the directional control buttons on your smartphone screen.

Your Android smartphone is ready to control the Arduino Bluetooth robot car!

Note: On Android 12 and newer, allow the Bluetooth or Nearby Devices permissions requested by the application. The app is designed for Android; this HC-05 Bluetooth Classic setup is not intended for standard iPhone control.

11. Test the Bluetooth Controlled Robot Car

Now let’s test the complete project.

Before placing the robot on the floor, lift the chassis so that both wheels can rotate freely.

Open the Bluetooth Electronics app and make sure it is connected to HC-05.

Test each button individually.

TestSmartphone ButtonExpected Result
1ForwardBoth wheels rotate forward
2BackwardBoth wheels rotate backward
3LeftRobot pivots left
4RightRobot pivots right
5StopBoth motors stop

If all movements work correctly, place the robot on a flat surface and test it again.

You can experiment with different motor speed settings in the Arduino program to achieve smooth movement.

If the robot moves backward when you press Forward, reverse the connections of the affected motor or adjust its direction signals in the Arduino code.

If the robot turns in the wrong direction, check the left and right motor connections and modify the corresponding movement functions if necessary.

Congratulations! Your Arduino Bluetooth controlled robot car is now ready.

You can control it wirelessly using the Bluetooth Electronics app on your Android smartphone.

Troubleshooting Common Arduino Bluetooth Car Problems

Sometimes the robot may not work correctly on the first attempt. Below are some common problems and their possible solutions.

Problem 1: HC-05 Bluetooth Module Is Not Connecting

Possible causes:

  • HC-05 is not powered.
  • Bluetooth is disabled on the smartphone.
  • The wrong pairing PIN is being used.
  • Another device is already connected.
  • The application does not have the required Bluetooth permissions.

Solutions:

  • Check the HC-05 VCC and GND connections.
  • Enable Bluetooth on your smartphone.
  • Try the pairing PIN 1234 or 0000 if the module uses its default settings.
  • Disconnect other devices and reconnect.
  • Allow the required Nearby Devices permissions.

Problem 2: Robot Car Is Not Moving

Possible causes:

  • Motor battery is discharged.
  • Motor driver wiring is incorrect.
  • ENA or ENB connections are incorrect.
  • Motor driver logic supply is missing.
  • Common ground is not connected.
  • Arduino pin configuration is incorrect.

Solutions:

  • Check the motor battery voltage.
  • Verify the L298N connections.
  • Check the ENA and ENB jumper configuration.
  • Confirm that Arduino and L298N share a common ground.
  • Check the Arduino program and pin assignments.

Problem 3: Robot Moves in the Wrong Direction

If the robot moves backward when you press Forward, one or both motor connections may be reversed.

Swap the two wires of the affected motor at the L298N output terminals.

You can also change the HIGH and LOW signals in the corresponding Arduino motor-control function.

Problem 4: Robot Turns in the Wrong Direction

If the robot turns right when you press the Left button, check the motor output connections and confirm which motor is installed on each side.

You may need to swap the motor connections or adjust the left and right movement functions in the Arduino code.

Problem 5: Bluetooth Commands Are Not Working

Check the following:

  • HC-05 TXD is connected to Arduino Pin 2.
  • HC-05 RXD is connected to Arduino Pin 3 through a voltage divider.
  • Bluetooth baud rate is set to 9600.
  • The Bluetooth Electronics app sends the correct characters.
  • The smartphone is connected to HC-05.
  • The directional buttons have the correct press and release strings.

You can also open the Arduino Serial Monitor at 9600 baud to check the received commands. Disconnect the HC-05 from the Arduino hardware serial pins during USB uploading or serial debugging only if your setup requires it; in this project, the HC-05 uses SoftwareSerial pins 2 and 3, so the hardware serial interface remains available.

Problem 6: Robot Car Moves Slowly

The robot may move slowly because of:

  • Low battery voltage.
  • Insufficient battery current.
  • Excessive mechanical friction.
  • Incorrect motor speed settings.
  • Voltage drop across the L298N motor driver.

Check the battery condition and make sure the wheels rotate freely.

You can also increase the motorSpeed value in the Arduino code, provided the motors and driver are operating within their ratings.

Problem 7: Robot Stops Only When You Press the Stop Button

If the robot continues moving after releasing a directional button, the button’s release string may not be configured correctly.

Open the Bluetooth Electronics panel editor.

Select each directional button and check its release string.

Make sure all four directional buttons send S when released.

This ensures that the Arduino receives the stop command automatically whenever you release a movement button.

Problem 8: Arduino Resets When Motors Start

DC motors can draw a large startup current, which may cause voltage fluctuations.

Possible solutions:

  • Use a suitable motor battery with sufficient current capacity.
  • Avoid powering motors from Arduino’s 5V pin.
  • Check the common ground connections.
  • Use a separate regulated supply for Arduino and HC-05.
  • Keep motor wiring short and secure.

A properly designed power supply arrangement is essential for reliable Arduino robot car operation.

Conclusion

In this tutorial, we learned how to make a Bluetooth controlled robot car using Arduino Uno, an HC-05 Bluetooth module, and an L298N motor driver.

We assembled a 2WD Smart Robot Car Chassis, connected two DC geared motors, completed the Arduino Bluetooth car wiring, and uploaded the complete Arduino source code.

We also learned how to install and configure the Bluetooth Electronics app, pair our Android smartphone with the HC-05 module, and create a custom control panel for operating the robot car.

With this setup, you can control the robot wirelessly using the Forward, Backward, Left, Right, and Stop buttons on your smartphone.

This Arduino Bluetooth robot car is an excellent beginner electronics project for learning Arduino programming, Bluetooth communication, DC motor control, and basic robotics.

You can further improve this project by adding ultrasonic obstacle detection, automatic obstacle avoidance, headlights, or additional smartphone controls.

We hope you enjoyed building this Arduino Bluetooth controlled robot car. If you have any questions about the circuit connections, Arduino code, or Bluetooth Electronics app configuration, feel free to leave a comment below.

Need Help With Your Arduino Project?

If you encounter any problems while building this Bluetooth controlled robot car, don’t worry! The Arduino Expert team is here to help. If you have questions about circuit connections, Arduino code, HC-05 Bluetooth communication, or the Bluetooth Electronics app, feel free to contact us.

You can leave your questions in the comments section below or reach out to us through our Contact Us page or WhatsApp. We’ll do our best to help you troubleshoot the issue and get your robot car working.

When asking for help, please include a description of the problem, any error messages, and clear pictures of your circuit connections if possible.

Frequently Asked Questions (FAQs)

How can I make a Bluetooth controlled robot car using Arduino?

You can build a Bluetooth controlled robot car using Arduino Uno, an HC-05 Bluetooth module, an L298N motor driver, two DC motors, a battery pack, and a 2WD robot chassis. Connect the components, upload the Arduino program, install Bluetooth Electronics on an Android smartphone, pair the HC-05, and configure the directional buttons.

Which Bluetooth app is used to control an Arduino robot car?

We use the Bluetooth Electronics app developed by KEUWLSOFT. It allows users to create customizable control panels with buttons, switches, sliders, and other controls for communicating with Arduino projects through Bluetooth.

How do I control an Arduino car using my mobile phone?

You can control an Arduino car using an Android smartphone and the Bluetooth Electronics app. Pair the phone with the HC-05 Bluetooth module, connect through Bluetooth Classic, and use the configured Forward, Backward, Left, Right, and Stop buttons.

Which Bluetooth module is used for an Arduino Bluetooth car?

The HC-05 Bluetooth module is commonly used for Arduino Bluetooth car projects. It supports classic Bluetooth serial communication and allows Arduino Uno to receive wireless commands from compatible smartphones.

What is the purpose of the L298N motor driver in this project?

The L298N motor driver controls the direction and speed of two DC motors. It acts as an interface between Arduino Uno and the motors because Arduino cannot directly provide the current required to drive them.

What is the default password of the HC-05 Bluetooth module?

Common default pairing passwords for HC-05 modules are 1234 and 0000. However, the password may vary depending on the module configuration.

Can I control the speed of the Bluetooth robot car?

Yes. You can control motor speed using PWM signals through the ENA and ENB pins of the L298N motor driver. In this tutorial, the speed is adjusted using the motorSpeed variable in the Arduino program.

Can I control an Arduino Bluetooth car without Wi-Fi?

Yes. The HC-05 uses Bluetooth communication, so you do not need Wi-Fi or an internet connection to control the robot car.

Can I use Bluetooth Electronics with an HC-05 module?

Yes. Bluetooth Electronics supports Bluetooth Classic communication with HC-05 and HC-06 modules. You can use its customizable buttons to send movement commands to Arduino.

Can I use an iPhone to control an HC-05 Arduino robot car?

The HC-05 uses Bluetooth Classic Serial Port Profile (SPP), which is not generally supported by standard iOS Bluetooth applications. An Android smartphone is the recommended option for this particular project. For iPhone compatibility, consider a suitable BLE module and a compatible control application.

Can I use an Arduino Nano instead of Arduino Uno?

Yes. You can use an Arduino Nano instead of Arduino Uno. The Nano has similar microcontroller functionality and can control the HC-05 Bluetooth module and L298N motor driver. However, you may need to adjust the wiring if you use different pin assignments.

What battery is best for an Arduino Bluetooth robot car?

The best battery depends on the voltage and current requirements of your DC motors. Choose a rechargeable battery pack that can supply sufficient current during motor startup and normal operation. Make sure its voltage is compatible with your motors and motor driver.

Leave a Reply

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

Facebook
YouTube