
Introduction
Today I want to show you how you can build your very own Amazon Echo with Alexa, on a Raspberry Pi using the excellent AlexaPi package by renekliment at GitHub. It’s not as complicated as you’d think and works just like the real thing, and I offer a free, sleek 3D printed case plans to print on your own 3D printer, or use a 3D printing service (which are pretty cheap). I also highly recommend installing the Gordon Ramsay Skill Set (free) so he can tell you how bad your cooking is 🙂
Contents
- Introduction, Hardware Requirements, Flash Raspbian to microSD card
- Create an Amazon Developer account, Setup Device & Security Profile
- Update Raspbian, Install AlexaPi, Summary
Hardware Requirements
The hardware required for this project is reasonably easy to acquire, but the speaker needs to be a specific type/brand if you want to 3D print the case as it’s designed to slot into the top, but I’ll give you all the relevant links.
Raspberry Pi
You can use either a Raspberry Pi 3 or 2B models for this project, along with a minimum 8GB microSD card and a good quality power adapter for your Pi. Best to buy a starter pack which you’ll find on the links below.
- Where to buy a Raspberry Pi 3
- Search eBay.com for “Raspberry Pi 3 Starter Kit”
- RS Components (massive inventory, world-wide online stores)
- Farnell/Element14 (massive inventory, world-wide online stores)
Microphone and Speaker
Pretty much any mini USB microphone will do the trick, and I have given links below for the specific speaker (A10 Mini Speaker) depending on whether you’re printing the 3D case, if you’re not printing the case, you can use any speakers you like.
- Search eBay.com for “Mini USB Microphone” (see below for image)
- Search eBay.com for “A10 Mini Speaker” (these will fit the case, see below for image) or Amazon
Case
I am giving away the 3D case print files for nix which are available here. You will need to follow the instructions to build the case.

Flash Raspbian
Let’s get started. Now we need to flash your microSD card with the Raspbian operating system. You’ll need a microSD card of 8GB or more and the application Etcher to transfer the .img file to it (Etcher supports Windows, Linux and MAC).
- Download the latest version of Raspbian (full version, not lite) from raspberrypi.org
- Click on and extract the .img file and take note of it’s location
- If not already installed, download and install Etcher for Windows, Linux or MAC
- Insert your microSD card into a card reader, close any automatic windows, prompts or alerts
- Fire up Etcher which should detect the microSD card automatically (important! if you have multiple choices, be sure to choose the SD card we are working with)
- Click on the Select Image button, navigate to your Raspbian .img file, select it and/or click Open
- Once you’re sure you have everything right by double checking, click on the Flash! button
- Etcher will now start the flashing process, click Yes to the Windows prompt, and close any automatic alerts/windows that show shortly afterwards
- Flashing should take about 5 minutes, then you’ll be presented with the “Flash Complete!” dialog
- Close Etcher, remove the card reader and microSD card
- Insert the microSD card into your Raspberry Pi
Now we can move on to the next section Create an Amazon Developer account, Setup Device & Security Profile.
Dominic says
Thanks Richie for your detail step by step tutorial. I successfully installed. However, I experience same problem like Holden, some times responses well, sometimes, unable to speak out complete word…it’s like spitting… (also I face problem opening http://localhost:5050 or http://192.168.xx.xx:5050).
Pls help me
Richie says
Hi Dominic, I am going to revamp the guide mate and move it to ricmedia.com, will be on to it asap. cheers, Richie
Holden Lee says
The audio cuts off every time Alexa tries to speak, so she never finishes what she’s saying. How do I fix this?
Richie says
Hi Holden, Is this issue happening with the same hardware I advise in this guide or other hardware? if you’re using my advised hardware, have you connected via the 3.5mm jack or just USB? Also make sure the mode button is set to Auxiliary mode. Let me know if that fixes the issue. If not, it’s likely an issue with AlexaPi which you can bring up on their support forum: https://github.com/alexa-pi/AlexaPi/issues.
Cheers!
Richie