I would like to use a shift register to control source-select in a pre-amplfier. After watching this very nice video on https://www.youtube.com/watch?v=Y4djl3oYqDQ, I made the same setup on my bread board using a SN74194N shift register and an old telephone wall-wart as a 5 Volt power source. To test the clock I used a led with a 330 Ohm resistor to ground.
The shift register did not behave like in the video. After a lot of effort I reduce the 10k resistors to 1k resistors. Pins 4, 5, and 6 are now connected to ground with a 1k resistor. Pin 3 to Vcc (and a resistor to gnd) This setup is for bootstrapping the circuit with bit one to high. To make the shifting go in a loop I connected pin 15 to pin 7 and pin 12 to pin 2. Pins 9 and 10 are connected to push buttons.
After power on and setting the register by pushing both buttons one led is lighting up and I can shift the bit left and right by keeping one or the other buttons pushed in.
There is some strange behavior though that I do not understand
- Why do I need 1k i.s.o. 10k resistors?
- The chip boots up with random bit turned on. This can be overcome by making S0 and S1 high at start up, but is a bit annoying none the less.
- This is really a problem: If I push one of the buttons rapidly, it does not shift the bit, but makes random bits go high. This is really unwanted, because it make more than one bit (input source) selected.
Can you help me understand what's going on and tell me how to solve the third issue?