KeepItSimpleStupid
- Joined Mar 4, 2014
- 5,088
I have an idea that uses this https://www.google.com/url?sa=t&rct...g2X5QB5FavtRAflYA&sig2=7dHHmLOowieXYo91M7Ez5A as a basis.
One, I'd probably square up the inputs with schmidtt trigger and essentially remove the enable.
(A) 1st create a counter (FF) that starts at zero; so 0, 1 and 2
Create two sets of latches instead of 1. The enable for the latch would come from the counter.
OR all of the outputs to clock the input to the counter on an edge and strobe the latch.
In the simplest implementation, you can use LED colors to indicate places. e.g. GREEN #1, YEL #2, RED #3. LEDS are cheap and drivers are cheap. The ULN2803 or ULN2003 or similar parts can drive a LED. So can an open collector inverter.
For a little fancyness you can use 7 segment LEDS to indicate 1, 2nd and third place by lane #.
The basic idea again is 2 or three sets of latches (1st, 2nd and third place) and a counter for place #. You effectively latch the lane # and increment the place #.
What you end up with is a bunch of latched signals for 1st, second and third place.
The number of places and number of lanes changes the complexity.
Or you might be able to use somehting like:
1) 1st place was found, enable the second place
2) Second place was found, enable the 3rd place.
So, the circuit is pretty similar.
One, I'd probably square up the inputs with schmidtt trigger and essentially remove the enable.
(A) 1st create a counter (FF) that starts at zero; so 0, 1 and 2
Create two sets of latches instead of 1. The enable for the latch would come from the counter.
OR all of the outputs to clock the input to the counter on an edge and strobe the latch.
In the simplest implementation, you can use LED colors to indicate places. e.g. GREEN #1, YEL #2, RED #3. LEDS are cheap and drivers are cheap. The ULN2803 or ULN2003 or similar parts can drive a LED. So can an open collector inverter.
For a little fancyness you can use 7 segment LEDS to indicate 1, 2nd and third place by lane #.
The basic idea again is 2 or three sets of latches (1st, 2nd and third place) and a counter for place #. You effectively latch the lane # and increment the place #.
What you end up with is a bunch of latched signals for 1st, second and third place.
The number of places and number of lanes changes the complexity.
Or you might be able to use somehting like:
1) 1st place was found, enable the second place
2) Second place was found, enable the 3rd place.
So, the circuit is pretty similar.