You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to program a button to turn on and off the pi on demand? When I stack an LCD on top of the UPS, the momentary button is no longer reachable. It would be good if this could be assigned to a GPIO pin so I could have a separate on/off button. Please let me know what it would take to do this.
The text was updated successfully, but these errors were encountered:
I'm Martin from the HiPi.io / BuyaPi.ca / Pishop.us technical support team and I'm sorry for the delay in replying, I've been swamped with emails and yours got stuck in the pile!
The button is not needed under normal operation if the script is properly running, it is included for the edge case where the power returns once the Pi has started shutting down. It is not an ON/OFF button to shut down the Pi.
Still, it is on our suggestions list to add solder pads to displace the switch and LED on future board revisions.
As for shutting down the Pi on-demand from a button, it can be done easily. I believe there already is a dtoverlay you can use for this in the regular Raspberry Pi OS distribution. Check the README in /boot/overlays for more information.
Let me know if this answers your question! Remember you can always contact us through our official channels on ByuaPi.ca and Pishop.us!
Is it possible to program a button to turn on and off the pi on demand? When I stack an LCD on top of the UPS, the momentary button is no longer reachable. It would be good if this could be assigned to a GPIO pin so I could have a separate on/off button. Please let me know what it would take to do this.
The text was updated successfully, but these errors were encountered: