2022-01-01, 04:20 PM
It's an interesting problem, as you really don't want the power to go away until the RPI itself is shut down, and of course you'd need something like a little Python script to run to manage the GPIO, which would require the RPI to be up.
The only thing I can think of is an external circuit that has something like a 20 second timer that starts when the RPI gets the shutdown command. This would give it time to shut down before the timer expires and disconnects the power completely.
You may find in testing that the system draws nearly zero current when the RPI is shutdown anyway, so you might not need this.
The only thing I can think of is an external circuit that has something like a 20 second timer that starts when the RPI gets the shutdown command. This would give it time to shut down before the timer expires and disconnects the power completely.
You may find in testing that the system draws nearly zero current when the RPI is shutdown anyway, so you might not need this.