Skip to main content

Grove - Speech Recognizer

enter image description here

Use voice to interact with things around you can always be one of the most interesting things of IoT application, we want to make something more different and cooler. Recently we just launched the voice control solution “Respeaker” on Kickstarter and it becomes the blockbuster. However not everybody needs a Respeaker to build voice control project, sometimes people only need a simple solution, here we would like to introduce the first generation of grove speech recognizer to realize your dream of smart home easily and fast.

Grove speech recognizer is a designed for voice control application such as smart home, smart toy, voice control robot, anything you would like to control through voice, it worth a try. The board includes a Nuvoton ISD9160, a microphone, 1 SPI flash, 1 grove connector,1 speaker connector and 1 led to reflect to your voice.

Nuvoton ISD9160 is (SoC) Chipcorder that based on Cortex™-M0, it provides strong and economic solution for voice control applications. ISD9160 is not the only amazing thing in this grove. Let’s look at the microphone. Remember the uncomfortable moment when you have to speak directly and closely to the voice recognizer device to make sure it can hear you? It won’t happen this time! The microphone on grove-speech recognizer is Omni-directional, which means that whether a user speaks into the microphone from the front, back, left or right side, the microphone will record the signals all with equal gain.

This speech recognizer can recognize 22 pieces of commands including 'start', 'stop', 'Play music' and so on. Every time it recognizes a command, it will return a value and then the loudspeaker that connected to it will repeat the command. This value can be used to control other devices like motor, music player. We have tested it for hours to make sure it possesses a high recognition rate and a very low false trigger.

Here are some notes that you must know before using it: Awaken Word: Hicell (Please pronounce it as one word) When it recognizes the awaken word, LED turn red, then you can say the command word, if it recognize the command word, LED will turn blue.

note
The firmware of the module was wrote by the third party vendor, it's not open source.

Application Ideas

  • Internet of Things
  • Smart House
  • Human Machine Interface
  • Lighting Control
  • Sensor Hub
  • Robot

Features

  • Local Voice Recognition
  • Very low rate of false triggering
  • Speaker connector(JST2.0, speaker is not include)
  • Built-in microphone
  • 3.3/5V working voltage
  • 22 recognition entry
  • Default Baudrate: 9600
tip
More details about Grove modules please refer to [Grove System](https://wiki.seeedstudio.com/Grove_System/)

Platform Support

ArduinoWioBeagleBoneRaspberry PiLinkIt
enter image description hereenter image description hereenter image description hereenter image description hereenter image description here

Specification

ItemMinTypMaxCondition
Operating Voltage3V3.3V5V25 ℃
Operating Current25mA26.5mA80mA@playingVCC = 3.3V 25℃
Operating Current25mA26.5mA130mA@playingVCC = 5V 25℃
Operating Temperature0℃25℃85℃
Size40*20mm
Weigth5g
Flash2Mbytes
Microphone Sensitivity-43dB-40dB-37dBVCC = 5V 25℃
Microphone SNR58dB
Microphone DirectivityOmni-directional
Speaker Power1WVCC = 5V 25℃
Processor coreCortex-M0
Processor Frequency32.768MHz50MHzVCC = 5V 25℃

Hardware Overview

enter image description here

  1. Grove Connector
  2. Red Led - lights when "HIcell" is recognized
  3. Blue Led - lights when a command is recognized
  4. Speaker Connector - You can connect a speaker to get the voice return
  5. Microphone
  6. ISD9160CFI - controller

Command Return

CommandValue
Turn on the light1
Turn off the light2
Play music3
Pause4
Next5
Previous6
Up7
Down8
Turn on the TV9
Turn off the TV10
Increase temperature11
Decrease temperature12
What’s the time13
Open the door14
Close the door15
Left16
Right17
Stop18
Start19
Mode 120
Mode 221
Go22

Getting Started

Here we will show you how this Grove - Speech Recognizer works via a simple demo. First of all, you need to prepare the below stuffs:

Seeeduino V4Grove - Speech RecognizerBase Shield
enter image description hereenter image description hereenter image description here
Get ONE NowGet ONE NowGet ONE Now

Hardware Connection

Thanks to the benefit of Grove series module, you don't need to make soldering or bread board, what you need to do is connect the modules to the right port of Base Shield. For this demo, we connect Grove - Speech Recognizer to D2.

enter image description here

Software

Copy the below code and paste to your Arduino IDE, and upload to your Seeeduino V4. After upload the code to an Arduino, let open the Serial monitor.

#include <SoftwareSerial.h>

#define SOFTSERIAL_RX_PIN 2
#define SOFTSERIAL_TX_PIN 3

SoftwareSerial softSerial(SOFTSERIAL_RX_PIN,SOFTSERIAL_TX_PIN);

const char *voiceBuffer[] =
{
"Turn on the light",
"Turn off the light",
"Play music",
"Pause",
"Next",
"Previous",
"Up",
"Down",
"Turn on the TV",
"Turn off the TV",
"Increase temperature",
"Decrease temperature",
"What's the time",
"Open the door",
"Close the door",
"Left",
"Right",
"Stop",
"Start",
"Mode 1",
"Mode 2",
"Go",
};

void setup()
{
Serial.begin(9600);
softSerial.begin(9600);
softSerial.listen();
}

void loop()
{
char cmd;

if(softSerial.available())
{
cmd = softSerial.read();
Serial.println(voiceBuffer[cmd - 1]);
}
}

Awake the module

The module will wake up when there's command Hicell, then the red led will on. Try again when the red led is not on.

note
The red led will last 5 seconds. If the red led turn off before the command was recognized, you should **Hicell** again.

Command

After the module is awake, you can speak out the command. Such as

"Turn on the TV"

If the blue led is light(last about 1s), that means the command was recognized correctly. Take a look at your Serial monitor, the command was printed on it.

enter image description here

Play with Codecraft

Hardware

Step 1. Connect a Grove - Speech Recognizer to port D2 of a Base Shield.

Step 2. Plug the Base Shield to your Seeeduino/Arduino.

Step 3. Link Seeeduino/Arduino to your PC via an USB cable.

Software

Step 1. Open Codecraft, add Arduino support, and drag a main procedure to working area.

note
If this is your first time using Codecraft, see also [Guide for Codecraft using Arduino](https://wiki.seeedstudio.com/Guide_for_Codecraft_using_Arduino/).

Step 2. Drag blocks as picture below or open the cdc file which can be downloaded at the end of this page.

cc

Upload the program to your Arduino/Seeeduino.

tip
When the code finishes uploaded, say Hicell to wake it up, and you can say other command when the red LED goes on.

Schematic Online Viewer

Resources

Tech Support & Product Discussion

Upgradable to Industrial Sensors

With the SenseCAP S2110 controller and S2100 data logger, you can easily turn the Grove into a LoRaWAN® sensor. Seeed not only helps you with prototyping but also offers you the possibility to expand your project with the SenseCAP series of robust industrial sensors.

The IP66 housing, Bluetooth configuration, compatibility with the global LoRaWAN® network, built-in 19 Ah battery, and powerful support from APP make the SenseCAP S210x the best choice for industrial applications. The series includes sensors for soil moisture, air temperature and humidity, light intensity, CO2, EC, and an 8-in-1 weather station. Try the latest SenseCAP S210x for your next successful industrial project.

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...