Store

DFRobot

Gravity: Offline Language Learning Voice Recognition Sensor for Arduino / Raspberry Pi / Python / ESP32 - I2C & UART

$28.64 |
In stock at supplier
No reviews yet

What is voice recognition?  Voice recognition is a computer technology that recognizes and converts speech signals into editable text or operational ...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout
What is voice recognition? 
Voice recognition is a computer technology that recognizes and converts speech signals into editable text or operational commands through analysis. It allows people to interact with computers by speaking without using a mouse, keyboard, or other input devices. Voice recognition technology has been widely used in applications such as voice assistants, smart homes, voice search, and voice recognition notebooks.

Product Introduction
This Gravity: Offline Voice Recognition Sensor is built around an offline voice recognition chip, which can be directly used without an internet connection. It comes with 121 built-in fixed command words and supports the addition of 17 custom command words. Any sound could be trained as a command, such as whistling, snapping, or even cat meows, which brings great flexibility to interactive audio projects. 
The module features a dual microphone design with better noise resistance and a longer recognition distance, making it relatively accurate and reliable even in noisy environments. It comes with a built-in speaker and an external speaker interface for real-time voice feedback of recognition results. The module uses both I2C and UART communication methods and supports various 3.3V or 5V controllers, including the Arduino UNO, Arduino Leonardo, Arduino MEGA, FireBeetle series, and more.
This voice recognition module provides a reliable and flexible voice interaction solution for makers and electronics enthusiasts, and it can be applied to any applications where voice control or interaction is desirable, such as all kinds of smart home appliances, toys, lamps, and robotics projects.

Difference between offline and online voice recognition 
An important factor in voice recognition is the voice database, which is used as comparative data during the recognition process. Online voice databases are stored in the cloud and have a very large amount of data, while offline voice databases are local and have limited space.

The pros and cons of offline and online voice recognition:


 |
 | Pros | Cons
| Offline Speech Recognition |  1. Quickly respond to corresponding command words and instructions. 2. No need for a network. 3. If speech recognition fails, it will not affect the use of other product functions. 4. More secure privacy, users don't have to worry about their conversation content being recorded and uploaded to the cloud. 5. Small module size, convenient for embedding in applications.6. Cheaper price. | Command words are fixed, and there may be limitations on the number and length of words.

| Online Speech Recognition |  1. Consumers are easy to use and not limited to command words.2. Easy to develop, and there are many solutions in the market.
|  1. Requires network connection to connect to the cloud. 2. Response speed depends on the network speed. 3. Higher cost.

Figure: Wiring Diagram of Voice Recognition Module, Arduino Uno, and LED Light Module - I2C


Figure: Wiring Diagram of Voice Recognition Module, Arduino Uno, and LED Light Module - UART

Features
Self-learning function: Control the module to learn command words by the voice, and any audio can be trained as a command
Support I2C and UART, with a Gravity interface
Compatible with 3.3V/5V
Built-in with 121 commonly-used fixed command words
The module has a built-in speaker and an interface for an external speaker, which can provide real-time voice feedback on recognition results
Equipped with power indicator (red) and recognition status indicator (blue)
Dual microphones provide better noise resistance and longer recognition distance
Compatible with Arduino controllers: Arduino UNO, Arduino Leonardo, Arduino MEGA, FireBeetle series controllers, Raspberry Pi, ESP32

Applications
Voice recognition interaction
Voice-controlled terminal
Competition and project development

Specification
Operating Voltage: 3.3 - 5V
Maximum Operating Current: ≤370 mA (5V)
Communication: I2C/UART
I2C Address: 0x64
Fixed Command: 121
Fixed Wake-up Command: 1
Custom Command: 17
Learning Activation Command: 1
Onboard Microphone Sensitivity: -28db
Module Size: 49×32 mm/1.93×1.26”

Documents

Shipping List
Gravity: Voice Recognition Module - I2C & UART x1
Gravity-4P I2C/UART Sensor Connector x1

Jargon buster

Plain-language definitions for the technical terms used above.

ESP32
ESP32 is a family of microcontroller modules with built-in wireless features such as Bluetooth and WiFi. Knowing this product uses an ESP32-based module helps explain how it provides wireless serial communication and firmware update features.
Gravity
Gravity is DFRobot’s plug-in connector system for sensors, motors and modules, using standard cables to reduce loose jumper wiring. It matters because Gravity-compatible parts can connect directly to these ports, while non-Gravity parts may need adapters or manual wiring.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
I2C address
An I2C address is the number a device uses so a microcontroller can tell it apart from other devices on the same I2C bus. It matters because two devices with the same fixed address may conflict if used together.
LED
A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
UART
UART is a simple serial connection that sends data over separate transmit and receive wires, often labelled TX and RX. It matters because this module is designed to replace a wired UART cable with a wireless link while keeping the same serial data format.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.