![SeeedStudio ReSpeaker Core v2 Manual Download Page 14](http://html.mh-extra.com/html/seeedstudio/respeaker-core-v2/respeaker-core-v2_manual_1232995014.webp)
pip install pixel-ring
python ns_kws_alexa_with_light.py
The same as last one, say
Ale xa
to trigger the conversation w ith Alexa. You w ill the LED shinning w hile this program is running.
Play with Dueros (Voice assistance of Baidu)
The same as AVS, the only dif f erence is that you need to delete one prof ile f ile. Bef ore
you should tap the command below to delete the
avs .js on
.
rm -f ~/.avs.json
Then you can get the authorization f rom Baidu by tapping the f ollow ing command:
respeaker@v2:~$ ~/.local/bin/dueros-auth
Af ter login, the f ollow ing step is the same as AVS, Please ref er to
When you run the python program, you can say
Ale xa
to w ake up the Baidu voice assistance.
GPIO
This part w ill introduce how to use
MRAA
and
UPM
to control GPIO and Grove Socket on Respeaker Core v2.
Ste p 1. Update M RAA and UPM librarie s to late st v e rsion
First, w e need to check the kernel version of the system w e're running, if you're not sure that you f lashed the system image of version 20171128 and later.
uname -a
If you're using system image prior to version 4.4.95-respeaker-r2, please upadte the kernel f irst w ith
sudo apt update
sudo apt install linux-image-4.4.95-respeaker-r2
Then w e install the latest MRAA and UPM packages.