Good morning/afternoon/evening everyone
This is my first time posting, so please excuse if the format is not 100%
I'm trying to build a circuit, that has logic pulses from a gap sensor as input. The circuit has to output a logic pulse once the count has reached 20.
So far I have successfully created a circuit that displays the count of logic pulses by using two seven segment displays. The displays also successfully reset once the counter has reached twenty, however there are two issues I'm struggling with:
Instead of using a gap sensor, I have used an Ac voltage source, coupled with a diode, where I have adjusted the frequency, to essentially act as a source of logic pulses. Is this correct, or should I directly try to implement the gap sensor.
I'm struggling to implement an output that outputs a logic pulse once the counters reached twenty.
I have included a simulation of the circuit. The top seven segment display counts the "ones" and the bottom one counts the "tens".
Thanks for your time.