Manual

Table Of Contents
Arduino Kit Demo Description 6 SeedVoiceLED Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
14
SeedVoiceLED Demo
Introduction
The demo uses Grove speech recognizer to turn on and off three different colored LED
indicators (Red, Green, and Blue).
Hardware Connection
The speech recognizer, three LED indicators and Arduino Mega2560 are required in this demo.
Figure 6.1 shows its realization process.
Figure 6.1 SeedVoiceLED Connection
NOTE
If you connect the skill kit to other interfaces on the Arduino Mega2560, you also need
to modify the right interfaces that the skill kit connects to in the SmartKit.h file.
Program 6.1 Define the interfaces that the skill kit connects to
#define JOYSTICK_XPIN 7 // Interface that the X-axis of the JoyStick connects to
#define JOYSTICK_YPIN 6 // Interface that the Y-axis of the JoyStick connects to
#define JOYSTICK_ZPIN A5 // Interface that the Z-axis of the JoyStick connects to
#define LED_REDPIN 9 // Interface that the red LED indicator connects to
#define LED_GREENPIN A1 // Interface that the green LED indicator connects to
#define LED_BLUEPIN A3 // Interface that the blue LED indicator connects to