I’m not sure if this is possible but I figured if there was a way- someone here would know.
I have a constant vdc and a switched vdc. I want to be able to shut down the Arduino (Nano) 45 seconds after the switched power source is shut off (to save battery) and then power up the Arduino when the switched source comes back on.
Im pretty sure I can do this using a relay or diode or some other hack but Id rather do it all in programming if possible.
Does anyone have any suggestions? I really appreciate it!
(sorry for the crappy sketch and I know the wires are not going to the correct pins.)