As shown in the figure below, is there any problem with the circuit principle? When the hand touches the lead of the G terminal, the conduction of the tube causes the MCU to trigger an interrupt.
Mekhi Posted on September 18, 2020
Encountered before, R17 was changed to a smaller one, such as 10k or smaller.
Kaya Posted on September 18, 2020
R17 is connected to a capacitor, such as 1000p. The capacity should be as large as possible without affecting the switching speed of the tube. The smaller the R/the larger the capacitor, the better the anti-static interference, but the switching speed of Q1 will have an impact.
Javon Posted on September 18, 2020
The MOS tube caused by this static electricity is turned on by mistake, generally it is fine to connect a pull-down resistor, and also a capacitor.