Voice Control Your Arduino

Introduction: 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

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

Step 2: 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

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







"Speed up"

"Speed down"

Step 5: 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.

Be the First to Share


    • Digital Fabrication Student Design Challenge

      Digital Fabrication Student Design Challenge
    • Make It Modular: Student Design Challenge

      Make It Modular: Student Design Challenge
    • Fruits and Veggies Speed Challenge

      Fruits and Veggies Speed Challenge



    5 years ago

    will this work on the Kindle Fire HD >>

    John OliverE
    John OliverE

    6 years ago

    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. :)


    6 years ago

    can i use arduino uno?



    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



    6 years ago on Introduction

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


    6 years ago on Introduction


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

    my email id= rahman.zia11@gmail.com


    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.


    Reply 7 years ago on Introduction

    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 .


    Reply 7 years ago

    Ok fixed it thank you!!


    8 years ago on Introduction

    Cool project,

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