I'm using this circuit to turn on and off the system.
The power supply is 12V. I use an LM2576 to decrease to 5V. Here is the circuit:
Firstly I build on-off circuit also I added an LED at the 12V and on-off circuit works well. Then I added the voltage regulator circuit and the on-off circuit stopped working. It just turns on the system at the first push then it always stays turned on. When I remove the voltage regulator capacitors the on-off circuit continues to work.
I would like to know what is the reason of this problem and how can I fix it?