Raspberry Pi Plastics is 100% owned and operated by One Nine Design Ltd and is not associated in any way with the Raspberry Pi Foundation. For more information about the Raspberry Pi Foundation please visit www.raspberrypi.org
Power HAT case
& PiPAD
We hope the assembly of the Power HAT case is intuitive but if you need help drop us an email and we'll do our best to help out.
You can find the quick start guide here:
Don't forget to add the 2 lines of code to the config.txt file for the Power HAT & PiPAD:
Open terminal on Pi and type:
sudo nano /boot/config.txt
Then add the 2 lines of code:.
​
dtoverlay=gpio-poweroff,gpiopin=18,active_low=0
dtoverlay=gpio-shutdown,gpio_pin=17,active_low=1,gpio_pull=up
​
SAVE and Reboot the Pi
These settings allow a shutdown to be invoked by pulling a GPIO pin LOW (BCM17)
Once shutdown has completed, a GPIO pin is set Low (BCM18)
​
​
​
​
​
​
​
​
LibreELEC users:
​
Move into flash directory (using SSH):
​
cd /flash
By default /flash is mounted read-only so you need to type the following: -
​
mount -o remount,rw /flash
​
now we can edit the config file by typing
​
nano config.txt
Enter the 2 lines at the bottom of the file:
​
dtoverlay=gpio-poweroff,gpiopin=18,active_low=0dtoverlay=gpio-shutdown,gpio_pin=17,active_low=1,gpio_pull=up
​
Press Ctrl+x to exit and save by pressing RETURN/ENTER.
​
Next we need to setup a KEYMAP as the following:
​
Move to the relevant folder…
​
cd /storage/.kodi/userdata/keymaps
Create the .xml file…
​
nano keyboard.xml
Paste the following code into the file:
​
<keymap>
<global>
<keyboard>
<power>shutdown</power>
</keyboard>
</global>
</keymap>
​
Press Ctrl+x to exit and save by pressing RETURN/ENTER.
​
Finally reboot your system and the SHUTDOWN and STARTUP operation is managed by the power button.
​
​