Manual

Table Of Contents
Arduino Kit Demo Description 8 SeedVoiceDobot Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
23
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 8.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
#define BUTTON_REDPIN A0 // Interface that the red button connects to
#define BUTTON_GREENPIN A2 // Interface that the green button connects to
#define BUTTON_BLUEPIN A4 // Interface that the blue button connects to
Realization Process
In this demo, we use Grove speech recognizer to control Dobot Magician and air pumps. Figure
8.3 shows the realization process.
NOTE
Please speak out the command Hicell to wake up the speech recognizer before using it.
If successful, the LED on the speech recognizer will turn red. Then, you can speak out
the command word. If the command word is detected, the LED will turn blue.