Translate

Arduino Voice Controlled Robot

1. Introduction

Bluetooth Voice Control RobotIn this project, we will build a voice-controlled robot using Arduino, where the robot moves based on voice commands given through a smartphone. The commands are sent via Bluetooth using an Android app and received by the Arduino.

This project is widely used in robotics learning, automation, and assistive technology.


2. Components Required

  • Arduino Uno / Nano
  • L298N Motor Driver Module
  • HC-05 Bluetooth Module
  • DC Motors (2 or 4)
  • Robot Chassis
  • Jumper Wires
  • Battery (7.4V / 12V)

3. Circuit Diagram and Connections

Pin Diagram Arduino Uno R3
Pin Diagram L298N
Pin Diagram of HC-05 Bluetooth Module

🔌 Connections:

HC-05 Bluetooth:

HC-05Arduino
VCC5V
GNDGND
TXRX (Pin 0)
RXTX (Pin 1)

L298N Motor Driver:

L298NArduino
IN1Pin 8
IN2Pin 9
IN3Pin 10
IN4Pin 11

4. Circuit Working

  1. User speaks command in mobile app
  2. App converts voice → text
  3. Text sent via Bluetooth (HC-05)
  4. Arduino reads command
  5. Motors move accordingly

🎤 Example Commands:

  • “forward”
  • “backward”
  • “left”
  • “right”
  • “stop”

5. Arduino Code

char command;

void setup() {
Serial.begin(9600);

pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
}

void loop() {
if (Serial.available()) {
command = Serial.read();

if (command == 'F') { // Forward
digitalWrite(8, HIGH);
digitalWrite(9, LOW);
digitalWrite(10, HIGH);
digitalWrite(11, LOW);
}

else if (command == 'B') { // Backward
digitalWrite(8, LOW);
digitalWrite(9, HIGH);
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
}

else if (command == 'L') { // Left
digitalWrite(8, LOW);
digitalWrite(9, HIGH);
digitalWrite(10, HIGH);
digitalWrite(11, LOW);
}

else if (command == 'R') { // Right
digitalWrite(8, HIGH);
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
}

else if (command == 'S') { // Stop
digitalWrite(8, LOW);
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
}
}
}

6. Code Explanation

  • Arduino reads data from HC-05 using Serial
  • Each character corresponds to a command
  • Motor driver pins control robot movement

7. Output




  • Robot moves according to voice commands
  • Controlled wirelessly via smartphone

8. Applications

  • Assistive robotics
  • Smart automation
  • Hands-free control systems
  • Educational robotics

9. Advantages

  • Wireless control
  • Easy to operate
  • Interactive project
  • Good for beginners and advanced users

10. Conclusion

This project demonstrates how voice commands can be used to control robotic systems. It integrates Bluetooth communication with Arduino, making it a powerful and practical project for real-world applications.


11. Mobile App Setup (Voice Control App)

🔹 Recommended App

Use:
👉 Arduino Bluetooth Control (Android)

OR search in Play Store:
👉 “Bluetooth Voice Control for Arduino”


🔹 Install and Setup

Step 1: Install App

  • Open Play Store
  • Search: Bluetooth Voice Control Arduino
  • Install the app

Step 2: Pair HC-05 Module

  1. Turn ON your robot
  2. Go to mobile Bluetooth settings
  3. Find device:
    👉 HC-05
  4. Enter password:

    1234

    OR

    0000

Step 3: Connect App

  • Open the app
  • Click Connect
  • Select HC-05

👉 Now your phone is connected to Arduino


🔹 Voice Commands Setup

Most apps convert voice → text → send characters

Example Mapping:

Voice CommandApp SendsArduino Action
“Forward”FMove forward
“Backward”BMove backward
“Left”LTurn left
“Right”RTurn right
“Stop”SStop

🔹 How It Works Internally

  1. You speak → “Forward”
  2. App converts voice → text
  3. Converts text → character (‘F’)
  4. Sends via Bluetooth
  5. Arduino reads and executes

⚠️ Important Tips (Very Useful)

✔ Speak clearly (simple words only)
✔ Keep phone language = English
✔ Ensure Bluetooth is ON
✔ Keep robot within 5–10 meters


à´¤ുà´Ÿà´•്à´•à´•്à´•ാർക്à´•ാà´¯ി ഇലക്à´Ÿ്à´°ോà´£ിà´•്à´¸് ലളിതമാà´¯ി പഠിà´•്à´•ാം.

Empowering students in Kerala with hands-on technical skills.