Voice Activated Arduino (Bluetooth + Android)

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
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 133Next »
nisarg2 days ago
The changed commands are not working , its not giving any output all the connections and program are fine what should i do?
janowh10 days ago


is there away to modify these voice commands from the android app ??

and expand number of outputs ??


jdahl2 janowh6 days ago
You can't change the voice commands from the Android device. But you can change the voice commands in the code.
Your device translates the voice commands and sends them as text to the arduino. In the code you can see that the Arduino use these text commands to trigger pins.

If you look at the picture you can see that I changed the text commands to something more suitable for my project.
janowh jdahl25 days ago

ok thanks for the advice >> I will try it

jdahl26 days ago
Nice and easy guide! Thank you
BhaveshTechz6 months ago

Hi Angelo, Can i use "Wireless 4 Pin Bluetooth RF Tansciever Module RS232" in place of HC-05 bluetooth module. The link of the product is this

bluetooth module front.jpgbluetooth module back.jpg
ASCAS (author)  BhaveshTechz25 days ago

Yes, that should work.

ASCAS (author)  BhaveshTechz6 months ago

Yes, that should work.

caferd2 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 ?

ASCAS (author)  caferd25 days ago

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

TimothyB22 months ago

Can you replace the led with a 5 volt relay?

ASCAS (author)  TimothyB225 days ago

Yes. You'll need transistors/s to drive them though.

Yo buddy, I've already completed a DIY wireless plug. It actually came out quite nice, even made a custom made PCB with materials from FRY's. It works by having an Arduino serve a webpage and it sends a command to the Wireless switch via a nRF24L01(+) 2.4GHz Wireless Transceiver. With this, I can make it VOICE CONTROLLED!

ASCAS (author)  JustnTheNick25 days ago

Wow, that's awesome! You should make an inscrutable about it. :D

Hey JustnTheNick, Just wondering if you had a link to this DIY wireless plug instructable, Daniel

I dont, but I have the PCB layout, and parts used. Even have the sample code I tweaked. Although, its still a WIP because the receiver end sometimes freezes and it wont send an ack packet back to the server revealing its status. That would be why.

I have 2 images, and the Fritzing file. Although you might run into some errors because the Relay(T73 5v 10 amp) used had to be imported with a library.

Ive included the Arduino code. You will need to import a library or two but thats not hard at all, just google it.

I used this method to make the board,

I used the UV light sensitive Copper clad board from frys. Be aware that the etching method above is extremely slow unless you oxidize it by removing it from time to time. Took me 2 tries.

Parts used

Copper clad board presensitized

ATmega168 -20PU

28 pin socket

5.1v Zener diode for the relay(Inductors spit out high voltage when discharged)

10k ohm resistor for keeping the reset pin high.

TO-92 3.3v voltage regulator for the transciever

220uf smoothing cap.

2x 4 pin female headers for transciever

T73 10 amp 5v relay.

6 pin male header for FTDI chip. (Cap is for reset timing but couldnt get it to work, so had to use arduino uno to program. Arduino as ISP)

Power source used was a generic 5v 1 amp Ipod charger found at the dollar store. I used a Dremel to open it up and solder some wires to the usb line. So power used is a 5v line in. Used a 1mm(I think) drill bit to drill the holes.

Screen Shot 2014-10-27 at 5.16.27 PM.png

Oh yea, the mirror PDF is what I used with my method, because when you place it ink side down, it reverses to normal. Thats why I have the mirror image.

Awesome, Thanks

Skymag1 month ago
Really enjoyable !! Thx a lot :)
ASCAS (author)  Skymag25 days ago

You're welcome! :D

can I use you're code with an Arduino MEGA 2560??

ASCAS (author)  miguelangel.ortiz.37025 days ago


CaioP2 months ago

hello , How do I change the language? just change the language in google search and the code? changed and it did not work , could someone help me ?

Good evening, kind regards the reason for my comment is:

not if very complicated request help or information or guidance on how I connect the circuit on a mega arduino, also know as programming with blutooth module, this orientation the need for educational issues, I hope you can help me with this information my email is

VoliKoN made it!2 months ago

Nice project!

YurikoV2 months ago

Hi i'm using gizduino mini w/ ATmega328 and a bluetooth shield.. i'm having trouble with the connection.. should i stock up both or i'll apply the rx to tx?

here's the link

please help .. i badly need this for our project... :) thank you so much...

nichloe6 months ago

Hi there!

For the HC-05 Serial Bluetooth Module can we use this one?...


ASCAS (author)  nichloe5 months ago

That should work! slr.

Hi there, i have a grove serial bluetooth, can i use with it?

nichloe nichloe5 months ago

Never mind! I tried it and it worked! :)

atharva123 months ago

hi angelo i love your projects keep it up

but i am having some sort of problem the led dosent light up nor does the arduino get a serial command but when i put the module in at mode it reacts

i dont know what the problem is but please tell me a solution

amohsen53 months ago

I use HC-06 ,when i do this ,the first command applied but when i say anther command , there was no response for it !!!!!

akhilk23 months ago

hii..i am facing problem in the output. The command that i speak is displayed on the screen correctly but there is no output visible on the LEDs. And, yeah, HC-05 is connected to my android 4.4 kitkat.

Kindly solve this issue

vtrguy4 months ago

If I were you, I would use an initialized password and a menu option to actually toggle everything; you could even have that hard coded/changeable at an interface using an LCD or button series assuming the arduino is going to be secure.

If you haven't muddled with the BT pairing of the 05/06 the default 1234 could yield someone else using your goodies.

Paired with a door locking/security system may be a large vulnerability but it is a nice looking system with a couple of amendments!

imatxain5 months ago

Could the same be done with a wifi module? I would like to have this except that I would like to be able to execute the orders from another room or floor (I have a good router). Bluetooth can't be used from another floor. If the answer is yes, would I be able to follow this guide with that difference?

pls tell fast.....

can i use roboduino ATmega 328

can i use roboduino ATmega 328

can i use roboduino ATmega 328

vak525 months ago

Hi! This is a great instructable! I have a problem though. For some reason my android device isn't sending the strings properly. I am using your code, but with the commands changed to things like "*red light on". When I open the serial monitor and type in my command (ex. *red light on#) and send it, it does what it is supposed to do. There is just some issue with my arduino receiving the strings from my android. By the way, I am using the JY-MCU bluetooth module.

Thanks for this awesome instructable and I'm looking forward to your home automation project :D

1-40 of 133Next »