Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use ai thinker vc-02: Examples, Pinouts, and Specs

Image of ai thinker vc-02
Cirkit Designer LogoDesign with ai thinker vc-02 in Cirkit Designer

Introduction

The AI Thinker VC-02 is a versatile voice recognition module that supports offline voice commands. Manufactured by Atharv Banage, this module is designed to facilitate voice control in various applications, including smart home devices, robotics, and other systems requiring voice interaction. The VC-02 is known for its high accuracy and ease of integration, making it a popular choice among developers and hobbyists.

Explore Projects Built with ai thinker vc-02

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
NodeMCU ESP8266-Based Smart Lift System with IR Sensors and Voice Commands
Image of IoT Ass: A project utilizing ai thinker vc-02 in a practical application
This circuit is an IoT-based smart lift system designed for blind and disabled individuals. It uses IR sensors, pushbuttons, an LCD screen, a DFPlayer module, and a VC-02 module to detect floor selection via finger presence or voice commands, and announces the selected floor through a speaker while displaying it on the LCD.
Cirkit Designer LogoOpen Project in Cirkit Designer
Voice-Controlled Buzzer System with VC-02 Module
Image of vc: A project utilizing ai thinker vc-02 in a practical application
This circuit features a VC-02 voice recognition module connected to a buzzer and powered by a 5V battery. The VC-02 module is programmed to listen for specific voice commands and, upon recognizing the command 'can you make a sound', it activates the buzzer for one second. The circuit is designed for voice-activated sound generation, with the VC-02 module handling voice recognition and serial communication, and the buzzer providing audible feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Voice Assistant with Battery-Powered Microphone and Speaker
Image of Minor: A project utilizing ai thinker vc-02 in a practical application
This circuit is a voice-controlled system that uses an ESP32 microcontroller to process audio input from a microphone, send the data to a Gemini API for speech-to-text conversion, and output responses through a speaker. It includes an IR sensor for additional input, an LED for status indication, and a battery with a charging module for power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO and VC-02 Module-Based Voice-Controlled Stepper Motor System
Image of automatic bike stand slider and voice communication: A project utilizing ai thinker vc-02 in a practical application
This circuit integrates an Arduino UNO to control a stepper motor via an A4988 driver and interfaces with a VC-02 module for audio processing. The condenser microphone captures audio signals, which are processed by the VC-02 module and output through a loudspeaker, while the Arduino also communicates with the VC-02 module and controls the stepper motor's movements.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ai thinker vc-02

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of IoT Ass: A project utilizing ai thinker vc-02 in a practical application
NodeMCU ESP8266-Based Smart Lift System with IR Sensors and Voice Commands
This circuit is an IoT-based smart lift system designed for blind and disabled individuals. It uses IR sensors, pushbuttons, an LCD screen, a DFPlayer module, and a VC-02 module to detect floor selection via finger presence or voice commands, and announces the selected floor through a speaker while displaying it on the LCD.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of vc: A project utilizing ai thinker vc-02 in a practical application
Voice-Controlled Buzzer System with VC-02 Module
This circuit features a VC-02 voice recognition module connected to a buzzer and powered by a 5V battery. The VC-02 module is programmed to listen for specific voice commands and, upon recognizing the command 'can you make a sound', it activates the buzzer for one second. The circuit is designed for voice-activated sound generation, with the VC-02 module handling voice recognition and serial communication, and the buzzer providing audible feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Minor: A project utilizing ai thinker vc-02 in a practical application
ESP32-Based Voice Assistant with Battery-Powered Microphone and Speaker
This circuit is a voice-controlled system that uses an ESP32 microcontroller to process audio input from a microphone, send the data to a Gemini API for speech-to-text conversion, and output responses through a speaker. It includes an IR sensor for additional input, an LED for status indication, and a battery with a charging module for power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of automatic bike stand slider and voice communication: A project utilizing ai thinker vc-02 in a practical application
Arduino UNO and VC-02 Module-Based Voice-Controlled Stepper Motor System
This circuit integrates an Arduino UNO to control a stepper motor via an A4988 driver and interfaces with a VC-02 module for audio processing. The condenser microphone captures audio signals, which are processed by the VC-02 module and output through a loudspeaker, while the Arduino also communicates with the VC-02 module and controls the stepper motor's movements.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Technical Details

Specification Value
Manufacturer Atharv Banage
Part ID AI
Operating Voltage 3.3V - 5V
Operating Current < 50mA
Communication UART
Baud Rate 9600 bps (default)
Recognition Distance Up to 2 meters
Recognition Time < 1 second
Number of Commands Up to 80 offline commands
Dimensions 30mm x 20mm x 5mm

Pin Configuration and Descriptions

Pin Number Pin Name Description
1 VCC Power supply (3.3V - 5V)
2 GND Ground
3 TX UART Transmit (connect to RX of microcontroller)
4 RX UART Receive (connect to TX of microcontroller)
5 MIC+ Microphone positive terminal
6 MIC- Microphone negative terminal

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3V or 5V power supply and the GND pin to the ground.
  2. UART Communication: Connect the TX pin of the VC-02 to the RX pin of your microcontroller (e.g., Arduino UNO) and the RX pin of the VC-02 to the TX pin of your microcontroller.
  3. Microphone Connection: Connect the MIC+ and MIC- pins to the respective terminals of the microphone.

Important Considerations and Best Practices

  • Power Supply: Ensure that the power supply voltage is within the specified range (3.3V - 5V) to avoid damaging the module.
  • Microphone Placement: Place the microphone in a location where it can clearly capture voice commands without significant background noise.
  • Command Training: Train the module with clear and distinct voice commands to improve recognition accuracy.
  • Baud Rate: The default baud rate is 9600 bps. Ensure that your microcontroller's UART is configured to the same baud rate.

Example Code for Arduino UNO

#include <SoftwareSerial.h>

// Define the pins for SoftwareSerial
SoftwareSerial vc02Serial(10, 11); // RX, TX

void setup() {
  // Start the hardware serial communication
  Serial.begin(9600);
  // Start the software serial communication
  vc02Serial.begin(9600);
  Serial.println("VC-02 Voice Recognition Module Initialized");
}

void loop() {
  // Check if data is available from the VC-02 module
  if (vc02Serial.available()) {
    // Read the incoming data
    String command = vc02Serial.readStringUntil('\n');
    Serial.print("Received Command: ");
    Serial.println(command);

    // Process the command
    if (command == "TURN ON LIGHT") {
      Serial.println("Turning on the light...");
      // Add code to turn on the light
    } else if (command == "TURN OFF LIGHT") {
      Serial.println("Turning off the light...");
      // Add code to turn off the light
    } else {
      Serial.println("Unknown command");
    }
  }
}

Troubleshooting and FAQs

Common Issues Users Might Face

  1. No Response from Module:

    • Solution: Check the power supply connections and ensure the module is receiving the correct voltage. Verify the UART connections and baud rate settings.
  2. Poor Recognition Accuracy:

    • Solution: Ensure the microphone is placed in a quiet environment and the voice commands are clear and distinct. Re-train the module with better quality voice samples if necessary.
  3. Module Not Communicating with Microcontroller:

    • Solution: Verify the UART connections (TX to RX and RX to TX) and ensure the baud rate is correctly set to 9600 bps on both the module and the microcontroller.

FAQs

Q1: Can the VC-02 module recognize multiple languages?

  • A1: The VC-02 module primarily supports English for offline voice commands. For other languages, please refer to the manufacturer's documentation for compatibility and training procedures.

Q2: How many voice commands can the VC-02 module store?

  • A2: The VC-02 module can store up to 80 offline voice commands.

Q3: What is the maximum recognition distance for the VC-02 module?

  • A3: The VC-02 module can recognize voice commands from a distance of up to 2 meters.

Q4: Can I use the VC-02 module with a 3.3V microcontroller?

  • A4: Yes, the VC-02 module is compatible with both 3.3V and 5V microcontrollers.

Q5: How do I reset the VC-02 module to factory settings?

  • A5: Refer to the manufacturer's documentation for the specific procedure to reset the module to factory settings.

This documentation provides a comprehensive guide to using the AI Thinker VC-02 voice recognition module. Whether you are a beginner or an experienced user, following these instructions and best practices will help you effectively integrate voice control into your projects.