I think I have got to the bottom of the 74HC74 hysteresis mystery.
The one that meant my LED-controlling bistable switch was not switching properly.
It looks very much like some brands of 74HC74 have hysteresis on the clock, and others do not.
I found an old RCA part, whose data sheet specifically mentions hysteresis, and the circuit worked like a charm immediately.
At this point I feel the need to say that the part I found was actually a TTL threshold CD74HCT74, so it was not quite a change-one-thing-at-a-time operation.
But the slow negative slope that was causing so much trouble with the other 74HC74s is even slower as it passes through the TTL threshold.
Anyway, all the above was with a nice lab PSU and to get nice clean operation in the real application, which has a noisy negative rail, I made a few more changes compared with the previous circuit.
The capacitor is now returned to the quieter +VE rail to help prevent noise getting out of the box on the push button leads – which is why the switch is conneced to the positive in the first place.
There is a 100R resistor to stop the capacitor discharge current gradually eating away the push button contacts.
And there is an RC filter to stop the -VE rail noise upsetting the CLK threshold voltage and messing up the switching again.
What do you think?
There are a whole bunch of mono, bi and n-stables on this blog and they were mostly hyperlinked until some IT changes at EW disconnected them all. As I can’t face putting all the links back in the right places, here is a list instead.
A 74HC74 hysteresis mystery
Hysteresis mystery solved, probably
Two leds for one
And now the pcb
Simple circuit selects LEDs? – a tri-stable
More push button bistables
A 74HC4060 monostable?
Thoughts on another EEVblog – a power on-off bistable