Bringup
Open the editor
Behavioural mixed-signal model4x4 membrane keypadkeypad_4x4

Membrane keypad 4×4

Matrix keypad: each key connects a row R1–R4 with a column C1–C4 (~100 Ω trace). During simulation click keys in the schematic (hold to keep pressed). Read e.g. with the Keypad library (rows with pull-ups, columns LOW one after another).

R1R2R3R4C1C2C3C4
Schematic symbol

Key data

Category
Passive
Simulation model
Behavioural mixed-signal model
Manufacturer part number
4x4 membrane keypad
Reference prefix
SW
Pins
8
Land pattern
PinHeader_1x08_P2.54mm_Vertical

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
keypad
Supply pins
R1 / C1

Pins 8

PinNameUse
R1R1Passive pinRow 1: scanned as an output (or input with pull-up)
R2R2Passive pinRow 2
R3R3Passive pinRow 3
R4R4Passive pinRow 4
C1C1Passive pinColumn 1: input with pull-up
C2C2Passive pinColumn 2: input with pull-up
C3C3Passive pinColumn 3: input with pull-up
C4C4Passive pinColumn 4: input with pull-up

Parameters 1

Pressed key (1–16, 0 = none)keylive
Default0

PCB

Connector / off-boardPinHeader_1x08_P2.54mm_Vertical

membrane keypad ribbon on an 8-pin header, 2.54 mm (R1–R4, C1–C4) – check the ribbon order of your keypad