This tutorial will help you build your own Amazon's Alexa using a Raspberry Pi and MATRIX Creator, the first Microphone Array add-on for Raspberry Pi.

We will use Alexa Voice Services (AVS), it is the service used by Amazon Echo that allows us to accomplish many of the challenging tasks in this project.

Step 1: Parts That You'll Need

  1. MATRIX Creator.
  2. Raspberry Pi 2 or 3
  3. 5V 2.0A Power Supply
  4. Speaker (Needs Aux input.)
<p>Hey Everyone!</p><p>We just wanted to let you know that we have an updated version of the Alexa Guide that now includes the wake word feature. You can check it out here: <a href="https://www.instructables.com/id/Build-DIY-Amazon-Alexa-With-a-MATRIX-Creator-on-Ha/" rel="nofollow"> https://www.instructables.com/id/Build-DIY-Amazon...</a></p>
<p>I headed over to the new build and all worked GREAT!! I posted a quick video and a couple of pics. </p>
<p>Having issue as well<br></p><p>rmmod: ERROR: Module lirc_rpi is not currently loaded</p><p>NameError: global name 'refresh_token' is not defined</p><p><br>Raspberry Pi 3 B, Clean Image from scratch</p>
<p>This fixed it for me...</p><p>https://github.com/sammachin/AlexaPi/issues/58</p>
<p>epic! that worked great! now im dancing with the issue:<br><br> rmmod: ERROR: Module lirc_rpi is not currently loaded</p>
<p>Hi Ryan,</p><p>We suggest you look at our latest demo. You can find it here:<a href="https://www.instructables.com/id/Build-DIY-Amazon-Alexa-With-a-MATRIX-Creator-on-Ha/" rel="nofollow"> https://www.instructables.com/id/Build-DIY-Amazon...</a></p>
<p>They have a new set of directions on their website which I tried to follow from scratch, I can't get the mics to work on it.</p>
<p>Hello,</p><p>I ran through the directions above and when I run the demo at the last step, I get the blue ring and the &quot;hello&quot; but there is a message:</p><p>Running workaround for GPIO 16 (IR-RX)<br>checking internet connection<br>connection OK</p><p>payload=client secret and access token (etc)</p><p>Touch MATRIX Creator IR Sensor.</p><p>The IR sensor doesn't seem to detect anything. So I hit CTRL+C and run the app again.</p><p>Running workaround for GPIO 16 (IR-RX)<br>checking internet connection<br>rmmod: ERROR: Module lirc_rpi is not currently loaded<br>connection OK<br>Touch MATRIX Creator IR Sensor.</p><p>As indicated in the error message, the IR detector isn't working.<br>If I reboot, and wave my hand over the IR then I get a blue LED flash on the left side of the Matrix.</p><p>As a side note, if I try to run the mic_demo, all I get are 0's</p><p>Any help would be appreciated. Can't wait for the Gesture and face recognition instructables.</p><p>Pi3, clean raspbian image, 2nd attempt from scratch.</p>
<p>did you or @thedanno figure this one out? im having the same issue</p>
<p>I have the same problem except the lights on my Matrix are flashing every color when I start it up. Anyone get this to work properly? Anyone have this problem and fix it?</p>
<p>Hi Guys</p><p>Great little print you created here... but Alexa Dot costs 49$ and the MATRIX costs 99$ plus the price for a Rasp3.... So what should be the argument to build it with your MATRIX print ?</p>
<p>I totally agree with you, making your own amazon echo using a matrix creator is too expensive</p>
<p>From what I understand this isn't meant as a end customer device. Alexa is just one feature.</p>
<p>Any chance y'all could update this for Alexa &quot;Always On&quot;?</p>
<p>A new update of this instructable with Hands-Free mode can be found here: <br></p><p>https://www.instructables.com/id/Build-DIY-Amazon-Alexa-With-a-MATRIX-Creator-on-Ha/</p>
<p>does anything need to change for this to work with the always listening now that it's available?</p>
<p>A new update of this instructable with Hands-Free mode can be found here: </p><p>https://www.instructables.com/id/Build-DIY-Amazon-Alexa-With-a-MATRIX-Creator-on-Ha/</p>

About This Instructable




Bio: MATRIX Creator is a sensor-packed dev board for Raspberry Pi that lets you build your IoT ideas.
More by MATRIX_Creator:Build a DIY Amazon's Alexa with a Raspberry Pi and a MATRIX Creator Rasberry PI Universal IR Remote with MATRIX Creator 
Add instructable to: