Introduction: Voice Control Your Arduino

Picture of Voice Control Your Arduino

Recently I developed an android app to control my arduino robot. It worked out fine and now I'm a big fan of voice controlling arduino. I then searched for some instructables with voice controlled arduino and it turns out there were only a few of them out there so I decided to share this with you. If you are looking for the robot in the picture it’s my previous instructable.

What does this app do?

This app uses the voice search feature of any android phone and converts speech to text, after receiving a complete term it sends a case to the arduino and the arduino responds respectively to the the case. For example in my previous robot I programmed my arduino to arduino to respond to the case "F" and move forward. All I do now is turn on the app and say forward the app sends a case "F" to the arduino and the robot moves.

Why use this app?

Well the arduino speech recognition shield is quite expensive and this is a cheaper alternative as most of the people already have an android mobile phone.

Step 1: Things Required

Picture of Things Required

We require quite a few things to build this project, so lets start with gathering the things.

Step 2: Install the App

Picture of Install the App

Let's start with getting the app, well you can find it in the attachments. I don't have a Google developer account so you probably would not find it on the "Google Play Store". One advantage of my app not being on the Play Store is that it has no adds unlike many other apps you find there.

Download the app and send it to your android device, navigate and find the Bluetooth folder and find the app. Install It and click open. You may notice that it is not quite a professional app but it will do the job.

Step 3: Preparing Your Arduino

Picture of  Preparing Your Arduino

Well all you have to do is connect the Bluetooth module.

For the Bluetooth module I used HC05 which is the cheapest module I could find (on EBay). The only thing with this board is that you need to create a voltage divider as the arduino gives 5V output in its Tx pin while the HC05 accepts only 3.3 so a voltage divider is required to prevent the burning out of the board.

You Could buy this module instead if you don't want voltage dividers in your circuit.

Step 4: Code

Well for the code part you are on your own. For the voice commands leave a comment below i will modify the app to suite your requirements. For example if you make a lamp and you need it to turn ON, when you you say turn on. Just mention it in the command and you will have the app with your voice command. You can try out my robot code if you want to have a try first.

Currently the app has the following commands

Commands

"Forward"

"Backwards"

"Right"

"Left"

"Stop"

"Speed up"

"Speed down"

Step 5: Updates

Picture of Updates

After you are done with the code and have the app, you are ready with your project leave a comment on what you came up with it. I'm currently working on a better app with better looks and you'll find a update here when it's done.

Comments

toddhales (author)2016-11-23

will this work on the Kindle Fire HD >>

John OliverE (author)2016-02-02

Bro can you send me the program for a Bluetooth controlled that goes only "Forward" ,"Backwards" ,"Right", "Left" ,"Stop".

please send to oliberated@gmail.com

Thank you. :)

ShubhamB26 (author)2015-11-21

can i use arduino uno?

https://www.robomart.com/arduino-uno-online-india

Projectsforallr (author)2015-09-24

Hi,

Cool Video...very informative...

Can you kindly send the App inventor source code...if we want to add more feature

Please mail to projectsforall777@gmail.com

Website: www.scienceprojects4all.com

Thx

unclesamzz (author)2015-09-17

hi please email me code to control a motor using arduino with bluetooth please email me biskut1499@gmail.com ASAP , thank for yr work =)

ZiaR2 (author)2015-07-26

hi,

can you please get the program to control a robot of 4 motors using arduino with bluethooth

my email id= rahman.zia11@gmail.com

thanks

Harsh223 (author)2015-06-27

How did you make/program the app dude??

fernandom19 (author)2015-05-16

Great app! How can I change the commands to spanish?

akshitubhangale (author)2015-01-15

cannot compile

facing this error

iam a beginner.

Arduino: 1.5.8 (Windows 8), Board: "Arduino Uno"

sketch_jan15a.ino:15:22: fatal error: NewPing.h: No such file or directory

compilation terminated.

Error compiling.

This report would have more information with

"Show verbose output during compilation"

enabled in File > Preferences.

There is a compilation error that the IDE cant find the new ping library, make sure that you included it, if no here is a link on how to do that .

Ok fixed it thank you!!

iloveandroid (author)2014-04-29

Cool project,

should we say "F" for forward or "Forward" to move forward. can we change the speech words?

About This Instructable

9,054views

49favorites

License:

Bio: Hi, I just launched an Indigogo campaign support my projects by backing it. https://www.indiegogo.com/projects/tinker-usb-a-wifi-based-badusb#/
More by ThisIsSteve:Linkit One Text to SpeechLinkit One Kitchen TimerIntel Edison Talks to Linkit One
Add instructable to: