Bluetooth-Controlled Car
Objective
To design and build a car that can be controlled wirelessly using a Bluetooth module and an
Arduino Uno.
Materials Required
• Arduino Uno (Microcontroller)
• Bluetooth Module (HC-05/HC-06) (For wireless communication)
• Motor Driver Module (L298N) (To control the motors)
• Lithium Battery (Rechargeable 18650 or similar) (Power source)
• DC Motors (2 or 4) (For movement)
• Chassis (Cardboard/Plastic/3D Printed) (Frame of the car)
• Wires and Jumper Cables (For connections)
• Smartphone with Bluetooth Controller App
Working Principle
This project is based on wireless communication and motor control. The Bluetooth module
receives signals from a smartphone app and sends them to the Arduino Uno, which
processes the input and controls the motors accordingly.
1. The Bluetooth module (HC-05) pairs with the smartphone and receives
commands.
2. The Arduino Uno processes these commands and sends signals to the motor
driver module (L298N).
3. The motor driver module then controls the DC motors, allowing the car to
move forward, backward, left, or right.
4. The lithium battery supplies power to all components.
Procedure
Step 1: Setting Up the Circuit
1. Connect the Bluetooth Module to the Arduino:
• VCC → 5V (Arduino)
• GND → GND (Arduino)
• TX → RX (Arduino)
• RX → TX (Arduino)
2. Connect the Motor Driver Module (L298N) to Arduino:
• IN1, IN2, IN3, IN4 → Digital Pins (Arduino)
• VCC → 12V (from battery)
• GND → GND
3. Connect the DC Motors to the motor driver module.
4. Connect the Power Source (Lithium Battery) to the motor driver module.
Step 2: Programming the Arduino
Upload a simple code to control the car based on Bluetooth commands received from the
smartphone.
Sample Code (Arduino C++)
#include <SoftwareSerial.h>
SoftwareSerial BT(2, 3); // RX, TX
int motor1A = 4;
int motor1B = 5;
int motor2A = 6;
int motor2B = 7;
void setup() {
pinMode(motor1A, OUTPUT);
pinMode(motor1B, OUTPUT);
pinMode(motor2A, OUTPUT);
pinMode(motor2B, OUTPUT);
BT.begin(9600);
}
void loop() {
if (BT.available()) {
char command = BT.read();
if (command == 'F') { // Forward
digitalWrite(motor1A, HIGH);
digitalWrite(motor1B, LOW);
digitalWrite(motor2A, HIGH);
digitalWrite(motor2B, LOW);
} else if (command == 'B') { // Backward
digitalWrite(motor1A, LOW);
digitalWrite(motor1B, HIGH);
digitalWrite(motor2A, LOW);
digitalWrite(motor2B, HIGH);
} else if (command == 'L') { // Left
digitalWrite(motor1A, LOW);
digitalWrite(motor1B, HIGH);
digitalWrite(motor2A, HIGH);
digitalWrite(motor2B, LOW);
} else if (command == 'R') { // Right
digitalWrite(motor1A, HIGH);
digitalWrite(motor1B, LOW);
digitalWrite(motor2A, LOW);
digitalWrite(motor2B, HIGH);
} else if (command == 'S') { // Stop
digitalWrite(motor1A, LOW);
digitalWrite(motor1B, LOW);
digitalWrite(motor2A, LOW);
digitalWrite(motor2B, LOW);
}
}
}
Step 3: Connecting the Smartphone App
1. Install a Bluetooth controller app like “Bluetooth RC Controller” or “Arduino
Bluetooth Controller” from the Play Store.
2. Pair the smartphone with the HC-05 Bluetooth module.
3. Send commands like:
• “F” for Forward
• “B” for Backward
• “L” for Left”
• “R” for Right”
• “S” for Stop”
Now, your car should respond to the commands and move accordingly.
Uses of Bluetooth Module & Car
1. Applications of Bluetooth Module (HC-05/HC-06)
• Remote Control Vehicles (Cars, drones, boats)
• Home Automation (Controlling lights, fans, or appliances)
• Wireless Data Transfer (Between two microcontrollers)
• IoT Projects (Smart home systems, healthcare monitoring)
• Industrial Automation (Controlling machines wirelessly)
2. Applications of Bluetooth-Controlled Car
• Surveillance & Security (Can be equipped with a camera for remote
monitoring)
• Agriculture Automation (Can be modified for farming tasks)
• Rescue Missions (Used in hazardous areas for inspection)
• Robotics Learning (Great for understanding wireless communication and
motor control)
Conclusion
The Bluetooth-controlled car is an excellent example of wireless communication and
embedded systems. This project helps students understand how microcontrollers, motor
drivers, and Bluetooth modules work together. It also opens doors to more advanced
automation and robotics projects.
🚀
This should be perfect for your Science Day project. Let me know if you need any
modifications or explanations!