Skip to content

Using the Switch pin

jbaumann edited this page Oct 19, 2020 · 2 revisions

The Switch pin takes its name from the switch on the Geekworm UPS to which it should be connected when using the Geekworm UPs. It has two functions. The first is to reset the Raspberry by pulling the switch pin low for a short time, the second is to turn off the UPS by pulling the pin low for as long as the Geekworm UPS should be turned off. This of course assumes a modified Geekworm UPS.

Since the second function is configurable (configuration option force shutdown), we could also use this pin to simply reset the Pi to wake it up again after it has shut down some time earlier. This allows to use the ATTiny_Daemon for other UPSs as well.