Cute trick with U4.It uses 4 D flip-flops (2 CD4013 packages) and one CD4011 chip
ak
Cute trick with U4.It uses 4 D flip-flops (2 CD4013 packages) and one CD4011 chip
Yes, it allows a full clock-cycle synchronous reset, instead of the truncated pulse from the usual asynchronous reset.Cute trick with U4.
Post #20.And back to the shift register solution, ...
One chip solution!
That would have been messy. Binary output to a 3-bit to 8-line decoder, each of the first 4 outputs clocking latches to hold the LEDs on, and the 5th output resetting the latches and the counter.You guys are awesome. I would have hammered it out with the decade counter.

Again, this circuit does not do what is spelled out in post #1.The circuit is really simple...
It just reduces pin count.Anyone know of some way this can be done with either Arduinos or some kind of PCB board or simple circuitry?
That’s the kind of circuit I’ve been suggesting! Haven’t been able to get to my installation of LTSpice. But, I’m working on a schematic using an 74HC595 that’s very similar.Here is another version using 5 V logic, with a single 8-bit shifter instead of a dual 4-bit. The 164 has a negative-true Reset input, so Q1 is needed to invert the reset signal. The circuit function and chip count are identical, but the schematic looks prettier, less busy.
ak
View attachment 175644