Skip to main content

LATEST POST

MATHS TALENT TEST SCORES RELEASED OVERALLS

THE VOVE

THE VOVE (voice vehicle)


it is a vehicle prepared for following the voice commands by the user or owner.

the accessories required for the preparation of vove are;


1- dc motor * 4
2- jumper wires
3- motor driver * 1
4- chassis for the vehicle(cardboard or aluminium metal plate)
5- Arduino UNO R3 * 1
6- Bluetooth module(HC-05)* 1
7- Tyres * 4
8- battery (9-12v)
9- LED lights for the headlight and rear brake light.

note: we need another element for accessing the vove is smartphone.

note: all the voltages are in direct current(dc)


explanation of parts which are used in it:

DC MOTOR:

it is a motor which is connected to the tyres of the vehicle for moving.
the motor is a rotary device.it is operated between 9-12v with a 200 RPM.

JUMPER WIRES:
these are easy to connect the holders and allows the current through it.and transmit from one area to another area.
MOTOR DRIVER:
the motor driver is an electrical device used to drive the motors.it can be operated up to 35 v.
CHASSIS:
it is a flat surface of frame used to hold all the accessories and act as like a supporter.

ARDUINO UNO R3:
it is an electrical operated electronic device.it sends the data to all the accessories what to do and also
collects the data from the accessories. it is work like a mini-computer.it consists of a memory which stores the data what we instructed and compiles the data to do work.it stores the data in a binary form. it is operated between 9-12v.it consists of pins, these were switches operated by according to the predefined programme or instructions. the Arduino is instructed by the computer using Arduino IDE software.

BLUETOOTH MODULE(HC-05):
It is a module used for sharing the Bluetooth signals.it is operated with 5v current.which is used to connect for mobile and collect the data from mobile to Arduino.

TYRES:

here we used the four tyres. tyres are the friction elements.which are used to move an object.

BATTERY:
the battery we used here is 9-12v. it is used to run all accessories with electricity. the battery is an electric energy storage device .we can use this where ever and whenever required.

LED LIGHTS:
led means light-emitting diode. here we used this for head and brake lights purpose.it is operated in between 3-5v.

PROCEDURE FOR CONNECTING THE ACCESSORIES:


take Arduino Uno r3 and connect the Tx, Rx pin holders to Tx, RX pins of the Bluetooth module(Hc-05). and also connect the 4dc motors like right motor forward, right motor backwards, left motor forward, left motor backwards. these four motors are connected to output pins of the motor driver L298N. IN1, IN2, IN3, IN4 pins of a motor driver connected to the digital of an Arduino Uno r3(2,3,4,5)pins. connect the Bluetooth 5v, ground pins to Arduino 5v and ground holder.and also connect the 12v battery to Arduino and motor driver through the jumper wires or normal thin wires. must connect the led headlight to the digital pin 6 of an Arduino. connect the ground of the motor driver to Arduino ground or battery ground.

NOTE: NEVER UPLOAD THE CODED TO ARDUINO WHILE THE TX AND RX PINS ARE IN CONNECTED.BECAUSE ARDUINO SHOWS THE ERRORS WHILE UPLOADING.
CONNECT THE TX AND RX PINS TO ARDUINO AFTER UPLOADED THE CODE.

NOTE2: CONNECT THE ARDUINO USB CABLE TO LAPTOP WHILE UPLOADING THE CODE.

THE CIRCUIT DIAGRAM:




THE CODES USED: the code is uploaded through the IDE application from the laptop.


#include <SoftwareSerial.h>

SoftwareSerial BT(1, 0); //TX,RX PINS OF A BLUETOOTH CONNECTED TO THE ARDUINO UNO R3

String readvoice;


int RF = 2;// IN1 (this is connected from the motor driver L298 to arduino uno r3)
int RB = 3;// IN2 (this is connected from the motor driver L298 to arduino uno r3)
int LF = 4;// IN3 (this is connected from the motor driver L298 to arduino uno r3)
int LB = 5;// IN4 (this is connected from the motor driver L298 to arduino uno r3)
int LED = 6;// led is connected to this pin

void setup() {

  BT.begin(9600);

  Serial.begin(9600);

  pinMode(RF, OUTPUT);
  pinMode(RB, OUTPUT);
  pinMode(LF, OUTPUT);
  pinMode(LB, OUTPUT);
  pinMode(LED,OUTPUT);

}

void loop() {

  while (BT.available()) {
    delay(10);
    char c = BT.read();
    readvoice += c;

  } if(readvoice.length()>0){
    Serial.println(readvoice);

    if(readvoice == "forward"){

      digitalWrite(RF, 1); // here the forward motor moves
      digitalWrite(LF, 1); // here the left forward motor moves
      digitalWrite(RB, 0);
      digitalWrite(LB, 0);
      delay(100);
    } else if(readvoice == "back"){

      digitalWrite(RF, 0);
      digitalWrite(LF, 0);
      digitalWrite(RB, 1); // right back motor moves back
      digitalWrite(LB, 1); // left back motor moves back
      delay(100);
    } else if(readvoice == "right"){

      digitalWrite(RF, 0);
      digitalWrite(LF, 1);
      digitalWrite(RB, 0);
      digitalWrite(LB, 0);
      delay(100);
    } else if(readvoice == "left"){

      digitalWrite(RF, 1); // right forward motor starts to move
      digitalWrite(LF, 0);
      digitalWrite(RB, 0);
      digitalWrite(LB, 0);
      delay(100);
    } else if(readvoice == "stop"){

      digitalWrite(RF, 0);
      digitalWrite(LF, 0);
      digitalWrite(RB, 0);
      digitalWrite(LB, 0);
      delay(100);
    } else if(readvoice == "off"){

      digitalWrite(RF, 0);
      digitalWrite(LF, 0);
      digitalWrite(RB, 0);
      digitalWrite(LB, 0);
      delay(100);
    } else if(readvoice == "hey siva ready"){
    digitalWrite(RF, 1);
    digitalWrite(LF, 1);
    digitalWrite(RB, 0);
    digitalWrite(LB, 0);
    delay(600);

    digitalWrite(RF, 0);
    digitalWrite(LF, 0);
    digitalWrite(RB, 1);
    digitalWrite(LB, 1);
    delay(600);

    digitalWrite(RF, 0);
    digitalWrite(LF, 0);
    digitalWrite(RB, 0);
    digitalWrite(LB, 0);
    delay(100);
  } else if(readvoice == "activate the dlrl"){
    digitalWrite(LED,1);
    delay(1000);
  } else if(readvoice == "deactivate the dlrl"){
    digitalWrite(LED,0);
    delay(1000);
  }readvoice = "";}}

you can download the code by tapping on it DOWNLOAD

THE RESULT VIDEO:







READ THIS ARTICALES