There are two main reasons for the automatic switch problem:
- One is that the button ripple is too large or the touch button sensitivity is too high to trigger falsely. This situation may happen automatically.
- The second is that the module VCC is powered off and restarted.
Solution:
You can first determine the cause of the problem according to the phenomenon. Then implement corresponding measures for testing and verification.
- If it is a key ripple, you can add 104 capacitors to the key port;
- If it is a touch switch or socket, you can add RC to the touch terminal to reduce the touch sensitivity;
- If the module VCC is powered off and restarted, you can add Large output capacitor, increase the power supply IC over current point;