HomeRaspberry PiTips 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 with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

M5Paper

Programable, ESP32 based awesome dev platform with 4.7 e-ink display by M5Stack

More HATs

client-image
client-image

Argon One M.2

Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO and M.2 SSD support

More cases on

client-image
client-image

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.

Slow Internet Warning

0
From time to time my Internet grinds to a stop. Since Raspberry Pi 4 comes with a 1Gbps Ethernet, I decided to take advantage of it and create a reporting system in NodeRED that will monitor and report when the ISP is not keeping the contractual agreements. Works with Alexa, Google Home, Android and Windows 10.

How fast Raspberry Pi NAS is?

0
Let's see how fast Raspberry Pi NAS really is?

Argon18: Argon ONE SSD modification

0
Argon One case just got better - now you can boot it from USB without ruining the design thanks to Argon 18: Argon One SSD modification

HOW TO...

It took me 2 months to boot CM4 from NVMe

0
Complete beginners guide to Compute Module 4 boot from NVMe.

Raspberry Pi Zero 2 W vs other Zero boards

0
It's time to test the Raspberry Pi Zero 2 W against other Raspberry Pi boards from Zero series: power, WiFi, temperature and core performance

C/C++ and MicroPython SDK for Raspberry Pi Pico on Windows

0
A guide to SDK toolchain for Raspberry Pi Pico and C/C++ , Micropython on Windows.

A comprehensive guide to Grafana & InfluxDB

0
How to use Grafana and InfluxDB on Raspberry Pi for IoT sensors in home automation

How to boot Raspberry Pi 4 from USB

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