Curious why you modified it. In my version D1 resets the counter to 0 at the ninth pulse.I modified it slightly to get the correct timing for the reset at the 9th button press.
Curious why you modified it. In my version D1 resets the counter to 0 at the ninth pulse.I modified it slightly to get the correct timing for the reset at the 9th button press.
Agree. I like Wally's circuit in #11.Aninteresting circuit but the TS did request "small", and with all of those parts, SMALL it isn't.
Actually he said "very space limited" and that could mean large enough to accommodate the circuit. The SCRs and transistor are all TO92 case styles so it's possible to construct in a small footprint.Aninteresting circuit but the TS did request "small", and with all of those parts, SMALL it isn't.
That low voltage is likely because the input impedance of you meter doing the measurement drains the capacitor voltage.The voltage measured appx .39 volts
Actually I suspect the leakage from D1 is keeping the Reset low enough to function as the circuit does work without a pull down resistor. However D1 can be replaced by R3 and maintain circuit stability.That low voltage is likely because the input impedance of you meter doing the measurement drains the capacitor voltage.
Without that it likely stays near 2.5V for a long period of time.
A diode and a resistor. Each output will be driving a different number of LEDs with the same voltage, so each stage will need a different current limiting resistor.
By the time you have the diode drop, there's very little overhead left for that last output that's driving eight LEDs. If the Vf averages out to 2.2 V, your goose is pretty well cooked.
And this is assuming that the part can maintain the output at the rail even under load, and that it can drive the LEDs in the first place. I'm a bit skeptical of both.
https://www.ti.com/lit/ds/symlink/cd4017b.pdf
At 15 V supply rails, the device is only spec'ed to source of sink 3.5 mA (about twice that being typical) when the output is pulled 1.5 V away from the rail. So even if you use a Schottky diode, you may well be down to just over 16 V even if you choose LEDs that only want 5 mA or so.
D19 can be added if a count of 1 to 10 is required instead of 0 to 9.The data sheet indicates that the part is only spec'ed to provide at least 3.4 mA (6.8 mA typical) from a 15 V supply (they don't spec at 18 V since that is the absolute max supply voltage) and that's with a 1.5 V pull away from the rail. I'm not making that up, I posted the excerpt from TI's data sheet.D19 can be added if a count of 1 to 10 is required instead of 0 to 9.
A 4017 is perfectly capable of driving LEDs, and red LEDs require about 1.8V.
You can get 20V rated CMOS
But it is right at the limit of what can be achieved: if you want any other colour than red, you would need an alternative circuit.
It can be arranged as two strings, with some additional logic, but it still takes rather less additional logic than the other methods.
One thing we have both overlooked because the TS said “decade counter” - there are actually only 8 LEDs.The data sheet indicates that the part is only spec'ed to provide at least 3.4 mA (6.8 mA typical) from a 15 V supply (they don't spec at 18 V since that is the absolute max supply voltage) and that's with a 1.5 V pull away from the rail. I'm not making that up, I posted the excerpt from TI's data sheet.
So what voltage is needed? 9xVf + Vbe + Vd.
Even letting the mirror go down to Vcb = 0 V and using a Schottky diode, you are at over 17 V, which doesn't allow much pull away from the rail.
And you are assuming that the transistors in your mirror are very well matched. Are you envisioning the use of an IC transistor array chip for that part?
I agree that it is very borderline. I don't like pushing the datasheet specs. I know lots of people that take great pride in doing so -- and do some pretty cool things in the process.
I didn't overlook it. My first response to your approach assumed 8 LEDs at a 2 V drop each. The second approach was merely an analysis of the circuit you offered up.One thing we have both overlooked because the TS said “decade counter” - there are actually only 8 LEDs.
Texas devices are rated for 18V operation (20V absolute max).
If the TS doesn’t want red LEDs, it’s a moot point.
This was my first thought. If the circuit is to sit at any stage for so long that capacitor droop is an issue, an alternative is to drive an R-2R resistor network with a binary counter, and the resistor network output drives a bar graph display like an LM3914. At this low a resolution, cheap 5% resistors should be good enoughYou could do it with one of the LED voltmeter ICs in the bar mode, plus a charge pump so that each press dumps more charge into the capacitor. Then the last press drives an FET that drains the cap back to zero. That could be done with one IC, I am thinking. And a couple of transistors. About as small as I can come up with, no code to generate and almost no digital logic.
Kicking around numbers in my head, I couldn't see a resistor value set that will work if all resistors are summed into a single node at the bar graph chip input. If you put a diode in series with each resistor it is a simple solution set, but there are all of those diodes taking up space. Replacing the 4017 with a shift register eliminates the diodes, but without extra parts the solution is limited to 8 steps.For only 8 LEDs, use a 4017 with resistors to deliver higher voltages and then the last one to deliver none, and reset to zero. That takes only 2 IC devices and tiny resistors, no capacitors, and the bar-graph IC drives the LEDS directly. That is as simple as I can make it.
Not quite.Q7 goes high on the 8th pulse. Next pulse asserts MR which resets everything to zero.