Help with ShiftOut Circuit

Can someone please give me some advice on my circuit.

I have no experience with shift registers, so I’m doing the following tutorial:

I successfully built it, I thought, until I uploaded the program and it did nothing. I tried both the first and second example programs on that tutorial.

The only thing I did differently was using a different value of resistors since I had my 150ohm handy from a prior project with the same LEDs.

I put pics here: (sorry if some are a little blurry) The only thing missing is the power source (usb) since I needed better light to take the pics.

The datasheet for my exact chip NXP 74HCT595) is here:

For basic troubleshooting I used my multimeter to test for continuity in all areas I would expect it, and checked for any shorts. All of that seems solid.

Is there something simple I’m missing? Or are there any other good things (or simple circuits) I could test to make sure my chip is okay? It’s brand new and I’ve never used it before.


Some of those big breakout boards require a link half-way along in the blue/black lines. That is, each half is independent. Check with a meter or some other way if that is the case.

The power bars are linked all across on this one. I just verified the ground from the chip’s leg reaches the top-most ground and all applicable 5v points reach each other.

Compare your circuit to mine here:

Or just rewire to suit. You probably only have to change a couple of things. I have some small example sketches on that page.

Thank you. You helped me narrow it down -- My shift register works, but my original circuit didn't.

What I did was hook it up to my Diecimila (instead of my nano) and used jumper wires to pins 13, 11, and 10. I then used your code. I was surprised.

I wanted to debug my circuit still, so I swapped the pinout to match the tutorial but still used my Diecimila instead of Nano and the tutorial code worked.

There must be some difference (or something odd) on my Nano. I know the pins work. I'll need to mess with it more.

Thank you for your help, and I like the way your code uses SPI more than the tutorial's method.