Tech Break

Apr 24th 2017

Tech Break 3952

Raspberry Pi Alexa

DIY Amazon Echo with a Raspberry Pi 3
Category: TWiT Bits

Build your own Amazon Echo with a Raspberry Pi!

Parts
- Raspberry Pi (Model 3 or Model 2)
- Micro USB cable, and power adapter
- 8 GB or larger Micro SD
- USB Mic
- Speaker
- Keyboard and Mouse

Amazon Developer
Link to site - https://developer.amazon.com/
Web Settings
- Allowed Origins https://localhost:3000
- Allowed Return URL's https://localhost:3000/authresponse

Terminal Commands

Install Alexa
cd Desktop
git clone https://github.com/alexa/alexa-avs-sample-app.git
cd ~/Desktop/alexa-avs-sample-app
nano automated_install.sh

Fill in the fields with the information from your Developer account
ProductID=my_device
Client ID
ClientSecrect

hit CTRL X to save

cd ~/Desktop/alexa-avs-sample-app
. automate_install.sh

Run Alexa Service
cd ~/Desktop/alexa-avs-sample-app/samples
cd companionService && npm start

Run Sample App to Confirm Account
cd ~/Desktop/alexa-avs-sample-app/samples
cd javaclient && mvn exec:exec

Start Wake Word
cd ~/Desktop/alexa-avs-sample-app/samples
cd wakeWordAgent/src && ./wakeWordAgent -e kitt_ai

Bandwidth for TWiT Bits is provided by CacheFly.