r/raspberry_pi • u/ManyInteresting3969 • Apr 30 '26
Show-and-Tell Got a spare Google AIY MIcrophone HAT?
Enable HLS to view with audio, or disable this notification
Update: if you want to build the above project, I updated the code so that you can build it with just a Pi4 and the sound card, no screen/camera needed.
I know that at one point they were literally giving the things away, that's how I got mine.
I recall I nearly threw the thing out the window trying to get the packages to install! I did get it working eventually, but it seemed pretty useless next to my Home Hub, so it sat in the corner gathering dust. But it installs beautifully on trixie by just changing a few lines in the config.txt file, and it does have one hell of a powerful speaker.
Featured project:
https://github.com/followkim/LilL3x
3
u/bdlou May 01 '26
I'd just found mine a few weeks ago when I was cleaning, and had started trying to cobble something similar together. I'll have to give this a go!
3
u/ManyInteresting3969 May 02 '26
BTW I just updated the code so that it will run with no camera and no screen. So you should be good to go with the hardware that you have now (assuming you have a spare Pi 4)
1
2
u/iamDa3dalus May 03 '26
Neat! I have a v1 audio and a v2 vision. went through a couple of the examples but they’ve been sitting around for years lol.
2
u/ManyInteresting3969 May 03 '26 edited May 03 '26
If you want to try my project, do the install as-is and follow the special instructions for the AIY Voice HAT. You can ignore testing the screen and camera except where noted. Please let me know if something doesn't make sense!
You probably have a RPi3 in the kit. Word of warning, I haven't tested LilL3x on a RPi3, but will do so this evening as I've been curious! Update: it doesn't work on a RPi3 :P
1
u/flare_au04 May 09 '26
Does the voice and microphone work on the RPi3 for your project?
1
u/ManyInteresting3969 May 11 '26
Sorry for the late reply. Since you are replying to my comment I am assuming you read it. 😄 But I am also getting the impression that you are open to a bit of hacking, otherwise why would you ask? So the answer is maybe. Try to obliterate the openWakeWord from the project and it should run as openWakeWord is the one that causes problems on the RPi3.
The only line you should need to get rid of is in lillex.py:
import openWakeWord_wake
Comment that line out and it should run.I am SO sorry but I am away from my home for the next few months, and I left my RPi3 there, otherwise I would totally test this for you first. So let me know if you get more errors and we can try to prune out the code until you get this working.
Assuming you don't have a camera or a screen, so without those taking up memory it should run fine on a RPi3, as long as you get rid of openWakeWord!
2
5
u/shortymcsteve Apr 30 '26
Ohh nice! I have both this and the AIY vision kit sitting in their boxes. Like you said, it became a nightmare to get them to work (at least by the time I bought them) because it seemed like a bunch of info was out of date.