Project tutorial

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,184 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

RC Rover Controlled by Gest

Project showcase by Salim Khazem

  • 795 views
  • 1 comment
  • 12 respects

Rover Controlled Using Myo Armband and Raspberry Pi 3

Project showcase by Team Brink.IO

  • 721 views
  • 2 comments
  • 14 respects

Voice Controlled Arduino Robot

Project tutorial by s_r tronics

  • 18,396 views
  • 2 comments
  • 10 respects

2WD Voice Controlled Robot with Arduino and BitVoicer Server

Project tutorial by Marcio Tamagushi

  • 9,447 views
  • 6 comments
  • 25 respects

Voice Controlled Robot using your Smart Phone

Project tutorial by Ahmed Yassin

  • 2,721 views
  • 0 comments
  • 5 respects
Add projectSign up / Login