Hi everyone,
I’m using a JK flip-flop for a simple state control circuit. Pressing the push button should toggle once, but sometimes the output changes twice or returns to the previous state.
The button has only a resistor and capacitor debounce network.
Questions:
I’m using a JK flip-flop for a simple state control circuit. Pressing the push button should toggle once, but sometimes the output changes twice or returns to the previous state.
The button has only a resistor and capacitor debounce network.
Questions:
- Is the issue likely incomplete debouncing or clock edge sensitivity?
- Would a Schmitt trigger between the button and clock input solve it properly?
- On the PCB, should manual input traces be protected from nearby switching lines?

