Amazon Publishes Raspberry Pi Alexa Guide

Amazon has published a step-by-step guide allowing tinkerers to build a Raspberry Pi-powered device to access the company’s voice-activated Alexa service.

The guide, published on code-sharing site GitHub by Amit Jotwani, Amazon’s senior evangelist for Alexa, is Amazon’s latest move to promote the service, which competes with better-established rivals including Apple’s Siri, Microsoft’s Cortana and Google Now.

Echo limited to US

Alexa can be more conventionally accessed via Amazon’s Echo device, which sells in the US for $180 (£127), or the Echo Tap which is set to go on sale at the end of this month for $130, but both gadgets can only be purchased in the US.

Amazon also provides a free Alexa application for Android and iOS smartphones, but that, too, can currently only be used in the United States.

The Raspberry Pi-based device, by contrast, can be built by anyone with a handful of inexpensive components, including a Raspberry Pi Model 2, available in the UK for around £25, a USB microphone, a MicroSD memory card to store the operating system, an Ethernet cable, and an optional Wi-Fi adapter.

A second-generation Raspberry Pi or newer model is required to run the needed software, according to Jotwani.

The guide explains how to set up the required software on the device and link it to Alexa using a freely available Amazon developer account.

Open access

“This project demonstrates how to access and test the Alexa Voice Service using a Java client (running on a Raspberry Pi), and a Node.js server,” Jotwani wrote. “You will be using the Node.js server to get a Login with Amazon authorisation code by visiting a website using your computer’s (Raspberry Pi in this case) web browser.”

While Echo devices are activated with a voice command, the Raspberry Pi-based unit must be triggered manually by pressing a button.

Unlike its competitors, Amazon has marketed Alexa technology to third parties, with France’s Invoxia building it into a refrigerator last year.

The company’s open approach encouraged individual developers to release Alexa guides for Raspberry Pi in January and again earlier this month.

Raspberry Pi was created by a British charity to encourage young people to learn computer programming. More than 8 million units have been distributed since the first model made its debut in 2012.

The third-generation device, adding integrated Wi-Fi and Bluetooth, appeared in February of this year.

Last year the Raspberry Pi Foundation introduced the Raspberry Pi Zero, the smallest-yet device in the line, selling for only $5.

Are you clued up about Amazon’s cloud computing platform? Try our quiz!

Matthew Broersma

Matt Broersma is a long standing tech freelance, who has worked for Ziff-Davis, ZDnet and other leading publications

Recent Posts

X’s Community Notes Fails To Stem US Election Misinformation – Report

Hate speech non-profit that defeated Elon Musk's lawsuit, warns X's Community Notes is failing to…

1 day ago

Google Fined More Than World’s GDP By Russia

Good luck. Russia demands Google pay a fine worth more than the world's total GDP,…

1 day ago

Spotify, Paramount Sign Up To Use Google Cloud ARM Chips

Google Cloud signs up Spotify, Paramount Global as early customers of its first ARM-based cloud…

2 days ago

Meta Warns Of Accelerating AI Infrastructure Costs

Facebook parent Meta warns of 'significant acceleration' in expenditures on AI infrastructure as revenue, profits…

2 days ago

AI Helps Boost Microsoft Cloud Revenues By 33 Percent

Microsoft says Azure cloud revenues up 33 percent for September quarter as capital expenditures surge…

2 days ago