Skip to content
Buy 10+ on select items — save 10% auto-applied
Free US shipping on orders $35+
Order by 3pm ET — ships same-day from the US
Skip to main content

Arduino Voice Recognition Module V3: Voice LED Control | ShillehTek

July 30, 2026 10 views

Arduino Voice Recognition Module V3: Voice LED Control | ShillehTek
Project

Build an Arduino voice-controlled LED using the Elechouse Voice Recognition Module V3, training custom commands for reliable on and off control with ShillehTek.

Beginner6 parts

Project Overview

Arduino + Voice Recognition Module V3: In this project, you use an Arduino (Nano/UNO-class) with the Elechouse Voice Recognition Module V3 to train two custom commands and toggle an LED on and off by voice over serial.

The V3 module stores up to 80 recorded commands (you record them in any language, or even non-speech sounds) and reports a match to the Arduino. You will train an ON phrase and an OFF phrase, then load a sample sketch that listens for those command IDs and switches the LED.

  • Time: About 1 hour
  • Skill level: Beginner
  • What you will build: An Arduino that recognizes your trained voice commands and toggles an LED on demand.
Elechouse Voice Recognition Module V3 connected to an Arduino for voice-controlled LED switching
The Voice Recognition Module V3: 80 trainable commands, serial or GPIO output.

Parts List

From ShillehTek

External

  • Electret microphone with 3.5mm plug (commonly included with the module; it can also be soldered directly to the mic pins)
  • One LED
  • USB cable for programming

Note: The module runs from 4.5 to 5V and draws under 40 mA, so the Arduino 5V pin can power it directly.

Step-by-Step Guide

Step 1 - Understand the V3 Module

Goal: Know what the module can and cannot do.

What to do: The V3 does not convert speech to text. Instead, it compares live audio against commands you recorded earlier, which is why it works in any language (and can even work with whistles, claps, or code words).

It stores up to 80 commands of about 1.5 seconds each. You can use it over serial (used in this tutorial for access to all 80 commands) or via its GPIO outputs (up to 7 loaded commands without a microcontroller). Recognition accuracy can be very high in good conditions, but microphone quality and background noise are the biggest factors.

Front view of the Elechouse Voice Recognition Module V3 used with an Arduino
Compact and self-contained: the V3 stores and matches commands onboard.
Elechouse V3 voice recognition module showing serial pins, GPIO pins, and 3.5mm microphone jack
Serial pins on one side, GPIO outputs on the other, plus the 3.5mm mic jack.

Expected result: You understand that you will train commands first, then use them from an Arduino sketch.

Step 2 - Wire the Module to the Arduino

Goal: Connect power, serial, the LED, and the microphone.

What to do: Make these connections (the serial pins are user-definable in the sketch; the pins below match the library defaults):

V3 GND  ->  Arduino GND
V3 VCC  ->  Arduino 5V
V3 RXD  ->  Arduino D3 (sketch TX)
V3 TXD  ->  Arduino D2 (sketch RX)

LED (through 470 ohm resistor)  ->  Arduino D13
Microphone  ->  3.5mm jack on the module
Circuit diagram of Elechouse V3 voice module wired to an Arduino with an LED and series resistor
Four wires to the module, one LED on D13, and the mic in the jack.
Breadboard photo showing Elechouse V3 voice recognition module wired to an Arduino for serial control
The real thing on a breadboard.

Expected result: The module powers on, the serial lines are crossed (RXD to D3, TXD to D2), and the LED is connected to D13 through a 470 ohm resistor.

Step 3 - Train Your Voice Commands

Goal: Record an ON command and an OFF command into the module memory.

What to do: Install the VoiceRecognitionV3 Arduino library (open-source, by Elechouse). Then open File 1 Examples 1 VoiceRecognitionV3 1 vr_sample_train and upload it.

Open the Serial Monitor at 115200 baud with Newline selected. A command menu appears. Training stores each spoken command into an address from 0 to 79 using the train command:

train 20    // record your ON phrase into address 20
train 30    // record your OFF phrase into address 30

When the monitor says "speak now", say your command clearly into the mic. It will ask you to repeat it once to register. If there is background noise or the audio is weak, it may ask again, so train in a quiet room and use a decent microphone.

Arduino Serial Monitor showing the vr_sample_train menu for the Elechouse V3 module
The training menu at 115200 baud.
Arduino Serial Monitor prompting 'speak now' while training a voice command for the Elechouse V3 module
"Speak now" - say your command loud and clear.
Arduino Serial Monitor asking to repeat the phrase during Elechouse V3 voice command training
Each command is spoken twice so the module can build a solid template.
Arduino Serial Monitor showing a successful Elechouse V3 command registration at a memory address
Success - the command is stored in its address.

Expected result: Two trained commands saved in addresses 20 and 30 (or whichever addresses you chose).

Step 4 - Load the LED Control Sketch

Goal: Map your trained commands to LED actions.

What to do: Open File 1 Examples 1 VoiceRecognitionV3 1 vr_sample_control_led. Inside, two records are defined: onrecord and offrecord.

Set onrecord to the address where you trained your ON phrase, and set offrecord to the address where you trained your OFF phrase. Upload the sketch.

Expected result: The sketch loads your two commands into the recognizer at boot and waits for a match.

Step 5 - Speak

Goal: Voice-control the LED and plan the next upgrade.

What to do: Say your ON command and the D13 LED should light. Say your OFF command and it should turn off. Keep the Serial Monitor open: each recognized command prints its address, which helps confirm what the module is matching.

If recognition is inconsistent, reduce room noise or use a better microphone. After the LED test works, you can move on to switching larger loads by driving a relay module (listed in the parts list).

Expected result: A reliable personal voice switch trained on your voice, in your language.

Conclusion

You trained the Elechouse Voice Recognition Module V3 with your own commands and used an Arduino to act on them, switching an LED by voice over serial. Because the module matches recorded sounds instead of transcribing words, it can work in any language and even with non-speech audio cues.

Want the exact parts used in this build? Grab them from ShillehTek.com. If you want help customizing this project or building something similar for your product, check out our IoT consulting services.