# Gravity: Offline Voice Recognition Sensor - I2C & UART

**Type:** Product page · **SKU:** SEN0539-EN · **Brand:** [DFRobot](https://core-electronics.com.au/brands/dfrobot-australia)
**Page:** https://core-electronics.com.au/gravity-offline-voice-recognition-sensor-i2c-uart.html ([markdown](https://core-electronics.com.au/gravity-offline-voice-recognition-sensor-i2c-uart.html.md))

Take control of projects with DFRobot’s offline Gravity: Voice and Speech Recognition Sensor. Train any sound as a command and enjoy flexibility with...

## Pricing

- **Price:** $28.45 (inc GST) — $25.86 AUD, exc GST
- **Quantity discounts:** 6+ $24.57 (exc GST) · 12+ $23.54 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 5 today, and up to 1900 more in 8–12 days.

## Description

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](https://www.dfrobot.com/product-838.html), [Arduino Leonardo](https://www.dfrobot.com/product-698.html), [Arduino MEGA](https://www.dfrobot.com/product-358.html), [FireBeetle series](https://www.dfrobot.com/topic-302-184.html), 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.

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.

### Online vs Offline

 |  | **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. |

![Wiring Diagram of Voice Recognition Module, Arduino Uno and LED Light Module - I2C](https://core-electronics.com.au/attachments/localcontent/ConnectionDiagram-I2C_53407a385c9.png)

Figure: Wiring Diagram of Voice Recognition Module, Arduino Uno, and [LED Light Module](https://www.dfrobot.com/product-490.html) - I2C

![Wiring Diagram of Voice Recognition Module, Arduino Uno and LED Light Module - UART](https://core-electronics.com.au/attachments/localcontent/ConnectionDiagram-UART_514351daf15.png)

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

- [Product wiki](https://wiki.dfrobot.com/SKU_SEN0539-EN_Gravity_Voice_Recognition_Module_I2C_UART)
 
### Parts List

- Gravity: Voice Recognition Module - I2C &amp; UART x1
- Gravity-4P I2C/UART Sensor Connector x1

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/S/E/SEN0539-EN-1.jpg)
