Renesas RE01 256KB Application Note

Application Note
RE01 256KB Group
Ultra-Low Consumption Voice Recognition Wearable User Interface, Home Appliance Remote Control (Bluetooth® communication)
Introduction
This application note describes the sample code, which combines voice recognition using the RECAIUS Speech recognition middleware Voice Trigger, Bluetooth
Target Device
RE01 256KB Group
TM
RECAIUS
Corporation. Below, it is described as Voice Trigger.
Speech recognition middleware Voice Trigger is a product of Toshiba Digital Solutions
®
communication, and RGB light sensor processing.
TM
TM
RECAIUS
other countries.
Bluetooth
Bluetooth.
is a registered trademark or trademark of Toshiba Digital Solutions Corporation in Japan or
®
is a registered trademark or trademark of Bluetooth SIG, inc. USA. Below, it is described as
R01AN5686EJ0101 Rev.1.01 Page 1 of 11 Feb.19.21
RE01 256KB Group Ultra-Low Consumption Voice Recognition Wearable User Interface,
Home Appliance Remote Control (Bluetooth® communication)
Contents
1. Specifications .......................................................................................................................... 3
1.1 Description of Sample Code .................................................................................................................... 3
1.1.1 Menu Selection ...................................................................................................................................... 3
1.1.2 Voice: Voice Recognition Mode ............................................................................................................ 3
1.1.3 Brightness: RGB Light Sensor Mode .................................................................................................... 4
1.2 Pins Used ................................................................................................................................................ 5
2. Operating conditions ................................................................................................................ 5
3. Discription of Software ............................................................................................................. 6
3.1 System configuration diagram ................................................................................................................. 6
3.2 Software Structure ................................................................................................................................... 6
3.3 Flowchart ................................................................................................................................................. 7
3.4 Clock Settings for each Mode ................................................................................................................. 9
3.5 Current Consumption .............................................................................................................................. 9
4. Get Sample Code .................................................................................................................... 9
5. Reference Documents ........................................................................................................... 10
Revision History .......................................................................................................................... 11
R01AN5686EJ0101 Rev.1.01 Page 2 of 11 Feb.19.21
RE01 256KB Group Ultra-Low Consumption Voice Recognition Wearable User Interface,
Home Appliance Remote Control (Bluetooth® communication)

1. Specifications

1.1 Description of Sample Code

This application note describes the sample code that combines voice recognition using Voice Trigger, Bluetooth communication, and RGB light sensor processing. In the voice recognition mode, assuming hands­free operation like a smartwatch or smart glasses, the system recognizes the voice input to the microphone and display the relevant information on the LCD according to the word detected by the voice recognition software. The RGB light sensor mode is included as an additional feature as an example of sensor processing in IoT edge devices. The application calculates the illuminance from the value obtained by the sensor, and outputs the illuminance value via the LCD and also by BLE communication.

1.1.1 Menu Selection

Use the APP_SET (SW2) and APP_MODE (SW1) buttons to select a demo to run from the menu. The selectable menus are "Voice" and "Brightness".
APP_SET (SW2): Decide (demo with triangle on the left edge is performed)
APP_MODE (SW1): Select the next demo (the left triangle moves)
Figure 1 shows the menu screen, Figure 2 shows the location of the buttons on the board.
Figure 1 Menu screen
Figure 2 Button position

1.1.2 Voice: Voice Recognition Mode

When " Voice " is selected from the menu, the demo transitions to the voice recognition mode. In this mode, the Voice Trigger recognizes the voice input to the microphone and displays information on the LCD depending on the word or phrase detected. The speech recognition result is also transmitted via Bluetooth and displayed on the tablet PC running an Android app created by Renesas.
R01AN5686EJ0101 Rev.1.01 Page 3 of 11 Feb.19.21
RE01 256KB Group Ultra-Low Consumption Voice Recognition Wearable User Interface,
Output Result
LCD
Tablet PC
Turn on TV
TURN ON TV
Turn on TV
Turn off TV
TURN OFF TV
Turn off TV
Loud sound
LOUD SOUND
Loud sound
Small sound
SMALL SOUND
Small sound
Channel up
CHANNEL UP
Channel up
Channel down
CHANNEL DOWN
Channel down
Home Appliance Remote Control (Bluetooth® communication)
Figure 3 shows the operation in voice recognition mode, and Table 1 shows the words to be recognized and the output results.
Figure 3 Recognition mode
Table 1 Correspondence between recognized words and output results*
Voice commands

1.1.3 Brightness: RGB Light Sensor Mode

When "Brightness" is selected from the menu, the illuminance value is calculated from the data obtained from the RGB light sensor and displayed on the LCD. In addition, the illuminance value is transmitted via Bluetooth and displayed time series graph of it on the tablet PC running an Android app created by Renesas.
Figure 4 shows the operation in RGB light sensor mode.
R01AN5686EJ0101 Rev.1.01 Page 4 of 11 Feb.19.21
Loading...
+ 9 hidden pages