LabWired The easy way to build hardware
SPI device

MAX7219 8×8 LED Matrix

The MAX7219 8×8 LED Matrix is an SPI device in the LabWired part catalog. Its catalog type is led-matrix. It connects to the MCU over SPI. 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 typeled-matrix
InterfaceSPI
Pins5
DatasheetMaxim Integrated MAX7219/MAX7221 serially interfaced 8-digit LED display driver 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.

MAX7219 8×8 LED Matrix pinout

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

How to simulate the MAX7219 8×8 LED Matrix in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the MAX7219 8×8 LED Matrix (catalog type led-matrix).
  3. Connect VCC and GND to the supply and ground of the board.
  4. Connect CLK and DIN to the SPI pins of the board.
  5. Connect CS 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 Maxim Integrated MAX7219/MAX7221 serially interfaced 8-digit LED display driver datasheet.