Introduction: Amazon Echo on Raspberry Pi

This is a quick tutorial on install Alexa Voice Service to your Raspberry Pi creating your very own Amazon ECHO!! Thanks for the view!**You can also download the Amazon Alexa App for your phone to configure / interface with your raspberry echo!. it will be listed as a new device!!

raspbian jessie:https://goo.gl/NkXg0j

github:

https://goo.gl/altsmD

SamMachin:

http://goo.gl/ixH4u8

::Products::
Raspberry Pi 2:

http://goo.gl/nWboZ3

USB Sound card:

http://goo.gl/CkKofs

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

Comments

author
Tany44 made it! (author)2017-03-24

I followed every step. Everything worked out fine. But when we need to login into the amazon account to get the tokens it gives me an error. Why so? (You can see the error in the picture.)

error.jpeg
author
unger (author)Tany442017-03-31

check your product id. It needs to be whats on the main page labeled id. Its not the security profile id.

nano automated_install.sh

author
judas79 (author)2016-11-12

I got ahead of myself and finished the installation and connected to the internet, as your tutorials last step shows. I still haven't received my USB sound card for the mic and speaker output. I have never been able to get a sound out of my Raspberry Pi's 1/8 inch jack or HDMI, even using Wheezy, either, and am hopping the USB soundcard will solve that for me. Does anybody know if installing the soundcard, after the installation of all the AlexaPi and Jessie software ect., will work or be able to make work?

Being still a novice, the only thing I had to dig up was the command to get my IP address off my Raspberry, and that was "hostname -I" Thanks for the lesson it was nice and detailed

author
JeffryG (author)2016-10-18

I got this error:

Traceback (most recent call last):

File "./auth_web.py", line 3, in <module>

import cherrypy

ImportError: No module named cherrypy

-------------------------

how do i install cherry pi? Excuse the noob question :)

author
AlphaNomad made it! (author)2016-07-01

This was an easy project to setup! Thanks for all those who contributed to instructions and GitHub files!

Here's a video of the thing in action: https://www.youtube.com/watch?v=P9Ii44HXaQA

Screenshot_2016-07-01-20-14-52[1].pngScreenshot_2016-07-01-20-15-05[1].pngScreenshot_2016-07-01-20-15-25[1].png
author
Jonathanrjpereira (author)2016-04-29

Hey, I managed to setup Alexa on my Raspberry Pi by following all the instructions that you have provided in this video without any errors. After manually executing the main.py script in the terminal, I tried to connect GPIO pin 18(#12) & GPIO pin 3(#5) and spoke my command into the USB microphone. Unfortunately there was no output audio. I know my Audio Jack of my RasPi is working properly since I played a couple of YouTube videos just to test whether the audio was working fine.

author

Your video really seems to explain the installation and code process very well. Could you add a couple of steps regarding setting up the USB microphone, the PushButton, Autuomatically Starting the Program on Boot,How to try out a command,etc

author
vcosomano made it! (author)2016-04-20

I'm having trouble getting the button to work. When I manually open main.py it plays the hello. This is my first time using my breadboard. Any ideas on what I could have done wrong?

image.jpg
author
anelexus (author)2016-03-03

Do you think is possible to install an infrared relay as a push button instead?

Messages Image(1675411726).png
author
sTiNkFiZzLe (author)anelexus2016-03-27

Do not need a relay, just an IR remote and an IR sensor on RPi GPIO

author
sTiNkFiZzLe (author)2016-03-27

So this requires a push button to trigger listening? So this is more of an "Amazon Tap" then an Echo?

author
CheckYourGages (author)2016-03-13

I'm on university WiFi, and I'm not sure I can assign a manual ip to my raspberry pi without messing up the system. Any way around this?

author
lfzguud (author)2016-03-02

Thank you again for this great instructable! Here's my finished one and a link to it in action at youtube: https://youtu.be/V5ct4-Jol-k

IMG_0411-1.JPGIMG_0412-1.JPG
author
lfzguud (author)2016-02-29

Ouch. I put this together as your video instructs but got an error in the setup for line 32 and line 38. I see others have had this issue but can't see where/if there is a fix. Please advise. Thanks!

author
novaspirittech (author)lfzguud2016-02-29

i have just updated the source code to fix this issue. please let me know if this helps

author
Sgt Doughy (author)2016-02-28

where is the video link?

author
lfzguud (author)2016-02-27

Thank you for this! FYI - I'm using the Raspberry Pie as a go-between (HA bridge) with the Harmony Hub to control all home entertainment stuff. Works much better than IFTTT. Wondering if installing this on the Pi, then installing the HA bridge could act as an all-in-one thus eliminating the physical Echo all together?

author
nshapley (author)2016-02-24

can you elaborate more on the specific steps to take to make this happen? additional hardware requirements or options?

About This Instructable

10,877views

110favorites

License:

Bio: Avid Thinker, Computer Programmer, Web evangelist, Hacking / Breaking expert, Problem Solver, Technology Obsessed, Gamer, 3D printing, Coffee lover!
More by novaspirittech:Voice Activated Google Assistant for Raspberry PiGoogle Assistant on a Raspberry PiButton Trigger for Google Assistant on the Raspberry Pi
Add instructable to: