Instructables
loading
loading

Voice Activated Arduino (Bluetooth + Android)

Featured
Picture of Voice Activated Arduino (Bluetooth + Android)

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:

 
Remove these adsRemove these ads by Signing Up

Step 1: Parts & Materials

Picture of Parts & Materials
DSC_0081.JPG
collagef.jpg
bluetooth-HC05-02.jpg
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

1-40 of 173Next »
Shakil143 days ago

if i execute the "allon" instruction, next time when i say "alloff" it doesnt work.. infact i can only execute one instruction.. sir, plzzz tell me why is this happening..??

Shakil143 days ago

if i execute the "allon" instruction, next time when i say "alloff" it doesnt work.. infact i can only execute one instruction.. sir, plzzz tell me why is this happening..??

Shakil143 days ago
acap1233 days ago

Great!!!!!Sir I require the source code for the android application. Please mail me as early as possible on my id amirulacap92@gmail.com

sajeer1234 days ago

Hi am sajeer am note getting the out put please help me in this ..

hoply ur friend

caferd6 months ago

Hi , I will do the project. You use the Android phone but i have got a i phone .Can i use the i phone ? how can i control it ?

Try searching (build on) which send data through bluetooth, but as far as I know, bluetooth in IPhone is complicated to only send voice data

ASCAS (author)  caferd4 months ago

Sorry, I don't think the app has an apple counterpart.

can we test it with only one LED?

Yes

ASCAS (author)  Deepak_Dulal1 month ago

Yes! Just remove all the "else if" before the "if statement" and you're good to go.

wildan.mai1 month ago

does the project needs Wi-Fi connection ?

Android Software connects to Bluetooth device. You have find the software which send Serial on Wifi instead of Bluetooth

Hi i am trying to make a mobile robotic arm.i want my robot to move 10 cm when i say robot go front 10 cm.so can you help me with code. I cannot understand how to take in the distance as a value of a variable from the voice string

try using this command. Instead of "Tv on" use this "front ten" then try speaking same. Use English words instead of numbers

I think there is one way. You can use time delay. once you say front 10 cm, your robot will move for time delay that is assigned for 10cm, maybe 2 secs or so.

daooda8 days ago

hi friend ,thank you for sharing this project >>> I just need to ask >>>can i use bluetooth module (HC-6)

because i made the project but it unable to connect with my phone

please reply soon

thanks so much

٢٠١٥٠٣٢١_١٨٤٨٤١.jpg٢٠١٥٠٣٢١_١٨٤٩٣١.jpg

Yes, You can use HC-06 Bluetooth Module. No problem with that. I have also used same module and it works

Hy! Is there any problem if instead of arduino uno I use Due? Thanks in advance.

fkaz77 days ago
Hai sir,could u mind sharing its source code to me .. i really need to have practise this project
.. plese mail me at nursyafiqah2626@gmail.com

have you seen step 5?

JackS4 made it!8 days ago

i made it

thanks man it is really awesome project

keep it up

IMG_1907.JPGIMG_1904.JPGIMG_1905.JPG
cristinef17 days ago

I tried to do this for my laboratory but unfortunately it didn't work. I used the Bluetooth shield v1.1 and gizduino atmega 168.

Can you give me some advice. Please reply,

THANK YOU IN ADVANCE.

karthiG20 days ago
VineethK22 days ago

Hi sir..thanks for the project.....we found some problem with" tv on and off " "fan on /off"...then "all off".....these 3 commands are not working...i opened the serial monitor i found some voice char for tv on "tv on" but u use upper case...???? can u please give me an solution for this

lorenzdmng1 month ago

can I use a bluetooth shield?

lorenzdmng1 month ago

What is the possible solution if when I try to upload the file it also appear the error, not sync. Can anyone please help me. TIA

YogeshPatel1 month ago

Great!!!!!Sir I require the source code for the android application. Please mail me as early as possible on my id yogigotu1234@gmail.com

lorenzdmng1 month ago

How do you assemble your bluetooth module on the pcb? I can't see it clearly in the pictures. Please reply asap. Tia

sweety honey2 months ago

hey i want to do this project and i have few doubts.

1.can i use any type of arduino?

2.does any android phone can be used in this project?

please reply soon...

anyone can answer my questions...

Yes you can use any arduino and any android mobile phone.
epul.saifol2 months ago

hi . i was do by follow your step . but not function . the hc05 connected with android . can you help me ? tq

Luc Volders2 months ago

Addition to my previous post.

I got it also working on an Arduino Nano.

Still not working on an Attiny85.

Anybody luck with a Digispark. I have one of these also.

Still a great app and I love to get my hands on the app-inventor code all be it only to translate the android app in Dutch and maybe fool around a bit with it.

Thanks

Luc

Luc Volders2 months ago

Hey guys,

I have this working on an Arduino. Great App. However I was wondering if anybody got this working on an Attiny85.

Changed the code to:

#include <SoftSerial.h> /* Allows Pin Change Interrupt Vector Sharing */
#include <TinyPinChange.h>

SoftSerial mySerial(3,4);

And I changed every referral from Serial to mySerial

Just no succes. I left out the Tinypinchange also no success.

Anybody ???

Another Question.

Could you post the appinventor code so I could change it myself.

Thanks

avengers2282 months ago

i made it

but i used easy vr shield instead of bluetooth shield

i used my own codes for easy vr

and thankz for giving the codes for arduino

and i also did some editting in arduino code

thankz man !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

☺☺☺☺

avengers2282 months ago

g

sydneyb2 months ago

It's good project. Thank you for sharing. i want to practise a project same yours.Can you share source code of android application. my e-mail: bragantine@gmail.com

acap1232 months ago

It's good project. Thank you for sharing. i want to practise a project same yours.Can you share source code of android application. my gmail:amirulacap92@gmail.com

Thank you so much

ayushi1233 months ago

this was of great help for my project! I made it n am very happy...bluetooth range is approximately 10m.

1-40 of 173Next »