Google AIY Voice Project

This months Mag Pi magazine was a bit special. It included a kit provided by Google to create a voice assistant using Google’s cloud platform. The kit provides everything you need aside from the Pi, SD card and power supply. You also need to attach the Pi to a screen in order to set up some of the software.

Over the weekend I decided to build the kit and see what it could do.

IMG_0871

The core component included in the kit is the Voice hat. Looking at the hat you can see it is capable of much more than what the kit uses it for. I get the feeling this board will serve as the basis for further AIY projects.

The first part of the build is to add the hat to your Pi. I did not intend to use any standoffs as I will probably replace the Pi3 with a zero at some point but I added one in the end as the hat was sitting a bit flimsy.

IMG_0872

Next the speaker is attached to the board.

IMG_0873

The button wire is plugged into the hat.

IMG_0874

The microphone wire is plugged into the microphone board.

IMG_0875

The other end of the microphone wire is then plugged into the hat.

IMG_0876

The kit comes with a cardboard box which is comprised of two pieces. I have a 3D printed box to try but decided to go with the vanilla build at this point.

IMG_0878

Now the fun begins. First the Pi is put into place and the cardboard folded around it.

IMG_0879

As expected it did not want to sit right at first and took some persuasion.

IMG_0880

The components were slide down into the cardboard box.

IMG_0881

With everything sitting in the box the arcade button is added to the lid. The colour you get appears to be random. I have seen blue, red and green so far.

IMG_0882

The led and micro-switch are added to the button housing.

IMG_0883

These are locked into place within the button ensuring that the button clicks the switch.

IMG_0884

The button is then wired up to the hat.

IMG_0886

The finished kit.

IMG_0888

The led on the button acts as a status indicator and pulses when idle.

2017-07-25-172158_1824x984_scrot

Upon finishing the first thing to do is write the project image to an SD card. The image is a custom version of Raspbian with parts of the software ready to go. To get it working you have to sign up for a google cloud platform account and setup a voice assistant project. This allows you to generate a json file used to provide the software with access to the voice assistant service.

Lastly here is a video of my kit in action. To test its voice detection qualities I gave it a complicated Monty Python question which it handle pretty well I think. The response time was also very fast.

You can find the complete guide on the project by following the link below.

Google AIY voice project

It sounds like this is just the first of a series of project from Google so it is exciting to see what they will come up with next.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s