











4x4 Matrix Keypad Membrane Switch – 16-Button Keyboard
The 4 x 4 Matrix Keypad Module is a non-encoded matrix keypad consisting of 16 keys in parallel. The keys of each row and column are connected through the pins outside – pin R1-R4 as labeled beside control the rows, when L1-L4, the columns. A 4×4 matrix keypad consisting of microswitch buttons. 4x4 Matrix Keypad Module with 16 tactile push buttons, ideal for Arduino, Raspberry Pi, microcontrollers, and DIY electronics projects requiring numeric or alphanumeric input.
₹ 39
₹39
59



Add FAQ
Detailed Product Description:
The 4x4 Matrix Keypad is a compact and highly efficient solution for adding user input to your electronics projects. Also known as a 16-button keyboard, this versatile component is a staple for hobbyists, engineers, and students alike. Its thin, flexible membrane design features a convenient adhesive backing, allowing for easy and clean mounting on any project enclosure or panel.
The core of its efficiency lies in its matrix layout. Instead of requiring 16 separate input pins, the 16 keys are arranged in a 4-row by 4-column grid. This smart design means that the entire keypad can be read using only 8 microcontroller pins (four for the rows and four for the columns), a significant saving of I/O resources. By actively scanning the rows and monitoring the columns for a connection, a microcontroller can precisely determine which key has been pressed. This simplifies both hardware wiring and the programming logic, especially when using dedicated libraries for platforms like Arduino or Raspberry Pi.
This membrane switch keypad is a workhorse for a wide range of applications. It's the perfect choice for creating password-protected door locks, simple calculators, custom data entry systems, or control panels for robots. With a typical operating voltage of 3V to 5V and a low profile, it's a durable and long-lasting component. Its tactile feel provides a satisfying user experience, making the 4x4 matrix keypad an indispensable tool for building intuitive and interactive user interfaces.
The 4x4 Matrix Keypad Module is a compact and efficient user input device featuring 16 tactile keys arranged in a 4-row by 4-column grid. Commonly used in DIY electronics, embedded systems, automation projects, and access control systems, this keypad simplifies user interactions with microcontrollers.
Each button press shorts a specific row and column, allowing easy detection of key location via digital scanning. The keypad is made with high-quality materials, ensuring long life, responsiveness, and minimal debounce.
It can be interfaced using just 8 GPIO pins, or even fewer when used with I2C keypad adapters. This keypad works seamlessly with the Keypad library in Arduino IDE, making it ideal for beginners and professionals.
Key Features:
-
16 tactile push buttons arranged in 4 rows × 4 columns
-
Durable and flexible membrane or PCB-based keypad
-
Compatible with Arduino, Raspberry Pi, ESP32, and other MCUs
-
Provides user-friendly input for menu systems, passcodes, and data entry
-
Lightweight, low-power, and easy to interface via digital pins
Technical Specifications:
Parameter | Specification |
---|---|
Type | 4×4 Matrix Keypad |
Number of Keys | 16 (0–9, A–D, *, #) |
Interface | 8-pin (4 rows, 4 columns) |
Operating Voltage | 3.3V–5V (Logic level compatible) |
Keypad Layout | 0–9, A, B, C, D, *, # |
Material | Plastic membrane or PCB |
Mounting Type | Adhesive back or screw mount (optional) |
Cable Type | Female header or solder pads |
Dimensions | ~7.5 cm x 7 cm (varies by version) |
How to Use with Arduino:
Arduino Wiring:
-
Connect 8 digital pins to the R1–R4 and C1–C4 lines on the keypad.
Sample Code Using Keypad Library:
#include
const byte ROWS = 4;
const byte COLS = 4;
char keys[ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
byte rowPins[ROWS] = {9, 8, 7, 6};
byte colPins[COLS] = {5, 4, 3, 2};
Keypad keypad = Keypad(makeKeymap(keys), rowPins, colPins, ROWS, COLS);
void setup(){
Serial.begin(9600);
}
void loop(){
char key = keypad.getKey();
if (key){
Serial.println(key);
}
}
Applications:
-
Password or PIN entry systems
-
Arduino user interfaces and robotic control panels
-
Access control and digital locks
-
DIY calculator, menu navigation, and games
-
Home automation control pads
Package Includes:
-
1 × 4x4 Matrix Keypad Module
0 Reviews For this Product
