How to manually use a shift register.

Thread Starter

utilityhacker

Joined May 1, 2014
48
So i have this shift register IC 74HC595 and I used it with Arduino many times.
But i want to know if I can use it manually ie using push buttons for clock(pin 11),data(pin14),latch(pin12),clear(pin10) and blank(pin13).

I tried to do it before using the IC 74HC595,8 LED's,5 tacticle push buttons for each pins mentioned above and a 9v battery.But as soon as I connect the 9v batterty the LED's starts blinking randomly even if i don't press any buttons.:confused:
Can anyone help me out with this..........
 

ericgibbs

Joined Jan 29, 2010
18,879
hi,
It can be controlled by switches, but its important the mechanical switches are 'debounced' in order to prevent misoperation

E
 

crutschow

Joined Mar 14, 2008
34,470
Did you have pull-up or pull-down resistors at the PB outputs? You cannot let CMOS inputs float or they will assume random values and cause the behavior you noted.

You also need to add debounce circuits as mentioned to eliminate the effect of bouncing switch contacts.

And as Bertus noted, 7V is the maximum voltage for that chip and it's designed to operate from 5V nominal.
 
Top