loading

Control your Arduino with voice commands using an Android smartphone! Before we make a voice activated home automation system, we must first learn the basic principles of the experiment. This guide will let you command the Arduino using your Android smartphone and a HC-05 Bluetooth module.

The designer of the app did not include a sample code. I looked for alternatives in Google's PlayStore but none was as good as the app that I've found. Luckily, I was able to figure it out although it took me a while to program it. Sorry IOS users, this app isn't available in Apple's app store :/

How Does It Work?
Have you ever encountered Android's speech recognition? Yes android has one and you can use it to control your Arduino, via Bluetooth. The App works by pressing the mic button, then the it will wait for you to say a command. The app will then display the word's that you've stated and will send data strings for the Arduino to process.

Home Automation System (on July 4, 2014):
A month from now/ I'll be releasing a highly sophisticated home automation + security system. It's my biggest project ever! Our current agenda is to program a better smartphone app that work's like Siri (talks back) and sends strings (data types) to the Arduino via bluetooth. If you want to take a sneak peek of the project and it's concept, kindly skip to the last step. The prototype that I'm working on now is composed of a network of wireless switch boxes that connects to a main control panel via WiFi/ Bluetooth.

Here's A Quick Video Demo:

Step 1: Parts & Materials

If your having trouble in finding them, I'm sure RadioShack has all of them. If you want to buy online try searching on Amazon or DealExtreme.

Thing that you'll need:
- 5 LED Indicators (the color of your choice)
- Arduino UNO (a clone works fine)
- HC-05 Serial Bluetooth Module
- Solderless Breadboard
- Jumper Cables

<p>i followed all steps you wrote . <br>but why i can`t upload the code in ardino . ? </p><p>Arduino: 1.6.5 (Windows 8.1), Board: &quot;Arduino Uno&quot;</p><p>Sketch uses 4,714 bytes (14%) of program storage space. Maximum is 32,256 bytes.</p><p>Global variables use 382 bytes (18%) of dynamic memory, leaving 1,666 bytes for local variables. Maximum is 2,048 bytes.</p><p>avrdude: ser_open(): can't open device &quot;\\.\COM1&quot;: The system cannot find the file specified.</p><p>Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.</p><p> This report would have more information with</p><p> &quot;Show verbose output during compilation&quot;</p><p> enabled in File &gt; Preferences.</p>
<p>Check if your com port is correct .....</p>
<p>can you parse whatever string is stored inside voice? so for example, if voice is equal to &quot;please turn on the light&quot;, can I write an if statement saying: &quot;if voice contains on and contains light, then turn on the light&quot; instead of only doing checks for equality?</p><p>thanks!</p>
<p>Teacher~</p><p>send the code to my mail id.</p><p><br>milkso77@gmail.com</p>
I am getting this error while pressing upload.I am new to this and doing this is my first project please help me please
<p>Hello, I also get this message. The serial port is the right one, I've tried all the suggestions described here. I don't know what else to do. Can anyone help please?</p>
You should compile before connecting the pin 0 (RX). It worked for me.
Disconnect the RX and TX pin and upload
<p>Check for the COM port of Your Arduino connected to the computer from 'Device Manager'. Then select it from 'serial port' in 'Tools' menu in Your IDE. Then Upload. </p><p>And then, kindly reply me!</p>
<p>I did it with a Bluetooth 4.0 (HMsoft) .. And it's not connecting using the AMR_Voice. Any way to fix it without changing bluetooth module? :(</p>
<p>try to use a phone that supports Bluetooth 4.0 technology.\</p>
<p>Hey! </p><p>I made this project</p><p>Everything works perfectly</p><p>My voice is recognized</p><p>but my LEDs aren't performing the command</p><p>why? :C</p>
<p>Will this work with any bluetooth modules? Or just JY-MCU?</p>
<p>hey</p><p>i wired all the stuffs like you do </p><p>but when i start to talk to my phone the hc-05 start to recive garbage and wrong thinks </p><p>for example when i said Hello it recives </p><p>&bdquo;&lrm;</p><p>and Hi</p><p>- </p><p>and nothing will hapend </p>
<p>very good project </p><p>can you please provide the code of voice controlling for arduno-bluetooth controlled car(robot).</p><p>ridvik97@gmail.com</p><p>hoping you will reply.</p>
<p>Very cool project!</p><p>We used the same app to add vocal control to our domotic framework</p><p>http://freedomotic.com/content/plugins/bt-speech-recognition</p>
What if i want to use it at my home to switch on and off light fans etc.<br>Does we have to make any change?<br>Pls help me out i want to use it in my room!
Connect a relay to arduino then
In that video arduino is connected to what through usb cable cant we remove that?
It's for power supply to adruino...instead of USB you can use a 9v battery
<p>wow i did it</p>
<p>i m speaking tv off and the lights are getting on</p><p>y is it soo ?????</p>
For controlling any ac appliance like tv,computer ,fan bulb then u should use relay and a trasister amplifing circuit to the port of led connected boss..
Can you make the app work without having to touch the screen? It would continuously listen for an activation command instead. Thanks.
<p>error &quot;voice&quot;</p><p>i want blurtooth library</p>
In that video arduino is connected to what through usb cable cant we remove that?
I want the app like siri which will work by enabling the Bluetooth module
<p>sir, can you please send me the code of this project.. victenor21@gmail.com</p><p> thank you </p>
The code is already there on the zip file
How to ON or OFF my computer with voice...
How to ON or OFF my computer with voice...
<p>i made everything as u write sir, but not recognizing the voice.. and continuosly voltage on the all outputs.</p>
<p>hey is it fine that u dont use any voltage divider from the arduino to the blutooth module?</p>
<p>can you tell me hoe to connect my bb8 (DIY) </p><p>with this project to enable voice control for his voice module</p><p>pls reply</p>
<p>Hey nice job! This was something me and my friend made when we got bored and stuff and it was pretty cool to try it out. Thank you very much. I've written about this and also posted a video showing us just playing with the stuff trying to get it to listen to us :P. You can see that at igeorge.in :)</p>
Can we design this using 8051 microcontroller?
excellent,but how to add string at a time two items start or stop,i ts more helpful
can I use this without bluetooth via otg cable uing serial commands. if yes send me the code please. and app too.
send the code to my mail id.<br><br>kumar.bols@gmail.com
<p>i m speaking tv off and the lights are getting on</p><p>y is it soo ?????</p>
<p>There may be connection error. Just check that the LED connected as TV is on only in coding.</p>
<p>Hi!<br>Amazing project! Do you know if it would be possible to connect multiple phones at the same time? To receive and evaluate their microphone inputs? <br><br>Thanks so much!!</p>
No, blue tooth can only handle one client at a time.
<p>but when i said like turn on or off tv or fan it take time to get correct commands can some one help me what is going on here thanks</p>
<p>hello my name is salah iam students of telecommunication engineering our teacher give us hardware designing project so i fond this project Voice Controlled Switch with Arduino and every things is working but i have little problem when i said like fafacommands </p>
<p>can anyone plzz help me out with one problem that has occured</p>
<p>can anyone plzz help me out with one problem that has occured</p>
<p>Connected the outputs to a relay board. I'm gonna test with a bulb first if it works I'll probably upload code into an attiny85 and if it works, my house is gonna be automated soon :D</p>
<p>I made it, works perfectly in Serbian language too :)</p>
<p>hi,</p><p>thanks for this helpful video. we actually used this as a reference on our research. can you please help us how to upgrade or enhance this by using real appliances? thanks in advance :) cheers!!</p>

About This Instructable

181,674views

1,083favorites

License:

Bio: Hi I'm Angelo! I am a 17 y/o Physics Major at the DLSU and I use my course as an inspiration for making ... More »
More by ASCAS:DIY Life-Size Phone Controlled BB8 DroidRig A Car Horn To Your Alarmclock!Build A Smartphone Projector With A Shoebox
Add instructable to: