X
Tech

Raspberry Pi: Amazon releases recipe for baking a low-cost Alexa voice assistant

Alexa is mostly restricted to the US, but Amazon has posted a step-by-step guide on how to build your own companion anywhere in the world.
Written by Danny Palmer, Senior Writer
alexa-on-raspberry-pi.jpg

Amazon has published instructions for obtaining the sample code required to put Alexa on Raspberry Pi.

Image: Amazon

Amazon has released a step-by-step guide on how to turn the $35 Raspberry Pi into a voice-controlled assistant.

The instructions demonstrate how to set up the single board computer to use Amazon's Alexa Voice Service to create a low-cost alternative to the Echo, Amazon's $180 smart speaker.

Like other online assistants, Amazon's Alexa responds to voice commands and can set reminders, play music, and answer simple questions.

While it was previously possible to use Alexa Voice Service with a Raspberry Pi, by releasing the guide, Amazon has made it simpler for users to gain access to the service.

Alexa is similar to other voice-activated companions, although Amazon's efforts are less prominent than the likes of Apple's Siri, Microsoft's Cortana, or Google's Now.

The service is used by the Echo, which is not officially available outside the United States, as well as by free apps on iOS and Android devices, again only available in the US.

However, now, thanks to an extensive post on GitHub by Amazon, all the code required to build a Raspberry Pi version of Alexa is available online.

To build the voice-powered assistant, the guide recommends a second-generation Raspberry Pi, a USB mini microphone, an Ethernet cable, and a MicroSD memory card, all of which can be acquired for a lower cost than an Echo. Amazon is still looking to make money from these 'homemade' devices, however, with the walkthrough linking to these items on its online store.

According to the GitHub post, the only downside of the Raspberry Pi version of Alexa is rather than it being fully voice-activated, the user can only talk to the device via the use of a push-to-talk button, meaning it's not very useful outside of arm's length.

Crucially, Alexa on Raspberry Pi is available outside the United States, which gives Amazon the chance to increase the service's reach, while also providing the firm with larger amounts of voice and language data for analysis.

The versatility of the Raspberry Pi means it can be used to build a wide range of things, including a smart rain detector.

Read more on Raspberry Pi

Editorial standards