Shift Register: 74HC595N
Shift Registers are integrated components (IC) which allow one to control multiple inputs and outputs from a microcontroller i.e. Arduino. There are two basic types of Shift Registers – serial in to parallel out, and parallel in to serial out. In the first scenario, serial in to parallel out, controls multiple outputs, and parallel in to serial out controls multiple inputs. Shift Registers are used to manage digital input and output.
In the example below, we setup the 74HC595 – which is described as an 8-bit serial-in/serial or parallel-out shift register with output latches. The Shift Register can control 8 discrete outputs, through the use of 3 – 5 I/O pins on the your microcontroller. If you would like to control more than 8 discrete outputs, Shift Registers can be cascaded, or one could source a Shift Register with a larger bit count.
74HC595N & Arduino
To setup the Shift Register for operation, connect the following pins from the Shift Register to your microcontroller and breadboard: