Home Raspberry Pi Tips for building AIY speaker

Tips for building AIY speaker

A few good tips to save the time while building the AIY speaker

Building AIY speaker was a pleasure. I went live and streamed the entire process without prior preparation. The viewers could see me struggle a bit, therefore, I thought it would be a good idea to follow this up with a few tips that should reduce the time taken to set up the AIY speaker. I finished mine in about 2h, while the process should take a maximum of 40 min.

TIPS for building AIY speaker

If you are just starting, go the easy way and download the SD-Card image made for the project. If anything, it will make setting up the Google Assistant account easier. I will assume that you know how to set up the Raspberry already if not here is a quick headless guide to networking.

Hardware tips

Practice this step without the box.

The included instructions in the AIY project are great, I don’t expect you to have any issues really. I have few pointers though:

  • LED has to be oriented properly – if your light is not working reverse the polarity
  • before affixing the switch to the cardboard, join the plastic parts together, one connection requires a bit of force, I creased my cardboard box when doing it while the button was fitted to the box
  • the box can cover up the access to the power socket, use a sharp knife to modify the hole to fit your power cable

Software Tips

Ignore all the MagPI instructions for now and go to https://aiyprojects.withgoogle.com/voice/#project-overview

Seriously, I have wasted about 40 min just by sticking to the MagPi alone and my ‘knowledge’ about Google Projects SDK.

You have 2 ways of completing the software part:

  • use keyboard, mouse, and screen to set everything up
  •  use Remote Desktop

Direct SSH session won’t let you download a .json file, therefore, pick the one you are comfortable with.

I mentioned the AIY image previously, if you used it, you will see a terminal window shortcut and three other tests on your desktop. Use it to test your Raspberry Pi. You can also navigate to the AIY project file in without using the shortcut.

Go to the Raspberry Pi desktop either via Remote Desktop or direct access and open the link above. You can open the links in new tabs, it will make sure that you have correct pages open to setup your Google Cloud account. The shortcuts for Google Cloud and this guide will be in the bookmarks as well.

I wish this was highlighted a little bit better in the MagPi guide. I found myself instantly confused by the lack of instructions inside the magazine. You shouldn’t have any other problems while building the AIY speaker.

Once everything is installed simply open the terminal shortcut from the desktop and run the main.py as instructed. After a few moments, you will see your AIY speaker waiting for your actions! I hope these tips will save you some time. I learned from my mistakes, you don’t have to make yours.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated in style with crypto-currency

SATA HAT

Add an SSD to Raspberry Pi 4 and turn it into a super-cooled NAS drive.

More HATs

Argon One

Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO

More cases on

Best Raspberry Pi Projects

How to use Raspberry PI as WOL (wake on lan) server

0
While you could wake up your PC from a mobile directly, having a dedicated server capable of doing so is the best solution. The reason is simple. You can hook up as many devices as you wish with a single endpoint. This is why Raspberry Pi is perfect for this.

Free wireless doorbell (Amazon Dash button hack)

0
The most terrifying situation I can imagine* is missing a parcel

Raspberry Pi NAS: (NAS-pi) Modding like a boss #part2

0
Plex and RAID1 NAS drive build log

MagPi – auto-downloader

0
Grab each edition of Mag Pi as soon as possible!

HOW TO...

How to boot Raspberry Pi 4 from USB

0
How to set up and boot Raspberry Pi 4 from USB drive - headless guide.

Raspberry Pi Zero, Raspberry Pi 3A+ WiFi without keyboard or cables

0
Getting Raspberry Pi boards connected in seconds

Everything you need to start using JSON

0
It's JSON not Jason, just saying!

How to use Join App in NodeRED

0
The day finally comes where Join app is almost everywhere!

Driving LCD with Arduino and Raspberry Pi

0
Displaying things on an LCD screen is as easy as going through a cup of jellybeans while writing this tutorial!