Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Supercap UPS Shutdown
#1
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?
Reply
#2
Leaving aside the intellectual stimulation of the challenge, I'd not bother personally. I've a player that gets the power pulled twice a day every day and it has never suffered any issues from it.
----------------
Robert
Reply
#3
(04-13-2025, 11:05 AM)the_bertrum Wrote: Leaving aside the intellectual stimulation of the challenge, I'd not bother personally.  I've a player that gets the power pulled twice a day every day and it has never suffered any issues from it.

Thanks Robert. If that's the case I'll keep doing that. Just thought it might have case problems eventually.
Reply
#4
Ended up getting it going buy reversing the trigger. If I tie the GPIO low then send it a high on the power fail it shuts down as soon as the input goes high.
Reply


Forum Jump: