2021-12-26, 11:46 PM
I've done it in a couple of iterations of systems. You use a momentary switch, and it can have another, GPIO powered LED.
Usually what they do is set them up so that a short press (less than 3 seconds) does a re-boot, while a longer press does a safe shutdown. Also, if you use the right GPIO pins, you can also wake up your RPI.
Here's a good explanation and instruction.
https://pythonrepo.com/repo/fire1ce-rasp...h-hardware
Usually what they do is set them up so that a short press (less than 3 seconds) does a re-boot, while a longer press does a safe shutdown. Also, if you use the right GPIO pins, you can also wake up your RPI.
Here's a good explanation and instruction.
https://pythonrepo.com/repo/fire1ce-rasp...h-hardware