Add a physical hardware button to safely shutdown the Pi
The lid vents are compatible with STEMMA boards.
A STEMMA Wired Tactile Push-Button mounts with M2.5x6mm screws and nuts.
JST PH 2mm 3-pin Plug-Plug Cable fits through the vents and plugs into the port on the e-Ink bonnet.
ssh into the Pi and edit the config text to add the hardware button
sudo nano /boot/firmware/config.txt
Scroll to the bottom and add the following code to enable the button.
dtoverlay=gpio-shutdown,gpio_pin=12,active_low=1,gpio_pull=up,debounce=10>
Page last edited November 18, 2025
Text editor powered by tinymce.