Datasheet
pip install pixel-ring
python ns_kws_alexa_with_light.py
The same as last one, say Alexa 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 difference is that you need to delete one profile file. Before get the authorization,
you should tap the command below to delete the avs.json.
rm -f ~/.avs.json
Then you can get the authorization from Baidu by tapping the follow ing command:
respeaker@v2:~$ ~/.local/bin/dueros-auth
After login, the follow ing step is the same as AVS, Please refer to AVS Demos.
When you run the python program, you can say Alexa 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.
Step 1. Update MRAA and UPM libraries to latest version
First, w e need to check the kernel version of the system w e're running, if you're not sure that you flashed 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 first 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.










