My RPi3B+ is an embedded front end for a scientific instrument. I have an interface PCB with a 3amp 5v regulator, driven by a 48v supply. I monitor the 48v with ADC polled each 100ms, then sudo shutdown at a critical voltage(`40v). I have several seconds depending on how much capacitance I design into the 48v supply. At any time the user can power down or power failures can happen. My questions are : how long do I have until it's safe for the 5v to turn off? Can I detect in software when it's safe? Can I depower the display to stretch the time the 5v lasts? Graham
Asked
Active
Viewed 28 times
0
sync
option when it is mounted (seeman mount
, you can stick these options in/etc/fstab
as well). – goldilocks May 03 '19 at 15:54https://raspberrypi.stackexchange.com/a/94399/8697
– Milliways May 04 '19 at 00:21systemd
, but it would be better to ask about that specifically (and the GPIO is likely a better option anyway). – goldilocks May 04 '19 at 02:43