AI voice assistants are the latest new hotness to come out of Silicon Valley, but before they were in every electronics department, they were much the exclusive playground of the DIY tinkerer. With kits like Google's AIY line, hackers and makers can build their own voice assistants with little more than the good ol' Raspberry Pi! In this video, I'll walk you through how to set up the Google AIY Voice kit on a Raspberry Pi and run one of the demo python scripts to start building your own voice interfaces!

 

PARTS/TOOLS:

https://www.newark.com/adafruit/4080/google-aiy-voice-kit-for-raspberry/dp/96AC6443?st=google%20aiy%20voice

https://www.newark.com/raspberry-pi/rpi3-modbp/sbc-arm-cortex-a53-1gb-sdram/dp/49AC7637?pf=815332051&mf=103582%2C107473&…

https://www.newark.com/raspberry-pi/sdsdqad-016g/blank-media-flash-memory-type/dp/32AC8376

https://www.newark.com/pro-elec/28-19339/adaptor-ac-dc-5-1v-2-5a/dp/51AC7144

 

RESOURCES:

AIY Custom Raspbian http://aiyprojects.withgoogle.com/

Google Developer Console http://console.developers.google.com

Etcher

 

If you're having trouble with segmentation faults crashing the Python demos, invoke these commands as Pi to install the earlier Google Assistant Library Python modules:

pip3 install google-assistant-library==1.0.0
pip3 install google-assistant-library

 

If you're receiving the following error message

File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 75, in _credentials_flow_interactive
 webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), -1)
 TypeError: register() takes from 2 to 3 positional arguments but 4 were given

 

Then change line 75 in /home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py to the following:

webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), preferred=True)