LabWired The easy way to build hardware
board I/O module

Matrix keypad

The Matrix keypad is a board I/O module in the LabWired part catalog. Its catalog type is keypad. It connects to the MCU over GPIO. It has 8 pins. A device model in the simulation engine, reached through a dedicated dispatch path rather than the peripheral registry.

From the catalog: The 4x4 R1-R4/C1-C4 matrix compiles to a real keypad device: it reads the four row output pins and drives the four column input pins so a firmware row-drive/column-read scan detects the pressed key (host-set via the standard "key" stimulus). Reached through from_config, not a kit, so it is absent from the generated manifest.

Matrix keypad in LabWired
Rendered by the matching LabWired editor component.

Key facts

CategoryBoard I/O modules
Catalog typekeypad
InterfaceGPIO
Pins8

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet

Matrix keypad pinout

PinElectrical typeFunction
R1 Passive —
R2 Passive —
R3 Passive —
R4 Passive —
C1 Passive —
C2 Passive —
C3 Passive —
C4 Passive —

How to simulate the Matrix keypad in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Matrix keypad (catalog type keypad).
  3. Connect R1, R2, R3, R4, C1, C2, C3 and C4 as your circuit needs.
  4. Run the firmware. It drives and reads the pins of the part, and the device model responds on those pins.

Related Board I/O modules

All Board I/O modules · All parts