lats
Full Member level 4

reseting a pic
hello,
I'm designing a project wherein I'm counting some pulses from a proximity sensor. Whenever there is a power failure I have to store the last value in memory(eeprom). I'm bound to NOT to use any battery. So I'm using a bigger condensor in power failure so that it provides enough enegy & time to let me store the value. I have put approx. 11,000 uF. This is working fine. But when there is a power failure just for a fraction of time (let's say 1 second) & power resumes the controller hangs up. I tried putting a seprate 5 volt supply(without condensors) on MCLR circuit but the things became worst. I'm attaching the MCLR circuit. What can I do to make the things proper.I'm using PIC16F877A.
Thanks for giving me your precious time.
hello,
I'm designing a project wherein I'm counting some pulses from a proximity sensor. Whenever there is a power failure I have to store the last value in memory(eeprom). I'm bound to NOT to use any battery. So I'm using a bigger condensor in power failure so that it provides enough enegy & time to let me store the value. I have put approx. 11,000 uF. This is working fine. But when there is a power failure just for a fraction of time (let's say 1 second) & power resumes the controller hangs up. I tried putting a seprate 5 volt supply(without condensors) on MCLR circuit but the things became worst. I'm attaching the MCLR circuit. What can I do to make the things proper.I'm using PIC16F877A.
Thanks for giving me your precious time.