I have a simple comparator using a tl072 setup to swing output to positive when the input goes above a threshold of about 1V. This comparator is being fed clock signals in the range of 0Hz to 20kHz of various wave shapes (hence the need for comparator to square them).
The comparator output is connected to the CLK in of a flipflop
I also wanted to connect a tact switch that can act as a manual clock pulse. Initially I was going to just connect the tact switch to the positive input of the comparator (same place where the clock input is fed) via a 10k resistor and the other side to positive votlage rail. That way whenever I press the switch it feeds positive voltage to comparator and it triggers.
However, I am wondering if I will need switch debouncing? i.e. are the switch bounces slower than the comparator slew?
If I used a standard debouncing configuration with pullup resitor and a cap to ground the issue is that the logic is reversed so I can't connect to the comparator input.
I could use an inverting schmitt trigger but then I am adding an extra IC and I want to avoid that if possible.
Any tips?
The comparator output is connected to the CLK in of a flipflop
I also wanted to connect a tact switch that can act as a manual clock pulse. Initially I was going to just connect the tact switch to the positive input of the comparator (same place where the clock input is fed) via a 10k resistor and the other side to positive votlage rail. That way whenever I press the switch it feeds positive voltage to comparator and it triggers.
However, I am wondering if I will need switch debouncing? i.e. are the switch bounces slower than the comparator slew?
If I used a standard debouncing configuration with pullup resitor and a cap to ground the issue is that the logic is reversed so I can't connect to the comparator input.
I could use an inverting schmitt trigger but then I am adding an extra IC and I want to avoid that if possible.
Any tips?
Last edited: