When Power ON-OFF frequently then my PIC Micro-controller does not work properly, some time it needs to turn OFF and give time to reset fully then turn ON.
Also during OFF, it turn OFF then it turn ON for a moment, then again turn OFF. It makes problem eeprom and port status.
How can I solve these Problems?
In my PIC Micro-controller, I use Normal power supply using Transformer (12V-0V-12V), diode(1N4007), Capacitor 1000uF, 25V and 104(0.1uf) and finally LM7805 .