This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GPIO power button for Raspberry Pi
#5
threadjacking for a related issue

I have openplotter running on a RPi4B.  Power supply is 12v>UPS>12v:5vstep-down>RPi

I want to shut the RPi power off completely following a shut down to save power (I don't have a lot of battery capacity or charging capacity so every bit counts).

I have this switch unit. It will sit electrically between the UPS and the 12v:5v converters ie 12v>UPS>Power Switch>12v:5vstep-down>RPi

It can switch on and off triggered by a pulse of >1v.  On is easy - a simple momentary switch is all I need there So my hardware solution exists, I now need to implement the software bit so that the system automatically shuts off the power after a shut-down command.  

I understand  I can use a GPIO pin to provide the "off" trigger by making a GPIO pin go high on a shut down command.  But I am clueless as to how to do this.

Helpful suggestions that assume I am a total beginner on RPi and anything to do with coding would be really appreciated!
Reply


Messages In This Thread
GPIO power button for Raspberry Pi - by jlazkano - 2021-12-26, 10:00 PM
RE: GPIO power button for Raspberry Pi - by aardvarkash10 - 2022-01-01, 09:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)