The following guide provides step-by-step instructions to set up the Alexa Voice Service (AVS) Device 1.17 SDK on a Raspberry Pi. It uses a handful of scripts to download, build, and run the AVS Device SDK with wake word detection enabled. When finished, you'll have a working sample app to test interactions with Alexa.
You need the following equipment to finish the basic tutorial — Prototype with Raspberry Pi.
- Raspberry Pi - Use a Raspberry Pi 3 or 4.
- Micro SD card - Minimum 8 GB.
- USB 2.0 microphone - Raspberry Pi does not have a built-in microphone. To interact with Alexa you must plug in an external microphone.
- External speaker or headset - Your audio source needs to connect to the Pi with 3.5mm audio cable.
- USB keyboard and mouse - Choose any compatible keyboard and mouse.
- HDMI monitor - Choose any compatible monitor. Alternatively, you can remote SSH into your Pi.
- Internet connection - Ethernet connection or a 2.4 GHZ Wi-Fi.
For the Advanced Pi LED tutorial, you'll need some additional hardware. You can use any breadboard or LEDs you might have laying around. For our tutorial, use a GPIO Breakout Board Bundle from Canakit.
If you don't have these items, you can find what you need by clicking the picture below.
Next, set up your Raspberry Pi and install the software required to run the SDK.