Wiring Another Shutdown Button For GoPiGo3

I have in my notes that pin 15:GPIO22 on the GoPiGo3 40 pin header is the RPI_Shutdown (button)

GoPiGo3 - Raspberry Pi Interface
 13v3: RPI+3v3
 2:5V: 5V supply
 3:GPIO2: SDA_3v3
 4:5V: 5V supply
 5:GPIO3: SCL_3v3
 8:GPIO14: RPI_TX
10:GPIO15: RPI_RX
12:GPIO18: RPI_RESET
15:GPIO22: RPI_Shutdown (button)
16:GPIO23: RPI_RUNNING
18:GPIO24: RPI_SWDIO
19:GPIO10: RPI_MOSI
21:GPIO9: RPI_MISO
22:GPIO25: RPI_SWDCLK
23:GPIO11:RPI_SCK
26:GPIO7: RPI_SS
3 Likes

This is a pretty old tutorial but it can easily be adapted

And indeed use GPIO pin 22 to trigger an automated shutdown. It will automatically call gopigo3_power.py which is already running in the background.

2 Likes