4x4 Matrix Membrane Switch Keypad
16-Key Flexible Keypad Module for Microcontroller Projects
The 4x4 matrix membrane keypad is an ultrathin, lowcost input device that provides 16 programmable buttons in a compact, flexible package. It uses a matrix arrangement to interface with microcontrollers using only 8 I/O pins (4 rows and 4 columns), making it ideal for Arduino, ESP32, and Raspberry Pi projects [citation:2][citation:9].
16 Keys with Minimal Pin Usage - 4 rows and 4 columns for only 8 I/O pins [citation:2]
UltraThin with Adhesive Backing Easy mounting on any flat surface [citation:5]
Operating voltage: 12V DC, max current 100mA [citation:9]
Use standard Keypad library for Arduino to simplify scanning
Keys are arranged in matrix; scanning logic needed to detect presses
Technical Specifications
| Parameter | Value |
|---|
| Key Arrangement | 4x4 Matrix (16 keys) |
| Keys | 0-9, A, B, C, D |
| Rated Voltage | 35V DC (max) |
| Rated Current | 100mA |
| Contact Resistance | 10Ω to 500Ω |
| Insulation Resistance | 100MΩ at 100V |
| Life Expectancy | 1,000,000 cycles (tactile type) |
| Operating Temperature | -40°C to +80°C |
= Pin Configuration =
| Pin Number | Function |
|---|
| R1-R4 | Row connections (scanning output) |
| C1-C4 | Column connections (reading input) |
The keypad uses an 8-pin interface (4 rows + 4 columns). The connector has standard 2.54mm pitch for breadboard compatibility [citation:5][citation:9].
Key Features
Easy Interface - Only 8 GPIO pins needed for 16 buttons [citation:2]
Flexible Design - Thin membrane material with adhesive backing [citation:2]
High Durability - Over 1,000,000 keypress life [citation:1]
Standard Layout 09, A, B, C, D keys for versatile use [citation:1]
Connector Included - 2.54mm pitch connector for breadboard
= Applications =
- Security and access control systems [citation:5]
- Menu navigation and data entry for embedded systems [citation:5]
- Calculator and counter projects
- Industrial equipment control panels
- Educational microcontroller projects
CostEffective Input Budget-friendly user interface solution
Simple Integration - Works with Arduino, Raspberry Pi, STM32
√ Compatible with standard keypad libraries
√ Includes adhesive backing for easy installation
√ Suitable for DIY and commercial projects
Connection Guide
Matrix scanning logic:
- Set one row LOW at a time
- Read all column pins
- Check for LOW signal to detect pressed key
- Repeat for all 4 rows
Use Arduino Keypad library for quick setup and easy scanning
Connect rows to digital outputs, columns to digital inputs with pull-ups
Pin mapping depends on specific keypad model; refer to the module or datasheet
Contact bounce may require debouncing in software
Troubleshooting
No key detected:
- Verify wiring and pin mapping [citation:4]
- Check connector orientation and pitch
- Avoid using pins 0 and 1 for UART conflicts
Wrong key reads:
- Verify row/column mapping in library setup
- Check for damaged keypad traces