2

Are there any Raspberry Pi hats which allow to shut down the Pi by pressing a button ?

Are there any DIY open hardware projects which describe step-by-step how to build such a hat ?

Ghanima
  • 15,958
  • 17
  • 65
  • 125
martin_0004
  • 159
  • 1
  • 6

4 Answers4

1

No, but there are open software options, such as Adafruit's GPIO-Halt which'll do what you ask, with a default pin of #21, which is the last pin on J8. You change the pin in the .c file, if desired.

Alexander M
  • 498
  • 1
  • 4
  • 10
0

This 'Pi Supply Switch – On/Off Power Switch for Raspberry Pi' might be of interest to you: Pi Supply Switch

robosnacks
  • 212
  • 1
  • 6
0

I use a Button that flips in 2 ways. One for sending a signal to a GPIO Pin to shut it down via software. And the other to the RUN pin to start it back up again.

Michi Lo
  • 31
  • 1
0

To anyone still interested in this question, this might be worth noting as a prepackaged solution: Pimoroni: OnOff SHIM.

Greenonline
  • 2,969
  • 5
  • 27
  • 38