04-13-2025, 10:52 AM
Hi. I have a supercap UPS which I was hoping I could use to cleanly shutdown moode when the power is removed. I thought I might be able to use a relay connected to the supply voltage to trigger a shut down via a GPIO eg. GPIO 26 - 'poweroff' when power is removed from the relay and the relay contact holds GPIO 26 low. This doesn't work because the shutdown command doesn't proceed until the relay is opened again. Not going to happen without extra components.
I just don't want to end up with an over complicated bunch of components to achieve something this simple.....Also I know nothing about programming.
Any ideas? What have other people done?
I just don't want to end up with an over complicated bunch of components to achieve something this simple.....Also I know nothing about programming.
Any ideas? What have other people done?