You need a pull-down resistor on the clock input; otherwise it floats when the switch is opened.am I missing something?
So I should add a pull down resistor to the CLK input and ground A through D?Welcome to AAC!
You need a pull-down resistor on the clock input; otherwise it floats when the switch is opened.
You need a switch debounce circuit.
If you care about power dissipation, you shouldn't let the preset inputs float; even if you're not using them.
In the most simple form, add a capacitor across the pull down resistor. For example, a 47K resistor and 1 uF capacitor combine to have a 50 ms (millisecond) time constant, a good starting point given that we know nothing about the switch or why it is being pushed. Add the two components in parallel between pin 2 and pin 8.
YES, ground pins 3, 4, 5, 6 if they are unused.
ak
akFor example, a 47K resistor and 1 uF capacitor combine to have a 50 ms (millisecond) time constant, a good starting point
Here is my updated circuit. Should this work now?
akadd a capacitor across the pull down resistor.
Oh my bad. Like this?No.
ak
Thank you so much! Sorry for all the questions.Yes.
ak
What do you mean by reset? The LEDs will cycle through 8 different combinations endlessly. One of those combinations is all LEDs off.One final question, is it possible to make the counter reset itself so that the LED turns off once it cycles through all of the colors?
Well, that isn't what you said in post #15.The problem I'm having right now is that the counter is counting up once power is applied to the circuit before the push button has been pressed.
Oh! Thank you!Well, that isn't what you said in post #15.
You need to have a power on reset on CLR if you want to force the counter to power up with a count of 0. You can use a resistor and capacitor to hold CLR low when power is first applied.
by Jake Hertz
by Jake Hertz
by Aaron Carman
by Jake Hertz