Skip to Content

7 Segment 4 Digits Display With 2x 74HC595 Module

The 4-Digit 7-Segment Display Module with dual 74HC595 shift registers is a compact and efficient solution for displaying numerical data in embedded systems. It integrates four 7-segment LED digits, each with a height of 12.7mm, producing a bright red display including decimal points. The onboard dual 74HC595 shift registers enable serial-to-parallel data conversion, significantly reducing the number of microcontroller pins required. With only three control lines and power connections, this module is ideal for Arduino and other microcontroller-based projects requiring clear numeric output.

Package Includes:

  • 1 x 4-Digit 7-Segment Display Module (with 2 × 74HC595)


7 segment Module
19.95 AED 19.95 AED (Tax included)

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Features:

  • 4-digit 7-segment LED display with bright red illumination
  • Integrated dual 74HC595 shift registers for simplified control
  • Serial IN Parallel OUT (SIPO) communication protocol
  • Requires only 3 control pins from the microcontroller
  • Expandable by cascading additional 74HC595 shift registers
  • Includes decimal point LEDs for each digit
  • Compact and easy-to-use module for embedded applications
  • Compatible with Arduino and other microcontrollers

 

Principle of Work:

The module operates using the Serial IN Parallel OUT (SIPO) principle of the 74HC595 shift registers. Data is sent serially from the microcontroller through the data pin and shifted into the register using the clock signal. Once the data is loaded, the latch pin updates the outputs simultaneously. By rapidly updating each digit (multiplexing), the display appears to show all digits continuously. The shift registers control which segments are lit for each digit, enabling dynamic numerical display with minimal hardware complexity.

Pinout:

4 bit 7 segment display with two 74HC595

  • VCC: Power supply (3.3V–5V)
  • GND: Ground
  • SDI: Serial Data Input (Data pin)
  • CLK: Clock input
  • LOAD: Latch pin (Register clock)

Applications:

  1. Digital clocks and timers
  2. Frequency counters and measurement devices
  3. Scoreboards and counters
  4. Embedded system displays
  5. Industrial control panels
  6. DIY electronics projects

Circuit:

Arduino 74HC595 4-digit 7-segment display

  • VCC to 5V on Arduino
  • GND to GND
  • The Arduino pin 7 is connected to SCLK
  • The Arduino pin 6 is connected to RCLK
  • This e Arduino pin 5 connected to DIO

Library:

To use this module, install the DIYables_4Digit7Segment_74HC595 library:

  1. Download the library from GitHub
  2. Open Arduino IDE
  3. Go to Sketch > Include Library > Add .ZIP Library
  4. Select the downloaded file

Code:

#include "DIYables_4Digit7Segment_74HC595.h" // DIYables_4Digit7Segment_74HC595 library

#define SCLK 7 // The Arduino pin connected to SCLK
#define RCLK 6 // The Arduino pin connected to RCLK
#define DIO 5 // The Arduino pin connected to DIO

DIYables_4Digit7Segment_74HC595 display(SCLK, RCLK, DIO);

void setup() {
Serial.begin(9600);

display.printInt(-13, false); // you can display a value from -999 to 9999
//display.printInt(-132, false);
//display.printInt(9132, false);
//display.printInt(132, false);
//display.printInt(32, false);
//display.printInt(2, false);
//display.printInt(2, true);
}

void loop() {
display.loop(); // MUST call the display.loop() function in loop()

// DO SOMETHING HERE
// NOTE: do NOT use the delay() function in loop because it affects to the multiplexing
}

Technical Details:

  • Display Type: 4-digit 7-segment LED
  • Segment Height: 12.7 mm
  • Display Color: Red
  • Driver IC: 2 × 74HC595
  • Operating Voltage: 3.3V – 5V
  • Interface: Serial (3-wire control)
  • Dimensions: 42 × 24 × 12 mm

Resources: