I have created a 555 delay circuit where output goes down after a delay of T minutes.
The 555 IC is in astable mode and is triggered automatically upon turning on the supply, Vcc.
After turning on the supply, when the output is still on (within T seconds) I turn off the supply for some time, after the supply resumes the timer output should be high for only remaining time.
In other words the circuit should remember the time it has elapsed before power outage.
Eg: Suppose T = 5 minutes
. Ideally when the circuit is run without any interruption; the output goes down after 5 minutes. In case I turn off the supply after 2 minutes, and later turn supply on; the timer should only have a delay of 3 minutes
What is the simplest and cheapest way to achieve this?