Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

HATs and other add-ons • Re: RPi 5 - power on via GPIO

$
0
0
Figured it out: Connect your power button to the J2 jumpers, in /boot/config.txt set dtoverlay=gpio-shutdown,gpio_pin=20 and one button press will turn it off (via OpenWRT) and one button press back on.

Little background info for people interested: The power button is connected to GPIO20. An impulse coming from that button is routed to GPIO20 and vice versa. Turning it back on only works via the PB itself or one connected to the J2 RTC ports.

Statistics: Posted by JMitchell — Sat Jun 15, 2024 9:59 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles