Button to recover Raspberry Pi from stopped state
Contents
Recovery button from shutdown
In order to boot the OS again after shutting down on the Raspberry Pi, it is necessary to turn off the power supply from the USB and then turn it back on.
For this reason, the USB connector for power supply that comes with the Raspberry Pi set often has a switch on it.
procedure
- Shut down the Raspberry Pi.(Power is being supplied to the Raspberry Pi.)
- Turn off the switch for power supply.
- Turn on the switch for power supply.
The Raspberry Pi will start up again by following the steps in
I saw an article that said if you connect the GPIO3 and GND of the Raspberry Pi for a short time when it is in the state 1. above, the OS will boot (recover from the stop), so I decided to give it a try.
Connection method
The connection method is as follows.
Connect GPIO3 to GND using a switch with A-contact (which turns on when the switch is pressed).
No programming or configuration to the Raspy is required.
Tested environment
I tried it on a Raspberry Pi 4B and confirmed that after shutting down, pressing the button will boot the OS again.
the end
This concludes this article.
I hope this article will be useful to someone somewhere.
Recent Comments