Features:
- Recognizes 7 pre-programmed voice commands
- Can be trained with new voice commands
- On-board microphone for voice input
- Input voltage: 4.5-5.5V DC
- Current consumption: <40mA
- Output format: TTL-level serial port
- Supports baud rates: 9600, 19200, 38400, 57600, 115200
- Can be controlled by any microcontroller with TTL serial port
- Small size: 30mm x 47.5mm
- Comes with header pins for easy connection to a breadboard or PCB
Principle of Work:
The Audio Voice Recognition Module V3 works by analyzing the sound waves received by a microphone and identifying the spoken words based on a pre-defined set of voice commands. The module uses a voice recognition algorithm to analyze the incoming sound signals and compare them with the pre-stored voice commands in its memory.
When it identifies a match, it sends a signal to the microcontroller via a digital interface (UART or GPIO), indicating that a specific voice command has been detected.
The module typically allows users to train it with their own voice commands. During the training process, the user speaks the desired command and the module stores its sound wave pattern in its memory. When the user later speaks the trained command, the module can recognize it and trigger the corresponding action.
Pinout:

- VCC: Connect to 5V DC power source
- GND: Connect to ground
- TXD: Serial transmit pin to RX on microcontroller
- RXD: Serial receive pin to TX on microcontroller
Applications:
- Home automation: Control lights, fans, AC, etc. with voice commands.
- Robotics: Control robot movement with commands like “Move forward”.
- Automotive systems: Control in-car systems with voice.
- Security systems: Activate/deactivate alarms and locks by voice.
- Accessibility aids: Help users with disabilities operate devices via voice.
Circuit:
- VCC to Arduino 5V
- GND to Arduino GND
- RXD to Arduino digital pin 3
- TXD to Arduino digital pin 4

Library:
- Go to the website where the library is hosted
- Download or clone the repository
- Extract the archive
- Open Arduino IDE
- Go to "Sketch" > "Include Library" > "Add .ZIP Library"
- Select the extracted "voicerecognitionv3" folder
- Click "Open" to install the library
Training Instructions:
- Connect the circuit and open Arduino IDE
- Select correct board and COM port
- Open: File → Examples → VoiceRecognitionV3 → vr_sample_train
- Upload the code and open Serial Monitor
- Set baud rate to 115200 and "Newline"
- Use the "train" command (e.g., train 20) and speak your command
- Repeat the process for additional commands (e.g., ON and OFF for LED)
Example Code:
#include <SoftwareSerial.h>
#include <VoiceRecognitionV3.h>
#define VR_RX 2
#define VR_TX 3
const int ledPin = 13;
VoiceRecognitionV3 vr(VR_RX, VR_TX);
void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
vr.begin();
vr.addCommand(0, "onrecord");
vr.addCommand(1, "offrecord");
}
void loop() {
int cmd = vr.recognize();
if (cmd == 0) {
digitalWrite(ledPin, HIGH);
} else if (cmd == 1) {
digitalWrite(ledPin, LOW);
}
}
Note: This code assumes the commands have been trained and the LED is connected to pin 13.
Technical Details:
- Voltage: 4.5-5.5V
- Current: <40mA
- Digital Interface: 5V TTL UART and GPIO
- Analog Interface: 3.5mm mono microphone connector
- Size: 31mm x 50mm
- Recognition Accuracy: 99% (ideal conditions)
- Voice Recognition Range: Up to 3 meters
- Number of Commands: 7
- Max Length per Command: 1500ms
- Response Time: <500ms
- Languages Supported: English, Chinese
- Non-volatile Memory for Commands
Resources:
Comparisons:
Audio Voice Recognition Module V3 vs Alexa:
The V3 module is a simple offline solution that supports up to 7 commands without an internet connection. Alexa, being cloud-based, supports thousands of commands and integration with many devices, but requires internet access.
Features:
- Recognizes 7 pre-programmed voice commands
- Can be trained with new voice commands
- On-board microphone for voice input
- Input voltage: 4.5-5.5V DC
- Current consumption: <40mA
- Output format: TTL-level serial port
- Supports baud rates: 9600, 19200, 38400, 57600, 115200
- Can be controlled by any microcontroller with TTL serial port
- Small size: 30mm x 47.5mm
- Comes with header pins for easy connection to a breadboard or PCB
Principle of Work:
The Audio Voice Recognition Module V3 works by analyzing the sound waves received by a microphone and identifying the spoken words based on a pre-defined set of voice commands. The module uses a voice recognition algorithm to analyze the incoming sound signals and compare them with the pre-stored voice commands in its memory.
When it identifies a match, it sends a signal to the microcontroller via a digital interface (UART or GPIO), indicating that a specific voice command has been detected.
The module typically allows users to train it with their own voice commands. During the training process, the user speaks the desired command and the module stores its sound wave pattern in its memory. When the user later speaks the trained command, the module can recognize it and trigger the corresponding action.
Pinout:

- VCC: Connect to 5V DC power source
- GND: Connect to ground
- TXD: Serial transmit pin to RX on microcontroller
- RXD: Serial receive pin to TX on microcontroller
Applications:
- Home automation: Control lights, fans, AC, etc. with voice commands.
- Robotics: Control robot movement with commands like “Move forward”.
- Automotive systems: Control in-car systems with voice.
- Security systems: Activate/deactivate alarms and locks by voice.
- Accessibility aids: Help users with disabilities operate devices via voice.
Circuit:
- VCC to Arduino 5V
- GND to Arduino GND
- RXD to Arduino digital pin 3
- TXD to Arduino digital pin 4

Library:
- Go to the website where the library is hosted
- Download or clone the repository
- Extract the archive
- Open Arduino IDE
- Go to "Sketch" > "Include Library" > "Add .ZIP Library"
- Select the extracted "voicerecognitionv3" folder
- Click "Open" to install the library
Training Instructions:
- Connect the circuit and open Arduino IDE
- Select correct board and COM port
- Open: File → Examples → VoiceRecognitionV3 → vr_sample_train
- Upload the code and open Serial Monitor
- Set baud rate to 115200 and "Newline"
- Use the "train" command (e.g., train 20) and speak your command
- Repeat the process for additional commands (e.g., ON and OFF for LED)
Example Code:
#include <SoftwareSerial.h>
#include <VoiceRecognitionV3.h>
#define VR_RX 2
#define VR_TX 3
const int ledPin = 13;
VoiceRecognitionV3 vr(VR_RX, VR_TX);
void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
vr.begin();
vr.addCommand(0, "onrecord");
vr.addCommand(1, "offrecord");
}
void loop() {
int cmd = vr.recognize();
if (cmd == 0) {
digitalWrite(ledPin, HIGH);
} else if (cmd == 1) {
digitalWrite(ledPin, LOW);
}
}
Note: This code assumes the commands have been trained and the LED is connected to pin 13.
Technical Details:
- Voltage: 4.5-5.5V
- Current: <40mA
- Digital Interface: 5V TTL UART and GPIO
- Analog Interface: 3.5mm mono microphone connector
- Size: 31mm x 50mm
- Recognition Accuracy: 99% (ideal conditions)
- Voice Recognition Range: Up to 3 meters
- Number of Commands: 7
- Max Length per Command: 1500ms
- Response Time: <500ms
- Languages Supported: English, Chinese
- Non-volatile Memory for Commands
Resources:
Comparisons:
Audio Voice Recognition Module V3 vs Alexa:
The V3 module is a simple offline solution that supports up to 7 commands without an internet connection. Alexa, being cloud-based, supports thousands of commands and integration with many devices, but requires internet access.