Components / Switches and relays / 4x4 matrix keypad (membrane)

4x4 matrix keypad (membrane)

Sixteen-key membrane keypad with an 8-pin connector.

Colour / type16 keys in a row/column matrix
Contact ratingSignal level only
PackageMembrane with adhesive
SwitchesReviewedMPN 4x4 membraneUsed in 27 projects
In short

What is the 4x4 matrix keypad (membrane) and what is it used for?

Sixteen-key membrane keypad with an 8-pin connector. Makers use it for password locks, calculators.

How it works

Each key joins one row to one column, and the code scans rows and columns to find the pressed key.

Key specifications

LED and switch specValue
Colour / type16 keys in a row/column matrix
Contact ratingSignal level only
PackageMembrane with adhesive

Pinout

1to 4Rows R1 to R4
5to 8Columns C1 to C4 (usual order, check with a meter)

How to use it

Wire the 8 pins to 8 inputs and use the Keypad library. To save pins use a PCF8574 expander.

Applications

Alternatives

Buy at

Common questions

What is the 4x4 matrix keypad (membrane) used for?

In maker projects: password locks, calculators.

How does the 4x4 matrix keypad (membrane) work?

Each key joins one row to one column, and the code scans rows and columns to find the pressed key.

What can I use instead of the 4x4 matrix keypad (membrane)?

Keypad 4x3 (membrane) and Capacitive touch keypad (TTP229, 16 key).