This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GPIO power button for Raspberry Pi
#2
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
Reply


Messages In This Thread
GPIO power button for Raspberry Pi - by jlazkano - 2021-12-26, 10:00 PM
RE: GPIO power button for Raspberry Pi - by abarrow - 2021-12-26, 11:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)