Power failure detector
Hi friends,
i'm making a project in which i need to detect power failure. I think basically i need a brown out circuit. I tried a circuit given below, it's working but misses to detect power failure sometimes. Is the circuit fine or any improvements are required.
actually, what i'm trying to do is, i'm making a 5-digit counter. if the power fails the system should save the last couter value, in eeprom. as there is no battery backup i need to utilize condensor power to save the value. but sometimes i feel the register of eeprom gets damaged, as, when power supply resumes there isn't any value shown on display except "99999" and the system hangs permanently. i have to change to a new eeprom then it works.
Thanks