Project tutorial
Voice Controlled Rover

Voice Controlled Rover © CC BY-NC-SA

A rover that runs on wheels using Arduino controlled remotely through our voice command alone! (With the use of BitVoicer.)

  • 1,372 views
  • 0 comments
  • 11 respects

Components and supplies

Apps and online services

BitVoicer

About this project

Hello friends,

By this project, we have managed to control a rover or car using our voice command alone using BitVoicer (a third party propriety software).

Contents:

  • Setup the Rover.
  • Install and configure software required.
  • Compile and execute the code.

Set Up the Rover:

Take a base for setting up wheels for motion add two wheels that compiles up to our Reer wheels. Add a ball bearing in the front and now u get an Auto-rickshaw like structure. Place Arduino and battery on to the board and afix them with screws. Now two DC motors on two wheels and connect them to a H-bridge motor driver. Connect the motor drive to the Arduino using jumper wires.

Install and Configure Software Required:

On your lapto, install Arduino software and open it. Connect the Arduino to the USB slot of laptop. In the tools section, select the Arduino Uno board and the COM port that you have plugged your Arduino into. Now install BitVoicer software from web.

Compile and Execute the Code:

Download the code from the link below and according to the code set commands on BitVoicer, connect an external microphone or earphone for voice commands. After setting up commmands, connect the Arduino to the laptop and upload the code.

Code

Code for voice controllingArduino
upload the code in arduino
#include <BitVoicer11.h>
BitVoicerSerial bvSerial = BitVoicerSerial();
byte datatype = 4;
int leftmotor1=5;
int leftmotor2=6;
int rightmotor1=10;
int rightmotor2=11;

void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
   pinMode(leftmotor1,OUTPUT);
   pinMode(leftmotor2,OUTPUT);
   pinMode(rightmotor1,OUTPUT);
   pinMode(rightmotor2,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:

}
 void serialEvent()
{
  datatype = bvSerial.getData();
  int input = bvSerial.intData;
  
  if (datatype ==  BV_STR)
 {
    
    if ((bvSerial.strData) == "go forward")
   {
      digitalWrite(leftmotor1, HIGH);
      digitalWrite(leftmotor2,LOW);
      digitalWrite(rightmotor1, HIGH);
      digitalWrite(rightmotor2, LOW);
   }
 }
 }

Comments

Similar projects you might like

Arduino Bluetooth Basic Tutorial

by Mayoogh Girish

  • 455,197 views
  • 42 comments
  • 239 respects

Home Automation Using Raspberry Pi 2 And Windows 10 IoT

Project tutorial by Anurag S. Vasanwala

  • 286,075 views
  • 95 comments
  • 672 respects

Security Access Using RFID Reader

by Aritro Mukherjee

  • 229,715 views
  • 38 comments
  • 239 respects

OpenCat

Project in progress by Team Petoi

  • 197,251 views
  • 154 comments
  • 1,372 respects
Add projectSign up / Login