Introduction: Arduino Voice Control

Picture of Arduino Voice Control

Step 1: Part list

Step 2: The Access port

Step 3: Arduino

Step 1: Part List

Picture of Part List

- Voice recognition module V2 (Ebay ~22$)

- USB to TTL module (~2$)

- Arduino nano (~6$)

- Breadboard

- 3 Led

- some wire


- Serial tool (Im using Accessport, link in video description)

Step 2: Teach the Voice Module

Picture of Teach the Voice Module

This module can learn 3x5 voice command. (3 group, each group with 5, max 1300ms long command)

To teach, we need a serial tool: Accessport.

- Start the program, plug in the module with the USB to TTL board.

- From the Monitor/Ports menu, select the voice module. If not see, click refresh.

- In settings menu use this settings:

Baud rate: 9600

Parity bit: NONE

Data bit: 8

Stop bit: 1

Send format: HEX

Receive format: Char

Other settings as default.

- The first time, we need to choose "common" or "compact" mode.

Im using "common mode".

- For this, send "0x36" to the board.:

Just type after the "00000000" AA36, and click "Send".

If its ok, above you can see "common mode" text.

The modul now ready to learn.

- To teach the commands, send "0x11" to the module. (this mean, we record to the first group).

Type after the "00000000" AA11, and click "Send".

- After appear the "START" word above, tell the first command, repeat if ask.

"Finish one" mean, you done with the command, immediately afterwards ask the 4 other command in same way.

"Group 1 finished" mean you are done, close the app, unplug the module,

Step 3: The Arduino Code

- After disconnected the voice module, connect the arduino, and upload this code.

Or download from my google docs. (Link in the video description)

- Leds connected to the pin 9,10,11. (use resistor)

- After code uploaded, unplug the arduino, connect the voice modul:

VCC to 5V


Rx to Tx

Tx to Rx

- Power on the arduino, wait 3-5 sec until ready.

- Talk to your arduino :)


int redPin = 9;
int greenPin = 10;

int bluePin = 11; byte

com = 0; //reply from voice recognition

void setup() { Serial.begin(9600);

pinMode(redPin, OUTPUT);

pinMode(greenPin, OUTPUT);

pinMode(bluePin, OUTPUT);








void loop()




com =;



case 0x11:

digitalWrite(redPin, HIGH);


case 0x12:

digitalWrite(greenPin, HIGH);


case 0x13:

digitalWrite(bluePin, HIGH);


case 0x14:

digitalWrite(redPin, HIGH);

digitalWrite(greenPin, HIGH);

digitalWrite(bluePin, HIGH);


case 0x15:

digitalWrite(redPin, LOW);

digitalWrite(greenPin, LOW);

digitalWrite(bluePin, LOW);






SelvaP7 (author)2017-02-01

In the program,how the switch case option is fixed as 11,12,etc?

AmmadY1 (author)2016-12-23

Can I upload 1 command by 4 speakers, so that 4 different speakers can give single command to arduino (like 'ON')?

awsomearies (author)2016-11-30

how about arduino uno

CassiusMax (author)2016-10-07

Could this be used to spin a motor a set number of rotations? So, say "Spin" and it could be programmed to spin a motor a number of times?

planetleak (author)CassiusMax2016-10-08

Yes, but need stepper motor for precision stop.

DhonnaNice (author)2016-09-20

where is the fritzing?

SeemakurthyH (author)2016-01-30

I am trying to train my vr3 module by using the library in GITHUB. When I used a sample code vr_sample_train, I am getting an error as time out. how can i solve this?

srsanthosh (author)SeemakurthyH2016-09-19

Me too having the same problem

faisalwarsi (author)2016-07-25

could we use v3 for arduino mega??????

xrobotx (author)2016-07-12

One think I do not understand: how can you manage each voice command to select a different pin out ( e.g: pin 0) and pin level (e.g: high voltage level / binary `1`) on arduino and/or on the voice recognition module? For example the red, green and blue LEDs are connected to different pins and different voice commands control different pins and thus different LEDs. Sorry, I am so confused. Could you show me a step-by-step instruction. Thank you very much!

JeanPaulBadjo (author)2015-08-20

Hello, When I plug in the

Voice recognition module and USB to TTL module

and try to access it through the accessport or coolterm, it doesnt detect anything. I've tried this on another computer and the same thing happened. Is there a driver I have to install?

Have you been able to find solution for that, I couldn't get mine working. :((( Red light is blinking continuously and no response to access port.

bob_the_builder32 (author)2015-12-03

Programmed my voice module and uploaded the code to the Arduino but when I turn the Arduino on the voice module just blinks the red light and it won't go off any ideas how to fix that?

marciokoko (author)2015-12-02

I got the module to recognize my voice. It was the microphone. But now I connect the module again to record new commands and I get @A@B and nothing else as response from the module in the serial app

marciokoko (author)2015-12-01

I cant get my module to recognize voice commands. I get the START but when I speak, I get No Voice no matter how soft or fast or loud or slow I speak.

HoàngA3 made it! (author)2015-10-18

i have problem with my module vr3. How to fix it

ksai3072001 (author)2015-09-26

ksai3072001 (author)2015-09-26

MukeshD1 (author)2015-08-26

What is the principle used to recognize voice in this module........

thorentz (author)2014-12-22

i was wondering .my pc cud not recognize my module.. is there a need for drivers to install or what?

planetleak (author)thorentz2014-12-22

No driver need as i know. In the system/hardware cannot see opened port when plug in the module?

thorz (author)planetleak2015-01-07

my pc can detect the vr module but it shows that " the device was not successfully installed"..

JeanPaulBadjo (author)thorz2015-08-20

Did you ever find a solution to your problem? Same thing is happening to me.

JeanPaulBadjo (author)thorentz2015-08-20

Did you ever find a solution to your problem? Same thing is happening to me.

Hansta98 (author)2015-06-28

I realy like your project. I also trying to make it. I bought the voice recognition module and installed the serial tool "access port 1.37". I conected the module with the pc to program it, but if I send AA 36 it got not the respond, that I choose the common mode. Then I send AA 11 to import the instructions of group one, but it comes not START, AGAIN, in your video. I set all settings as same as you did it, but I got no respond. Now I tried a long time but now patience
is at the end. Did I make an error while programming or what I can do??

Do you know how I can reset the module.

MukeshD1 (author)2015-06-08

can i import group 2 just by using voice commands......means how can i switch to different group....

mursalinf (author)2015-05-10

hi, is this confoguration works on version 3 (VR3)?

okan.boncukcu (author)2015-03-29


Is it working different persons with telling same word?

planetleak (author)okan.boncukcu2015-03-30

Hi, yes.

zvika.rotman.7 (author)2015-03-25


Why do I have to do import to group after disconnect the device from my computer ?. After disconnect it from my computer and give it 5v directly its not working

planetleak (author)2014-12-30

Try with coolterm for mac.

15jonesj (author)2014-12-30

is there an equivalent of this for mac users as i have no money 4 pc

thorentz (author)2014-12-22

where can i download the drivers for the module?

SahityaJ (author)2014-12-12

common mode



i am getting this message after that it is not working

planetleak (author)SahityaJ2014-12-12

Sorry i see only "p" character in your comment, not the message.

SahityaJ (author)planetleak2014-12-14

Thank you sir but what is the solution of this to solve this condotion,,,,,,,,,,,,,,,,,,,please help me

planetleak (author)SahityaJ2014-12-15

Sorry, but no idea. Try with another serial program.

SahityaJ (author)planetleak2014-12-16

thanks sir,

sir, on voice module all command are working but 0x11 is not giving proper response but i apply the command 0x11 that time i am getting some message


only it means voice module is not working .sir we can do re program of chip.please help me.......................)

planetleak (author)SahityaJ2014-12-16

Try to store group 2 or group 3 your commands.

I think, in the module datahseet you can find the commands for this.

(0x11 for group 1)

SahityaJ (author)planetleak2014-12-16

Hi sir,

i wrote the command (0x12 and 0x13)on access port and these command are 2 and 3 group command but these command are not working.same condition are occur with group 2 and group 3



now what should i do...............sir

chetancc (author)2014-12-06

Hi Planetleak, It seems my mic is not working. How can I test Mic in this case? Please find below logs from AccessPort137 software along with attached screenshot for your help.

Common Mode


No Voice


No Voice


No Voice


No Voice


No Voice


No Voice


No Voice


No Voice


No Voice


No Voice

planetleak (author)chetancc2014-12-12

Hi, try to test your mic with a windows basic sound record program.

chetancc (author)planetleak2014-12-15

Hi Planetleak, thx a lot for ur time. I used one headset which has 3.5 mm jack one for mic and one for speaker. It worked well with windows basic sound record program, but it is also giving same issue "No Voice". Do you think voice recognition module is defective? Let me know your view plz :)

planetleak (author)chetancc2014-12-15

Hi, no much idea sorry. Try another serial communication program / another mic.

SahityaJ (author)2014-12-12

common mode



i am getting this message after that it is not working

SahityaJ (author)2014-12-12

common mode



i am getting this message after that it is not working

SahityaJ (author)2014-12-12

Hi, I want to some succession please help me. i did all the arrangement but all thing are connected but when i am sending command on access port but i am sending 0x36 command that time it is working and i am sending 0x11 that time it is not working but one statement is comming on access port only start and second message ªp what is this i am not getting .but i got second command but after that no one command on access port..........aht i is the problem i am not getting please help me.......................................

abdelrahman.nasser.98 made it! (author)2014-11-16

I setup with arabic language and I used arduino To teach the commands instead of Serial tool

Adirockzz (author)2014-11-10

Can i import all groups and access them all?

planetleak (author)Adirockzz2014-11-10

Honestly, i not tried, but i think yes.

Im using only 2 word for my television on/off, because im using only for watching movie from pc, and always lost my tv controller :)

To import group 1: 0x21 (see in my code)

import group 2: 0x22

import group 3: 0x23

About This Instructable




More by planetleak:iPhone Touch ID windows loginESP8266 TV remote for HomekitRaspberry Pi 2 Homekit - from zero to Hey, Siri (Updated)
Add instructable to: