Welcome to our tutorial of building an Amazon Alexa using Rasberry Pi. Since you've clicked on this tutorial, you obviously know that the Amazon Alexa is a beautiful piece of technology in this modern age. Though, buying it and making it are two different pathways that can lead to the same product but with different looks. If you are building it, you could potentially save some money and learn some knowledge about coding.
Step 1: Amazon Alexa Required Items
- Rasberry pi 3 (or Rasberry pi 2 with WiFi adapter)
- Micro USB power cable to power the Rasberry Pi
- SD card or Micro SD card; depending on what your Raspberry Pi it takes
- Microphone with USB connector
To Code + Stationary:
- Powered speakers to output answers from Alexa
- Keyboard and Mouse to code
- DVI to HDMI
- Computer screen
To make it mobile:
- Power bank (in this case i have a 12000mAh)
- Portable speaker
- Auxiliary audio cable
- Possible box to hold everything in
Step 2: Creating an Amazon Developer Account
1. Click on this here to create a amazon account.
2. Follow the required instructions in order to have a fully alleged account.
Step 3: Coding for Your Raspberry Pi
Click here to open up a page Github's coding. This link will bring you through a guide that will show you what to type in your terminal to have your Alexa working.
Step 4: Getting It Ready for the Disconnect
Once you have gotten all the coding finished, you should have a Wake Word in order to ask commands without any clicking. The default wake word should be "Alexa". If you want to start using the wake word, you say "Alexa" and wait for the sound indicating that it is accepting commands. Dynamic mics are great for these as they will not pick up background noise. If there are a lot of background noise that the Microphone can pick up, using the wake word can be difficult unless you are talking really close to the mic with a clear voice. Once all of these are in good working order, you are ready for movement.
Step 5: Making It Mobile
Are you ready for the disconnect? If your Amazon Alexa is ready for it, you can switch your power cable from computer/outlet to the power bank. If you have the Portable speaker ready, you can grab your auxiliary cord to plug your portable speaker to your Raspberry Pi. You can disconnect your mouse, keyboard, and DVA plug but don't lose them! You will still need to plug them in if your Raspberry pi Alexa crashes or if you need to turn it on again. In the mean while, as long as your Alexa is still connected to WiFi, you are able to move it around. Just make sure your Power bank doesn't run out of power.