Sie sind auf Seite 1von 21

KLE DR.

MS SHESHGIRI COLLEGE OF
ENGINEERING ,UDYAMBAG BELAGAVI

DEPARTMENT OF
BIOMEDICALENGINEERING

VOICE CONTROLLED LED’S USING


ARDUINO UNO

Sonam Netalkar 2.Shreya Patil

3. Soumya bhagoji 4.Tejaswini TM


COLLEGE OF ENGINNERING &
TECHNOLOGY
UDYAMBAGH,BELGAUM 590008

DEPARTMENT OF BIOMEDICAL ENGINEERING

CERTIFICATE

This is to certify that the mini project entitled “Voice controlled


led’s “ is submitted by Shreya Patil, Sonam Netalkar , Soumya
Bhagoji, Tejaswini TM of IV semester bio-medical engineering
under the guidance of Prof.Basavaraj Chougule.
HOD:Dr.Raviraj Hawaldar

COORDINATE PROFESSOR:Prof. Umashree Sajjanavar


ACKNOWLEDGEMENT

The successful completion of our project would seem incomplete


without expressing our heartfelt thanks to all those who have helped
us throughtout the project with their invaluable guidance

First of all, we are grateful indebted to our guide Ms.Umashree


Sajjanavar for the immense help provided and for guiding us. Thank
you mam for giving your precious time & guidance.

We are grateful to the HOD of biomedical department Mr.Raviraj


Hawalder for his cooperation and support through out our project.

We are deeply thankful to the Department of Biomedical Engineering


for providing us all the facilities for the successful completion of our
project work.

Last but not the least we are especially grateful to our parents
and friends who have always supported and encouraged us in all our
endeavours.

THANK YOU ONE AND ALL


INTRODUCTION

This project purpose is the use of an android phone


to control On and Off of LED’s using voice command
BLOCK DIAGRAM
PIN DIAGRAM
COMPONENTS REQUIRED

 Arduino UNO
 HC-06 Bluetooth Module
 Breadboard
 Jumper Cables
 330 Ohm Resistors
 LED's
 Android app
PROGRAM

String voice;

int RED = 2;

int GREEN = 3;

int BLUE = 4;

void RedOn()

{
digitalWrite (RED, HIGH);

void RedOff()

digitalWrite (RED, LOW);

void GreenOn(){ digitalWrite (GREEN, HIGH);

void GreenOff(){ digitalWrite (GREEN, LOW);

void BlueOn(){ digitalWrite (BLUE, HIGH);

void BlueOff(){ digitalWrite (BLUE, LOW);

}
void allon() { digitalWrite (RED, HIGH);

digitalWrite (GREEN, HIGH);

digitalWrite (BLUE, HIGH);

void alloff()

digitalWrite (RED, LOW);

digitalWrite (GREEN, LOW);

digitalWrite (BLUE, LOW);

void setup()

Serial.begin(9600);

pinMode(RED, OUTPUT);

pinMode(GREEN, OUTPUT);

pinMode(BLUE, OUTPUT);

void loop()

while(Serial.available())

delay(10);

char c=Serial.read();

if(c=='#') {break;

}
voice += c; } if (voice.length() > 0)

Serial.println(voice);

if (voice == "on" || voice == "all") { allon() ;

else if (voice == "off" || voice=="all off") { alloff() ;

else if(voice =="red" || voice =="red on")

{ RedOn();

else if(voice =="red off"){ RedOff();

else if(voice =="green" || voice =="green on"){ GreenOn();

else if( voice =="green off" ){ GreenOff();

else if(voice =="blue" || voice =="blue on"){ BlueOn();

else if(voice =="blue off"){ BlueOff();

} voice="";

}
WORKING

* The standard HC-05 bluetooth module has six pins. However, we will
only be using 4 in this project. The pins we will be using are the VCC pin,
the GND pin, the TXD pin, and the RXD pin. The VCC pin of the bluetooth
module connects to the +3.3V of the Arduino. The GND pin of the module
connects to GND of the Arduino. TX pin of the bluetooth module connects
to digital pin 0 (RXD), and the RXD pin connects to digital pin 1 (TXD).

* The next step in creating our voice controlled LED's is to connect the
LED's to the Arduino through the breadboard. First, connect the short
end of the LED to ground. Next, connect the long end of each of the LED's
to a 330 ohm resistor. Finally, connect the resisted current from the
LED's to digital pins on the Arduino. In this project, we will be connecting
one LED to digital pin 2, another to digital pin 3, and the last LED to
digital pin 4.

* For this project, we can supply power to the Arduino through any +5V
power source. You can use a USB port from your computer to power the
Arduino, but in this project I will be using a 5V portable battery. Before
you connect a power source to your Arduino, make sure that the GND of
the Arduino is connected to ground of the breadboard.

* You can begin to test your project by downloading the app for Android:
BT Voice Control for Arduino; Created by SimpleLabsIN. Next, click on
the menu bar in the upper right hand corner and select 'Connect Robot.'
On the new window that appears, select the HC-05 bluetooth module and
connect it. Congrats! You have completed your voice controlled LED
Arduino project. Now, when you speak certain commands from the code
into your device through the app, specific LED's should turn on and off.
APPLICATIONS

 This project is designed to establish a connection between human


speech and a L.E.D display so as to make it convenient for the user
to display messages on the L.E.D matrix. We designed a basic
functional block diagram that matches the required specifications
of the project.

 Accordingly then power supply, printed circuit boards were


developed and hardware selections were made. Different
approaches to light the matrix were tested and column scanning
method was selected. For voice to text conversion AMR_Voice
application on an android phone was selected.

 The system developed is found to be very useful at public places to


display human speech on the L.E.D Matrix so as make it easy for
public to understand and also for people having hearing problems.
The system can be used anywhere there is a need for information
sharing like bus stations, railway stations, markets, banks etc.

 The system can also be used at engineering colleges to illustrate a


circuit with programmable microcontroller and basic electronic
components. It would allow the students to understand the concept
clearly and construct other circuits on their own.

Das könnte Ihnen auch gefallen