Skip to content

Repository files navigation

VoiceHAT

Using the AIY VoiceHAT from a standard RaspberryPi OS (raspbian) install

  • Button on GPIO 23

  • LED on GPIO 25

Installation & Requirements

Install the overlay & reboot

echo "dtoverlay=googlevoicehat-soundcard" | sudo tee -a /boot/firmware/config.txt

Set defaults for asound (cat /proc/asound/cards to check card number, usually hdmi is 0, google aiy is card 1)

 sudo cp asound.conf /etc/asound.conf

Install demo requirements

pip3 install vosk sounddevice
sudo apt-get install libportaudio2 espeak

Demos

buttonled.py - read the button and light the LED

motors.py - run motors attached to the drivers

servos.py - move servos

sound.py - test sound in python

testsound.sh - record and immediately playback 3 seconds of sound

voiceassistant.py - simple offline voice assistant, using vosk and espeak

About

Using the AIY VoiceHAT with standard Raspberry Pi OS (raspbian)

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages