Here's how you can build a home-brew Amazon Echo

There are a variety of ways that ingenious hacker types have got Amazon's Alexa to play nice with the Raspberry Pi, but we're going for the simplest method here, which is to install AlexaPi, a ready-built Python client.

First up, you'll need a Pi (ideally a Pi 3 or Zero W for ease of Wi-Fi connectivity), with a minimum 8GB MicroSD/SD card. You'll need to have Raspbian installed and either a keyboard, monitor and mouse or SSH/remote access enabled, and of course a power supply.

You'll also need a USB microphone and a speaker to plug into the headphone jack. The microphones can be picked up cheaply from the usual internet retailers, and the speaker can be improvised from any powered speaker that accepts a 3.5mm line in, which includes anything from a cheap Bluetooth speaker to a kitchen radio or a full spec Hi-Fi system.

Alternatively, you can buy this kit, designed by Google and sold through resellers like The Pi Hut, which includes a speaker and microphone, as well as all the various cables and connectors needed to hook it all up together.

It also includes a cardboard housing and an activation button, allowing you to basically build your own push-button AI assistant. The kit's designed to allow you to build projects with the Google Assistant, but there's no reason you can't also use it to create something with Alexa.

First you'll need to set up an Amazon Developer account, which is a free (albeit click-intensive) process.

Once you've set up your Amazon Developer Account, log in. Click on the Alexa Tab, then click 'Register a Product Type', and 'Device'. Name your device type and display name, hit next, then on the Security Profile screen, click “Create new profile.”

Under the General tab, next to “Security Profile Name” name your profile and fill in the description. Keep these three short and memorable, or note them down, as you'll need them for the final setup. Click Next.

Now note down the Product ID, Client ID, and Client Secret that is auto-generated – you'll need these to set up the Pi.

Next, hit the Web Settings tab > Edit (next to the profile dropdown), and in Allowed Origins, click, “Add Another” and type in: http://localhost:5050.

Click “Add Another,” again, then type in http://your.raspberrypi.ip.address:5050 but replace 'your.raspberrypi.ip.address' with your Raspberry Pi's IP address (bold for emphasis).

Then repeat the steps with Allowed Return URLs, ie: click “Add Another” and type in: http://localhost:5050/code, then “Add Another” and add in http://your.raspberrypi.ip.address:5050/code. Hit Next when you're done.

Finally, the Device Details tab. Pick a category, write a description, pick an expected timeline, and enter 0 on the form next to how many devices you will deploy this on. Leave Amazon Music checked as “No”, as it won't run on the Pi.

Whew. With that complete, you're ready to step back into the room and get the Pi up and running with Alexa.

The next step is to install Git, followed by the actual repositories that will power your homebrew Echo. Kick off with the usual safety-first update with the standard command: sudo apt-get install update

Next, install Git, which is the code management tool that you'll need to unpack and run the AlexaPi software, followed by the software itself. Download Git with the command sudo apt-get install git, then type in cd /opt and press Enter to change the directory.

Finally, type in sudo git clone https://github.com/alexa-pi/AlexaPi.git to download the AlexaPi repos.

Now that you've downloaded the AlexaPi software, it's time to set it up. Type in sudo ./AlexaPi/src/scripts/setup.sh and press Enter.

Another series of questions is your reward – skip through the operating system and device prompts by hitting enter if you're using the Pi, then consider adding AirPlay support. If you've got an iOS device then being able to stream to your AlexaPi is exceedingly handy, but the software download will take a few minutes if selected.

Once that's downloaded (or dismissed), you'll be asked to enter your Amazon developer information from the earlier setup stages above, including Device Type ID and Security Profile Description, as well as the long Profile ID, Client ID, Client Secret numbers.

Finally, authorise your device. This is a one-time setup, so don't worry, you won't need to do this again. On a standard desktop, laptop or tablet, fire up a browser and type in http://your.raspberrypi.ip.address:5050 replacing your.raspberryi.ip.address with your Raspberry Pi's IP address from earlier. This will prompt you to login to your Amazon Developer account, which will in turn display an authorization token.

With that, you're done – the the Alexa voice service is now installed on your Raspberry Pi. The final step is to simply start the service by rebooting the Pi or using the command:

sudo systemctl start AlexaPi.service

All being well, you'll now be able to speak Alexa commands into the mic, and hear responses back through the speaker. If not, first try typing: sudo systemctl status AlexaPi.service to check the status.

If the status log has dbus and pulseaudio errors (which can happen with the stock version of Raspbian) then you'll need to set up system-wide PulseAudio, or use a workaround.

You're now in a brave new world of voice-enabled Pi interaction – enjoy!

(Thanks to the folk who built and maintain AlexaPi)

Keyword: How to put Alexa on Raspberry Pi

CAR'S NEWS RELATED

Best GPS trackers for cars

Best GPS trackers at a glance: iTrack Mini GPS Tracker MoniMoto – Smart Motorcycle GPS Streetwize Accessories GPS Tracker iTrack GPS108 Long Life GPS Tracker Carlock Anti-Theft Device Winnies GPS Tracker TK905 Rewire Security SpyTrack Nano A GPS tracker is a device used to remotely monitor something or someone’s ...

View more: Best GPS trackers for cars

Think Twice Before Buying a 2021 Dodge ProMaster

The 2022 ProMaster vs. 2021 ProMaster Updates for the 2023 model year Is there any reason to buy a 2021 ProMaster? While the Dodge Ram ProMaster isn’t as popular as other delivery vans, it’s still a good option for your business. The Power Wagon model can easily be converted ...

View more: Think Twice Before Buying a 2021 Dodge ProMaster

Could the Tesla Model Y be the best selling vehicle of 2023?

The Tesla Model Y could be the best-selling vehicle of 2023, according to an analysis from Recurrent Auto. Recurrent Auto, an automotive market analysis and retail software company, has released a complete set of predictions for the automotive industry in 2023. Most notably, Recurrent CEO Scott Case predicts that ...

View more: Could the Tesla Model Y be the best selling vehicle of 2023?

Joules, Roll-Royce, Raleigh, Derby County and Boots: 20 of the most read East Midlands stories of 2022

There was a great deal of business news in the East Midlands this year – much of it positive, some of it not so positive. Retail featured heavily with brands such as Joules, Next, Shoe Zone, Frasers Group, Topps Tiles and Boots making headlines in the region. There was also ...

View more: Joules, Roll-Royce, Raleigh, Derby County and Boots: 20 of the most read East Midlands stories of 2022

Small but powerful – the perfect car for students

Which car should it be? New or used? New or used – you should pay attention to this when buying! Financing with a car loan? What car insurance do you need? Small but powerful – the perfect car for students Explore funny T-Shirt ideas on Amazon. Young, wild and ...

View more: Small but powerful – the perfect car for students

Don't Travel Anywhere in Your Project Car Without a Pocket Driver Set

This tiny set of hardware could mean the difference between making it home or calling for a tow.

View more: Don't Travel Anywhere in Your Project Car Without a Pocket Driver Set

SuperMotocross League Launches International Streaming Service

Broadcasting all 31 AMA Supercross and Motocross events in 2023.

View more: SuperMotocross League Launches International Streaming Service

The Top Winter Tires for Safer Driving in Snow

What are the best winter tires? The pros at Tire Rack recommend these snow tires for peak traction in winter driving conditions.

View more: The Top Winter Tires for Safer Driving in Snow

Lion Electric to build battery packs in Québec

Next-gen Lexus GX (Hybrid) to arrive in 2024 – Report [Update]

Best Car Movies to Stream Tonight (2023)

Walmart demonstrates how drones are the future of grocery delivery

Best Christmas Gifts for Car Guys & Gals (2022 Shopper’s Guide)

1 Midsize Three-Row SUV Is Kelley Blue Book’s Best Buy of 2023

Google rivals join forces in online maps

Jeremy Clarkson Has Nothing Left to Say

Jeremy Clarkson ‘horrified’ over hurt caused by article about Duchess of Sussex

Jay Leno checks out off-road legend Rod Hall's Ford Bronco

Bikes instead of cars: BYCS wants to halve car traffic in city centers by 2030

Dreaming of a new car for the holidays? Here's why you should keep dreaming

OTHER CAR NEWS

; Top List in the World https://www.pinterest.com/newstopcar/pins/
Top Best Sushi Restaurants in SeoulTop Best Caribbean HoneymoonsTop Most Beautiful Islands in PeruTop Best Outdoor Grill BrandsTop Best Global Seafood RestaurantsTop Foods to Boost Your Immune SystemTop Best Foods to Fight HemorrhoidsTop Foods That Pack More Potassium Than a BananaTop Best Healthy Foods to Gain Weight FastTop Best Cosmetic Brands in the U.STop Best Destinations for Food Lovers in EuropeTop Best Foods High in Vitamin ATop Best Foods to Lower Your Blood SugarTop Best Things to Do in LouisianaTop Best Cities to Visit in New YorkTop Best Makeup Addresses In PennsylvaniaTop Reasons to Visit NorwayTop Most Beautiful Islands In The WorldTop Best Law Universities in the WorldTop Richest Sportsmen In The WorldTop Biggest Aquariums In The WorldTop Best Peruvian Restaurants In MiamiTop Best Road Trips From MiamiTop Best Places to Visit in MarylandTop Best Places to Visit in North CarolinaTop Best Electric Cars For KidsTop Best Swedish Brands in The USTop Best Skincare Brands in AmericaTop Best American Lipstick BrandsTop Michelin-starred Restaurants in MiamiTop Best Secluded Getaways From MiamiTop Best Things To Do On A Rainy Day In MiamiTop Most Instagrammable Places In MiamiTop Interesting Facts about FlorenceTop Facts About The First Roman Emperor - AugustusTop Best Japanese FoodsTop Most Beautiful Historical Sites in IsraelTop Best Places To Visit In Holy SeeTop Best Hawaiian IslandsTop Reasons to Visit PortugalTop Best Hotels In L.A. With Free Wi-FiTop Best Scenic Drives in MiamiTop Best Vegan Restaurants in BerlinTop Most Interesting Attractions In WalesTop Health Benefits of a Vegan DietTop Best Thai Restaurant in Las VegasTop Most Beautiful Forests in SwitzerlandTop Best Global Universities in GermanyTop Most Beautiful Lakes in GuyanaTop Best Things To Do in IdahoTop Things to Know Before Traveling to North MacedoniaTop Best German Sunglasses BrandsTop Highest Mountains In FranceTop Biggest Hydroelectric Plants in AmericaTop Best Spa Hotels in NYCTop The World's Scariest BridgeTop Largest Hotels In AmericaTop Most Famous Festivals in JordanTop Best European Restaurants in MunichTop Best Japanese Hiking Boot BrandsTop Best Universities in PolandTop Best Tips for Surfing the Web Safely and AnonymouslyTop Most Valuable Football Clubs in EuropeTop Highest Mountains In ColombiaTop Real-Life Characters of Texas RisingTop Best Beaches in GuatelamaTop Things About DR Congo You Should KnowTop Best Korean Reality & Variety ShowsTop Best RockstarsTop Most Beautiful Waterfalls in GermanyTop Best Fountain Pen Ink BrandsTop Best European Restaurants in ChicagoTop Best Fighter Jets in the WorldTop Best Three-Wheel MotorcyclesTop Most Beautiful Lakes in ManitobaTop Best Dive Sites in VenezuelaTop Best Websites For Art StudentsTop Best Japanese Instant Noodle BrandsTop Best Comedy Manhwa (Webtoons)Top Best Japanese Sunglasses BrandsTop Most Expensive Air Jordan SneakersTop Health Benefits of CucumberTop Famous Universities in SwedenTop Most Popular Films Starring Jo Jung-sukTop Interesting Facts about CougarsTop Best Hospitals for Hip Replacement in the USATop Most Expensive DefendersTop Health Benefits of GooseberriesTop Health Benefits of ParsnipsTop Best Foods and Drinks in LondonTop Health Benefits of Rosehip TeaTop Best Air Fryers for Low-fat CookingTop Most Asked Teacher Interview Questions with AnswersTop Best Shopping Malls in ZurichTop The Most Beautiful Botanical Gardens In L.A.Top Best Mexican Restaurants in Miami for Carb-loading rightTop Best Energy Companies in GermanyTop Best Garage HeatersTop Largest Banks in IrelandTop Leading Provider - Audit and Assurance In The USTop Best Jewelry Brands in IndiaTop Prettiest Streets in the UKTop Best Lakes to Visit in TunisiaTop Highest Mountains in Israel