MATRIX Creator running Alexa demo in Hands-free mode

This guide provides step-by-step instructions for setting up AVS on a Raspberry Pi with a MATRIX Creator or MATRIX Voice. It demonstrates how to access and test AVS using our Java sample app (running on a Raspberry Pi), a Node.js server, and a third-party wake word engine using MATRIX mic array. You will use the Node.js server to obtain a Login with Amazon (LWA) authorization code by visiting a website using your Raspberry Pi’s web browser.


Required hardware

Before you get started, let’s review what you’ll need.

  • Raspberry Pi 3 (Recommended) or Pi 2 Model B (Supported) – Buy at Amazon – Pi 3 or Pi 2.
  • MATRIX Creator or MATRIX Voice – Raspberry Pi does not have a built-in microphone, the MATRIX Creator has an 8 mic array for Alexa – Buy MATRIX Creator or pre-order a MATRIX Voice on Indiegogo.
  • Micro-USB power cable for Raspberry Pi.
  • Micro SD Card (Minimum 8 GB) – You need an operating system to get started. NOOBS (New Out of the Box Software) is an easy-to-use operating system install manager for Raspberry Pi. The simplest way to get NOOBS is to buy an SD card with NOOBS pre-installed – Raspberry Pi 8GB Preloaded (NOOBS) Micro SD Card. Alternatively, you can download and install it on your SD card.
  • A USB Keyboard & Mouse, and an external HDMI Monitor – we also recommend having a USB keyboard and mouse as well as an HDMI monitor handy if you’re unable to remote(SSH) into your Pi.
  • Internet connection (Ethernet or WiFi)
  • (Optional) WiFi Wireless Adapter for Pi 2 (Buy on Amazon). Note: Pi 3 has built-in WiFi.

For extra credit, enable remote(SSH) into your device, eliminating the need for a monitor, keyboard and mouse – and learn how to tail logs for troubleshooting.

Let’s get started

The original Alexa on a Pi project required manual download of libraries/dependencies and updating configuration files, which is prone to human error. To make the process faster and easier, we’ve included an install script with the project that will take care of all the heavy lifting. Not only does this reduce setup time to less than an hour on a Raspberry Pi 3, it only requires developers to adjust three variables in a single install script.

Step 1: Setting up your Pi

Configure your RaspberryPi like a original Alexa documentation, for this please completing steps: 1,2,3,4,5 and 6 from original documentation: Raspberry Pi

Step 2: Override ALSA configuration

MATRIX Creator has 8 physical microphone channels and an additional virtual beam formed channel that combines the physical ones. Utilize a microphone channel by placing the following in /home/pi/.asoundrc .

Read More:  MATRIX Creator running Alexa demo in Hands-free mode

About The Author

Scroll to Top
Read previous post:
Web-Enabled Home Thermostat
Web-Enabled Home Thermostat

This Instructable explains how I built WiFi enabled thermostats for my home. The thermostats are programmable with 6 different time...