Im making this cct for fun. Ive seen it in a video on youtube, with different IC's. So I decided to adapt the cct to what IC's I already have.
And it is working perfectly, both in simulator and in reality (on breadboard). But while building it, testing it, and playing with it, I noticed a problem.
If button S53, the one with C4 in parallel to it, is pressed, it will bounce a bit, and the CLK on pin 3 will activate -multiple- times. Most of the time, the contact is as it should, only once and the CLK will be activated normally. But in random times, the button will bounce, depends the way Im pressing the button I guess. The cct behave like this: doesn't matter how many times any other button will bounce, it will still create the logic flow, correctly, even if Im purposely press, for testing reasons. But this last CLK button, S53, is tricky in the logic chain. If pressed once, it will activate the Unlocked LED, and the AND gate will set to LOW, the first 3 CLK's. But if pressed once more, the second time, it will toggle the LED off, but also the AND gate, and in turn, it will reset the entire logic flow to it's start.
My question to you is this:
- How to make S53 be pressed only once, and on other presses, doesnt matter if bounced or intentionally by my finger, to not clock anything anymore. The only real reset will be S54. So far, I can reset from 2 buttons, S53 and S54. But S53 should not reset the cct, only S54.
This is more as a fun challenge.
My immediate solution is to use another FF (Flip-Flop) only for this S53 button. But... Im afraid I might complicate things way too much.
Im very curious what you will come with.
Thank you.
(click the image to enlarge and zoom in)
And it is working perfectly, both in simulator and in reality (on breadboard). But while building it, testing it, and playing with it, I noticed a problem.
If button S53, the one with C4 in parallel to it, is pressed, it will bounce a bit, and the CLK on pin 3 will activate -multiple- times. Most of the time, the contact is as it should, only once and the CLK will be activated normally. But in random times, the button will bounce, depends the way Im pressing the button I guess. The cct behave like this: doesn't matter how many times any other button will bounce, it will still create the logic flow, correctly, even if Im purposely press, for testing reasons. But this last CLK button, S53, is tricky in the logic chain. If pressed once, it will activate the Unlocked LED, and the AND gate will set to LOW, the first 3 CLK's. But if pressed once more, the second time, it will toggle the LED off, but also the AND gate, and in turn, it will reset the entire logic flow to it's start.
My question to you is this:
- How to make S53 be pressed only once, and on other presses, doesnt matter if bounced or intentionally by my finger, to not clock anything anymore. The only real reset will be S54. So far, I can reset from 2 buttons, S53 and S54. But S53 should not reset the cct, only S54.
This is more as a fun challenge.
My immediate solution is to use another FF (Flip-Flop) only for this S53 button. But... Im afraid I might complicate things way too much.
Im very curious what you will come with.
Thank you.
(click the image to enlarge and zoom in)