I'm a novice and should point out first that I don't really expect an exact answer to this question- just anything that might point me in the right direction. I've designed a drum machine 5V module and have a very unexpected problem now that I've put it all together. To select the desired drum pattern, I have a rotary encoder connected to a CD4029 counter almost identical to this tutorial: https://www.youtube.com/watch?v=JXGFWW4CDPw (except that I don't use the additional 300pF capacitor on the clock input as I didn't have any trouble without it to now). I'm using the Q1, Q2, Q3 outputs on that counter to drive a single 7 segment display via a CD4511 "BCD to 7 segment" chip. The actual drum patterns are channel inputs to a CD4052 (8 channel multiplexer) with binary inputs S0, S1, S2. Thus, the display should go only from 0 to 7.
My exact pinout on the CD4029 is:
My exact pinout on the CD4029 is:
- pre-enable: connected to Q4 (to reset display to 0 on count 8)
- jam inputs P1, P2, P3, P4: all connected to ground
- carry-in, B/D (pin 9): ground
- Q1, Q2, Q3: connected to Q1, Q2, Q3 on the CD4511 and S0, S1, S2 on the CD4052 multiplexer and also to 3 LEDs for debugging so I can see the count in binary without the display
- Q4: connected to ground
- pins 3 & 4 (lamp tests): connected high (5V) to deactivate
- pin 5 (latch enable): ground
Comment