I'd like to convert a momentary switch in a toggle switch using a D-Type flip flop from an SN74HC74AN.
For this reason I've created and simulated a circuit like this:
All works fine on the Multisim Simulation.
Then I've created a real prototype on a breadboard like this:
But, in this case, when I press the momentary switch button nothing happens and the LED remains ON.
I know that the CLK input must be triggered but, on the sn74hc74an datasheet I read:
"Dual D-type positive-edge-triggered flip-flops with clear and preset"
I've also added a 3.9 nF capacitor on the input side but got the same results.
Where am I wrong?
Eventually I found the right solution.
The issue was related to non triggered signal sent to the 74HC74 inputs pin. Using Schmitt-Trigger Inverters like CD40106B CMOS all works as expeted.