Add a tiny yet convenient power switch to your Pi with Pimoroni's On-Off SHIM!
Pimoroni's SHIMs (Shove Hardware in the Middle) are a new range of boards designed to be small, affordable, and handy. They're just 0.8mm thick (the bare board, not including mounted components) and designed to be soldered straight onto the GPIO pins of your Pi, if you wish, so that you can use them with HATs and pHATs on top.
Usage
Just plug your micro-USB power supply into the micro-B connector on OnOff SHIM, and then press the button once to switch on power and boot up your Pi. After installing our software (details below), you can press the button again to initiate a clean shutdown and completely cut the power to your Pi.
Features