Hello again,I suppose. My thinking is that if you clock on the falling edge (was thinking of a positive pulse) the light wouldn't light until you actually clocked the 17. But then it wouldn't light because the button isn't pressed. But you point out that it can still be on the negative going edge, which would mean the clock would be held high by a pull-up resistor and only go low when the button pulls the clock low.
But now I'm thinking you have to use the button to pull all the lamps low at the same time.
I'm so confused.
If you invert the clock externally to the counter, that gets reversed.It only affects the numbering of the bulbs. If the 4017 clocks on the leading edge, the bulb connected to the 1 output lights first. If it clocks on the trailing edge, the bulb connected to output 0 lights first.
Hi,I haven't been following this. When you say you want to clock the 4017 on the falling edge, are you talking about clocking it when the switch is released? If so, the TS was pretty clear about not wanting that.
OR - are you talking about clocking the 4017 on the switch release, then enabling lamp power on the next switch press - ? That would work, but I'm not sure it has any advantage over any of the schematics presented so far. Still, if this were a class exercise, that would be a good bonus credit problem.
ak
Hi,Consider that with the counter changing state when the button is pressed, the bulb is not yet connected and so the switch has time to stop bouncing before the bulb starts drawing current. With a bit more effort that time can be stretched a bit more.
The reason for wanting a bit of delay is to avoid the inrush as the button contacts are closing, as not all buttons are good for inrush currents. And if an improvement is a no-cost method, then why not use it.
In #36 and #41, 0% of the bulb current goes through the switch.The reason for wanting a bit of delay is to avoid the inrush as the button contacts are closing, as not all buttons are good for inrush currents.
Hi,In #36 and #41, 0% of the bulb current goes through the switch.
Also, activating a function on the release of a switch, instead of on the press, is disconcerting to some people. I used to hang with I/O (Industrial / Organizational) Psychologists. They have data on this.
Note that while the Enable input can be used as a negative-edge clock input, it is not a Schmitt Trigger input. This makes switch debouncing more difficult.
ak
Hi,The start button on my toaster oven is like that. And it has a relatively long activation time - you have to hold down the button for almost one second, or nothing will happen when you release it. The totally eliminates the chance of bumping the button and starting something accidentally, but it is a bit heavy-handed in its protection.
And, true to the science, in a house where everything else operates on press rather than on release, it took a surprisingly long time for me to get to where I have two different expectations for action, one for the oven and one for everything else.
ak