A
Adam Funk
Guest
I've been playing with some 4026 decade counters (the ones with output
suitable for direct connection to 7-segment LEDs) based on some
material in the _Make: Electronics_ book.
The book mentions switch bounce when using a push-button switch, &
says "The simplest option [to debounce the switch] is to put a small
capacitor in parallel with the switch, to absorb the fluctuations; but
this is less than ideal." I tried it anyway, & found that a 100 nF
capacitor does the job quite well, but 33 nF and 1 nF capacitors
don't. What is bad about using a capacitor for this?
I'm also wondering what pin 14 is for. The data sheet calls it
UNGATED "C-SEGMENT" and says it's not gated by DISPLAY ENABLE, a
feature required for certain divider functions. The Make book labels
it "Not-2 output" & the example circuits show it grounded, but doesn't
(unless I've missed something) explain what it's for.
--
I used to be better at logic problems, before I just dumped
them all into TeX and let Knuth pick out the survivors.
-- plorkwort
suitable for direct connection to 7-segment LEDs) based on some
material in the _Make: Electronics_ book.
The book mentions switch bounce when using a push-button switch, &
says "The simplest option [to debounce the switch] is to put a small
capacitor in parallel with the switch, to absorb the fluctuations; but
this is less than ideal." I tried it anyway, & found that a 100 nF
capacitor does the job quite well, but 33 nF and 1 nF capacitors
don't. What is bad about using a capacitor for this?
I'm also wondering what pin 14 is for. The data sheet calls it
UNGATED "C-SEGMENT" and says it's not gated by DISPLAY ENABLE, a
feature required for certain divider functions. The Make book labels
it "Not-2 output" & the example circuits show it grounded, but doesn't
(unless I've missed something) explain what it's for.
--
I used to be better at logic problems, before I just dumped
them all into TeX and let Knuth pick out the survivors.
-- plorkwort