Now I have set up a D flip-flop to T'flip-flop circuit to make the LED switch state by giving the CLK rising pulse, but I found that the button jitter is more advantageous. Today, I tried several filtering and it was still unsuccessful. Maybe it was a mistake in my own design. How to debounce?
![]()

Burton 發表於 December 22, 2020
How to connect IC power pin? That regulator tube is weird.

Maddi 發表於 December 22, 2020
That is to reduce the voltage to 5V, because it is just an experiment, so it is connected like this for convenience.

Curran 發表於 December 22, 2020
A filter capacitor should be added to the 5V after step-down, and the parallel capacitor of R1 can eliminate jitter.

Courteney 發表於 December 22, 2020
Connect a capacitor in parallel with the button.