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.)

  • 316 views
  • 0 comments
  • 5 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

Music Adaptive RGB LED with Arduino and Processing

Project in progress by ounane mohamed elfarouk

  • 612 views
  • 5 comments
  • 7 respects

Monitoring Temperature Remotely with Blynk for Dummies

Project in progress by Cmtelesann

  • 390 views
  • 2 comments
  • 2 respects

Cellular IoT with Blynk & Hologram

by Moheeb Zara

  • 4,305 views
  • 9 comments
  • 13 respects

Add Remote Control to Your Lamp

Project tutorial by littlelab

  • 511 views
  • 2 comments
  • 4 respects

Servo Signals and Characterization

by 3 developers

  • 82 views
  • 0 comments
  • 4 respects
Add projectSign up / Login