Description
### Product Overview
The 3×4 Matrix 12-Key Membrane Switch Keypad is a low-profile, tactile user-input interface designed for microcontroller projects, security entry systems, electronic combination locks, digital calculators, and menu navigation. Arranged in a standard telephone-style matrix (digits 0–9 plus `*` and `#`), it allows microcontrollers such as Arduino, ESP32, and PIC to scan 12 discrete buttons using only 7 GPIO pins (4 row pins and 3 column pins). The reverse side features a high-bond 3M peel-and-stick adhesive backing for seamless mounting onto project boxes and panels.
### Key Specifications & Architecture
- **Keypad Matrix Layout**: 3 Columns × 4 Rows (12 tactile membrane keys: 0–9, `*`, `#`)
- **Keypad Construction**: Multi-layer flexible polyester membrane switch with tactile metal dome feel
- **Maximum Circuit Rating**: 35 V DC, 100 mA, 1 Watt
- **Contact Resistance**: 10 Ω to 500 Ω (wire length and trace dependent)
- **Insulation Resistance**: $\ge 100\text{ M}\Omega$ at 100 V DC
- **Dielectric Withstand Voltage**: 250 V RMS (50–60 Hz for 1 minute)
- **Contact Bounce Time**: $\le 5\text{ ms}$
- **Operating Life Expectancy**: $\ge 1,000,000$ actuations per key
- **Mounting Mechanism**: Full-coverage self-adhesive tape on rear
- **Tail / Cable Type**: Flexible flat ribbon cable terminating in a 7-pin female DuPont header (2.54 mm / 0.1" pitch)
### Pinout & Matrix Truth Table
| Pin (Left to Right) | Line Type | Key Connections |
| :--- | :--- | :--- |
| **Pin 1** | Row 1 | Keys: `1`, `2`, `3` |
| **Pin 2** | Row 2 | Keys: `4`, `5`, `6` |
| **Pin 3** | Row 3 | Keys: `7`, `8`, `9` |
| **Pin 4** | Row 4 | Keys: `*`, `0`, `#` |
| **Pin 5** | Column 1 | Keys: `1`, `4`, `7`, `*` |
| **Pin 6** | Column 2 | Keys: `2`, `5`, `8`, `0` |
| **Pin 7** | Column 3 | Keys: `3`, `6`, `9`, `#` |
### Application & Usage Guidelines
- **Arduino Library Support**: Fully compatible with the standard `Keypad.h` library by Mark Stanley and Alexander Brevig.
```cpp
#include <Keypad.h>
const byte ROWS = 4;
const byte COLS = 3;
char keys[ROWS][COLS] = {
{'1','2','3'},
{'4','5','6'},
{'7','8','9'},
{'*','0','#'}
};
byte rowPins[ROWS] = {2, 3, 4, 5}; // Connect to pins 1-4 of keypad
byte colPins[COLS] = {6, 7, 8}; // Connect to pins 5-7 of keypad
Keypad keypad = Keypad(makeKeymap(keys), rowPins, colPins, ROWS, COLS);
```
- **Pull-Up Resistors**: The Arduino `Keypad` library automatically activates internal MCU pull-up resistors on row/column pins; no external pull-up resistors are required.
- **Enclosure Installation**: Clean the mounting surface thoroughly with isopropyl alcohol before peeling off the protective adhesive film to ensure maximum bonding strength.
### Documentation
- [Arduino Keypad Library Reference & Examples](https://playground.arduino.cc/Code/Keypad/)
- [Standard 3x4 Matrix Keypad Dimensional Blueprint](https://components101.com/switches/3x4-matrix-keypad-pinout-datasheet)