user-1: I'm new to using the SN74HC595 shift register, and trying to follow this tutorial: https://www.arduino.cc/en/tutorial/ShiftOut based on this configuration:

When my arduino Uno R3 is plugged in by USB to my Windows-7 x64 PC, it works (in general etc.), but right when I attach pin 16 or pin 10 of the 74HC595  to the 5V pin on the Uno, as it says to do, the entire arduino shuts off and the computer no longer recognizes it, until I disconnect the jumper wire from pin 16 or 13, from the 5v pin on the Uno, then it starts up again
Also just tested, and the same thing happens when I try to connect any of the 74HC595  pins to the 5v Uno pin (after pin 8 of the 74HC595  is connected to the Uno's GND), the whole Uno shuts off and disconnects from the computer
Am I missing something here?

user316: 
when I attach pin 16 or pin 10 of the 74HC595 to the 5V pin on the Uno ... the entire arduino shuts off

This sort of thing usually happens to me when I have made a mistake in the wiring.
This is easy to do as the 595 needs a lot of connections in a small space and it is easy to make a mistake.
In your case it seems you have a wiring mistake that is pulling Vcc low and the ATmega328 IC etc can't run.

I would

Re-check the orientation of the 595
Re-check each wire paying particular attention to the ground wires, especially the one that pulls 595 OE to ground (it's pin 13 on the 595).
If necessary, pull everything off the breadboard and start again with things in a completely different position (turn the IC's round etc) to make me re-think everything.


For fun, I set this up on a Uno clone. I made some mistakes in the wires linking the 595 to the Uno but careful inspection found the problem. I found it easy to mix up the pin-number on the 595 with that on the Uno. Using the same wire colours mentioned in the guide may help.
Here's it working


-1: <p>I'm new to using the <a href="https://www.ti.com/lit/ds/symlink/sn74hc595.pdf?ts=1594199103837&amp;ref_url=https%253A%252F%252Fwww.google.com%252F" rel="nofollow noreferrer">SN74HC595</a> shift register, and trying to follow this tutorial: <a href="https://www.arduino.cc/en/tutorial/ShiftOut" rel="nofollow noreferrer">https://www.arduino.cc/en/tutorial/ShiftOut</a> based on this configuration:</p>
<p><a href="https://i.stack.imgur.com/XFIph.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XFIph.png" alt="SN74HC595 IC pinout" /></a></p>
<p>When my arduino Uno R3 is plugged in by USB to my Windows-7 x64 PC, it works (in general etc.), but right when I attach pin 16 or pin 10 of the 74HC595  to the 5V pin on the Uno, as it says to do, the entire arduino shuts off and the computer no longer recognizes it, until I disconnect the jumper wire from pin 16 or 13, from the 5v pin on the Uno, then it starts up again</p>
<p>Also just tested, and the same thing happens when I try to connect any of the 74HC595  pins to the 5v Uno pin (after pin 8 of the 74HC595  is connected to the Uno's GND), the whole Uno shuts off and disconnects from the computer</p>
<p>Am I missing something here?</p>
 316: <blockquote>
<p><strong>when I attach pin 16 or pin 10 of the 74HC595 to the 5V pin on the Uno ... the entire arduino shuts off</strong></p>
</blockquote>
<p>This sort of thing usually happens to me when I have made a mistake in the wiring.</p>
<p>This is easy to do as the 595 needs a lot of connections in a small space and it is easy to make a mistake.</p>
<p>In your case it seems you have a wiring mistake that is pulling Vcc low and the ATmega328 IC etc can't run.</p>
<hr />
<p>I would</p>
<ul>
<li>Re-check the orientation of the 595</li>
<li>Re-check each wire paying particular attention to the ground wires, especially the one that pulls 595 OE to ground (it's pin 13 on the 595).</li>
<li>If necessary, pull everything off the breadboard and start again with things in a completely different position (turn the IC's round etc) to make me re-think everything.</li>
</ul>
<hr />
<p>For fun, I set this up on a Uno clone. I made some mistakes in the wires linking the 595 to the Uno but careful inspection found the problem. I found it easy to mix up the pin-number on the 595 with that on the Uno. Using the same wire colours mentioned in the guide may help.</p>
<p>Here's it working</p>
<p><a href="https://i.stack.imgur.com/rYbCL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rYbCL.jpg" alt="Uno clone with 595" /></a></p>
