In my design,I want to save some parameters when the power is missed.just for about 1hour is enough. The CPU is 89S51.
Because the battery is expensive for our product and the time is as short as 1 hour,I want to use a capacitor.
When 89S51 detect that the power is missing,it will enter to POWER DOWN mode by as insturtion.
But,how to judge the power is missing?only use simple components,such as capacitor,resistor,diode?