The 74HC595 consists of an 8−bit shift register and a storage register with three−state parallel outputs. It converts serial input into parallel output so you can save IO ports of an MCU.
When MR (pin10) is high level and OE (pin13) is low level, data is input in the rising edge of SHcp and goes to the memory register through the rising edge of SHcp.
If the two clocks are connected together, the shift register is always one pulse earlier than the memory register.
There is a serial shift input pin (Ds), a serial output pin (Q) and an asynchronous reset button (low level) in the memory register.
The memory register outputs a Bus with a parallel 8-bit and in three states.
When OE is enabled (low level), the data in memory register is output to the bus(Q0 ~ Q7).
Pins of 74HC595 and their functions:
Q0-Q7: 8-bit parallel data output pins, able to control 8 LEDs or 8 pins of 7-segment display directly.
Q7’: Series output pin, connected to DS of another 74HC595 to connect multiple 74HC595s in series
MR: Reset pin, active at low level;
SHcp: Time sequence input of shift register. On the rising edge, the data in shift register moves successively one bit, i.e. data in Q1 moves to Q2, and so forth. While on the falling edge, the data in shift register remain unchanged.
STcp: Time sequence input of storage register. On the rising edge, data in the shift register moves into memory register.
CE: Output enable pin, active at low level.
DS: Serial data input pin
VCC: Positive supply voltage.
5.1 Microchip - 74HC595 (For MicroPython User)
5.2 Number Display (For MicroPython User)
5.3 Time Counter (For MicroPython User)
5.4 8x8 Pixel Graphics (For MicroPython User)
7.4 Passenger Counter (For MicroPython User)
7.5 GAME - 10 Second (For MicroPython User)
7.6 Traffic Light (For MicroPython User)
7.12 Digital Bubble Level (For MicroPython User)
5.1 - Microchip - 74HC595 (For Arduino User)
5.2 - Number Display (For Arduino User)
5.3 - Time Counter (For Arduino User)
5.4 - 8x8 Pixel Graphics (For Arduino User)