Voice Recognition Module is a compact and easy-control speaking recognition board. This product is a speaker-dependent voice recognition module. It supports up to 80 voice commands in all. Max 7 voice commands could work at the same time. Any sound could be trained as command. Users need to train the module first before let it recognizing any voice command.
Arduino Voice Recognition Module In Pakistan
This board has 2 controlling ways: Serial Port (full function), General Input Pins (part of function). General Output Pins on the board could generate several kinds of waves while corresponding voice command was recognized.
What are the updated features ?
We already have Voice Recognition module V2 and it supports 15 commands in all and only 5 commands at the same time.
On V2, voice commands are separated into 3 groups while you training it. And only one group (5 commands) could to be imported into Recognizer. It means only 5 voice commands are effective at the same time.
On V3, voice commands are stored in one large group like a library. Any 7 voice commands in the library could be imported into recognizer. It means 7 commands are effective at the same time.
3、Digital Interface: 5V TTL level for UART interface and GPIO
4、Analog Interface: 3.5mm mono-channel microphone connector
and microphone pin interface
5、Size: 31mm x 50mm
6、Recognition accuracy: 99% (under ideal environment)
1、Support maximum 80 voice commands, with each voice 1500ms
(one or two words speaking)
2、Maximum 7 voice commands effective at same time
3、Arduino library is supplied
4、Easy Control: UART/GPIO
5、User-control General Pin Output
ExampleHere i will show you an example how to control RGB by voice.
We need to send serial command to this module. You may need a USB-TTL module to connect it with PC. Send command 0xaa11 to record. Please refer to the manual for more information.Please notice that :
Please record the following voice instrctions in order :
Then send command 0xAA21 to import group 1.
2. Hardware connection
RXD of Voice recognition Module should connect with TXD of USB-TTL module or Arduino .
int greenPin = 9; // G petal on RGB LED module connected to digital pin 9
int bluePin = 10; // B petal on RGB LED module connected to digital pin 10
byte com = 0; //reply from voice recognitionvoid setup()
pinMode(ledPin, OUTPUT); // sets the ledPin to be an output
pinMode(redPin, OUTPUT); // sets the redPin to be an output
pinMode(greenPin, OUTPUT); // sets the greenPin to be an output
pinMode(bluePin, OUTPUT); // sets the bluePin to be an output
void loop() // run over and over again
com = Serial.read();
color(255,255,255); // turn RGB LED on — white
color(255, 0, 0); // turn the RGB LED red
color(0,255, 0); // turn the RGB LED green
color(0, 0, 255); // turn the RGB LED blue
color(0,0,0); // turn the RGB LED off
void color (unsigned char red, unsigned char green, unsigned char blue) // the color generating function
Upload the code above to Arduino. Please disconnect TX and RX while uploading code because uploading would occupy serial interface.