Skip to Content

74HC595 IC – 8-Bit Serial-In Serial/Parallel-Out Shift Register

🔲 74HC595 IC – 8-Bit Serial-In Serial/Parallel-Out Shift Register

The 74HC595 (or 74595) is a widely used 8-bit shift register with serial input and serial/parallel output, ideal for expanding the number of digital outputs on microcontrollers such as Arduino, ESP32, and Raspberry Pi. It allows you to control 8 outputs using just 3 pins, and multiple 74595 ICs can be cascaded to control even more outputs.

⚙️ Technical Specifications

ParameterSpecification
IC Type8-bit Shift Register
InputsSerial Data (DS), Clock (SHCP), Latch (STCP)
OutputsQ0 to Q7 (parallel), Q7’ (serial out)
Voltage Range2V to 6V (typically 5V)
Output Current±35 mA per pin
PackageDIP-16
Max Clock Frequency~25 MHz
Logic FamilyHC (High-Speed CMOS)

📌 Pinout (DIP-16)

PinNameDescription
1Q1Parallel output 1
2Q2Parallel output 2
3Q3Parallel output 3
4Q4Parallel output 4
5Q5Parallel output 5
6Q6Parallel output 6
7Q7Parallel output 7
8GNDGround
9Q7’Serial out (to next 74595)
10MRMaster Reset (active LOW)
11SHCPShift Register Clock Input
12STCPStorage Register Clock (Latch)
13OEOutput Enable (active LOW)
14DSSerial Data Input
15Q0Parallel output 0
16VccPower Supply (2–6V)

🧠 How It Works

  1. Send data serially using DS (data) and SHCP (shift clock).

  2. Latch data to outputs using STCP.

  3. Enable/disable outputs with OE (active LOW).

  4. Cascade multiple 74HC595s using Q7’ to control many outputs.

🛠️ Applications

  • LED matrix and 7-segment display control

  • Driving multiple relays or LEDs

  • Keypad scanning

  • Expanding Arduino digital outputs

  • Multiplexing systems

🎮 Arduino Wiring Example

int latchPin = 5; // STCP int clockPin = 6; // SHCP int dataPin = 4; // DS void setup() { pinMode(latchPin, OUTPUT); pinMode(clockPin, OUTPUT); pinMode(dataPin, OUTPUT); } void loop() { digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, MSBFIRST, B10101010); // Send pattern digitalWrite(latchPin, HIGH); delay(500); }

🎥 YouTube Tutorial

20.00 LE 20.00 LE

This combination does not exist.

7 segment logic circuit