LabWired The easy way to build hardware
SPI device

74HC595 7-Segment (4-digit)

The 74HC595 7-Segment (4-digit) is an SPI device in the LabWired part catalog. Its catalog type is hc595-7seg. It connects to the MCU over SPI. The catalog gives a supply range of 2–6 V. It has 5 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

Key facts

CategorySPI devices
Catalog typehc595-7seg
InterfaceSPI
Supply range2–6 V
Pins5
DatasheetTexas Instruments SN74HC595 datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

74HC595 7-Segment (4-digit) pinout

PinElectrical typeFunction
GND Power input Supply
VCC Power input Supply
DIO Input SPI data out of the MCU (MOSI)
SCLK Input SPI clock (SCK)
RCLK Input SPI chip select (CS)

How to simulate the 74HC595 7-Segment (4-digit) in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the 74HC595 7-Segment (4-digit) (catalog type hc595-7seg).
  3. Connect GND and VCC to the supply and ground of the board. Use a supply inside the catalog range of 2–6 V.
  4. Connect SCLK and DIO to the SPI pins of the board.
  5. Connect RCLK to the chip-select pin of the board, or to a free GPIO.
  6. Run the firmware. It selects the part and moves bytes over the simulated SPI bus as on hardware.

Related SPI devices

All SPI devices · All parts

Modelled from Texas Instruments SN74HC595 datasheet.