
1 / 5 · Click to enlarge
At a glance
This electronic switches/keypads modules is a good fit for makers, students and electronics hobbyists. Main specs: item type Keypad Module; pin spacing (mm) 2.54; switch type Momentary.
Key Highlights
- Item Type: Keypad Module
- Pin Spacing (mm): 2.54
- Switch Type: Momentary
Ideal For
- Arduino, ESP32 and Raspberry Pi projects
- School and college lab work
- Prototypes and test rigs
Buying Tip
Compare the pin layout and operating voltage with your circuit, and order a spare or two: small parts are easy to damage while soldering.
Specifications
| Item Type | Keypad Module |
|---|---|
| Pin Spacing (mm) | 2.54 |
| Switch Type | Momentary |
| Length (mm) | 32 |
| Width (mm) | 20 |
| Weight (g) | 3 |
| Shipping Weight | 0.005 kg |
| Shipping Dimensions | 7 × 4 × 2 cm |
Overview
The 2 x 2 Matrix 4 Push Button Keyboard Module is listed in our electronic switches/keypads modules range and suits makers, students and electronics hobbyists. The notes below explain the main specifications and what to check before you order.
Specifications explained
- Item Type: Keypad Module
- Pin Spacing (mm): 2.54
- Switch Type: Momentary
- Length (mm): 32 (measure your mounting space before ordering)
- Width (mm): 20 (measure your mounting space before ordering)
- Weight (g): 3 (important for drones, RC models and anything you carry)
- Shipping Weight: 0.005 kg (important for drones, RC models and anything you carry)
- Shipping Dimensions: 7 × 4 × 2 cm (measure your mounting space before ordering)
Before you order
Compare the specifications with your project or device, and check delivery times and return terms for your country in our help centre. Questions about this item? Email [email protected] with the product code.
The 2x2 matrix keypad module usually is used as input in a project. It has 4 keys in total, which means the same input values. The module is a non-encoded matrix keypad consisting of 14 keys in parallel. The keys of each row and column are connected through the pins outside – pin R1-R2 as labeled beside control the rows, when L1-L2, the columns.
It consists of microswitch buttons. The module has four holes 3mm (M3) holes for mounting. The pin designations on each PCB are shown on each PCB. Two pins are thus used as an ‘x’ coordinate and the other 2 as a ‘y’ coordinate. The module is already equipped with a soldered pin-headers (rotated 90 degrees)
How it Works:
First test whether any key is pressed down. Connect power to rows, so they are High level. Then set all the rows R1-R2 as Low and then detect the status of the columns. Any column of Low indicates there is key pressing and that the key is among the 4 keys of the column. If all columns are High, it means no key is pressed down. Next, locate the key. Since the column in which the pressed key lies is identified, knowing the line would finalize the testing. Thus, set the rows as Low in turns until any is unveiled accordingly – other rows will still be High. Now the row can be identified. Detect the status of each column in turns. The column tested Low is the one intersecting with the line – their cross point is just the key pressed.
Features:
- 2×2 matrix keypad module with 4 buttons
- Small in size and hence Save space
- More convenient to use
- Expanded development application modules for single chip
- With 4 keys and 4 pins.
Package Includes:
1 x 2*2 Matrix Keypad Module
Quick specs
- Item Type
- Keypad Module
- Pin Spacing (mm)
- 2.54
- Switch Type
- Momentary
- Length (mm)
- 32
- Width (mm)
- 20
- Weight (g)
- 3













