|Skill Level||Area of Focus||Operating System||Cloud Service/Platform|
|Intermediate||Alexa Voice Service, |
|Amazon AWS IoT|
This project aims to provide the ability to bring Alexa to a Linux device including embedded systems like the DragonBoard™ 410c from Arrow Electronics. The binary release is packed into an Ubuntu Core Snap package.
Using the DragonBoard™ 410c from Arrow Electronics, the objective of this project is to get familiar with Ubuntu Core Snap packages and Amazon’s Alexa voice services. The desired outcome is to create a virtual assistant without the need to buy special hardware
Build / Assembly Instructions
Materials Required / Parts List / Tools
Source Code / Source Example / Application Executable
Build / Assembly
- You need to create your own Alexa Device on the Amazon developer portal. Instructions available on GitHub to create your own device and security profile.
Add http://alexa.local:3000/authresponse to the Allowed Return URLs and http://alexa.local:3000 to the Allowed Origins.
- Connect an audio device: a microphone and speakers to your device. It could be a USB headset for example.
- Install the PulseAudio snap:
sudo snap install --devmode pulseaudio
- Install the Alexa snap from the store:
sudo snap install --channel beta alexa
- Open http://alexa.local:3000 in a web browser on a local device or a device on the same network. Note: the app provides an mDNS advertisement of the local domain alexa.local. This is very helpful for using with monitor less devices.
- Fill in the device credentials that were created during step 1, click 'log in'. Note: the voice detection threshold is a float value for adjusting voice detection. The smaller the value, the easier it is to trigger. You may need to adjust it for your mic and voice.
- Fill in your Amazon credentials
Now you can speak with Alexa. The app uses voice activation, so simply say 'Alexa' and the phrase that you want to say. The app makes a beep via the speakers when it hears the 'Alexa' keyword and starts recording. Enjoy Alexa without the need to buy special hardware.