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
Peter LaValle avatar
About Peter LaValle
Peter is currently a PhD student at the University of Nottingham. His day work involves applying functional programming to problems with artificial intelligence. Someday maybe he'll retire and be a graphics programmer or demoscene coder.
comments powered by Disqus