74595 Shift Register Question
Gorilla
Posts: 16
I am trying to get the stamp works 23b expanding outputs using 74hc595 shift register to work. I hooked everything up doubled checked everything but it doesn't work, the LED just stays lit no matter what changes I make to the example code. I am using the 10k resistor and have all the connections correct. Why isn't it working?
Comments
You'll need another driver for the common anodes. You'd use a 2N3906 PNP transistor with another 330 Ohm base resistor connected to a Stamp I/O pin or another 74HC595, the emitter connected to Vdd (+5V) and the collector connected to the common anode. The PNP transistor would turn on when the Stamp output or 74HC595 output is low.
You should probably connect the /OE pins of all the 595s to another Stamp I/O pin with a 10K pullup to +5V so the 595 outputs and the transistors will remain off until you're able to initialize everything. You could even add 10K pulldowns (to ground) for the NPN transistor bases and pullups (to Vdd) for the PNP transistor bases to ensure that all remains off until deliberately turned on.