Did you ever wonder how the power button works on a GoPiGo?

I found this on YouTube.

This describes how a power button triggers an output that holds power on.

Since the button is available as an input after the robot is running, it can be used to trigger a shutdown.

Now the circuit isn’t exactly the same, but the principle is identical.

1 Like

It’s now mentioned as an explanation in the Installation_FAQ

Installs gopigo3_power service — Monitors GPIO 22 for power button events and maintains GPIO 23 to signal the board that the Pi is running

2 Likes