AIY and Pi4j (Voice V1) GPIO Reference

I’m trying to use a Google AIY Voice V1 with Pi4J. I had a bit of trouble finding the pins, so I’m posting this here in case anyone else is looking.


Basically; there are three numbers for the pins. The AIY SDK uses one number, the header has a different number, and (after experimentation I’ve determined that) the Pi4J API uses a different layout.

Anyway, this table shows the RaspiPin for the Button and LED interfaces.

Action pi4j GPIO J6 Diagram AIY SDK PIN Name
LED RaspiPin.GPIO_06 22 25
Button Press RaspiPin.GPIO_04 16 23
comments powered by Disqus
Peter LaValle avatar
Peter LaValle
Any links probably include affiliate ids for that sweet sweet kickback - and some programs require that I tell you. The contents of this blog are likely unrelated - as they include games, paints, and build tools.