Looking for Matrix Module? 4×4 Matrix 16 Button Keypad Keyboard Module is available at Zbotic with fast shipping across India.
4×4 Matrix 16 Button Keypad Keyboard Module
- The 4 x 4 matrix keypad serves as a primary input method in many projects, offering 16 keys for inputting various commands or data. The 4 x 4 Matrix Keypad Module is an unencoded matrix keypad comprising 16 keys arranged in parallel. Each key’s connection is established through pins located on the module – pins R1-R4 control the rows, while L1-L4 control the columns.
- This keypad module consists of microswitch buttons arranged in a 4×4 grid format. It features four 3mm (M3) mounting holes for easy installation. The pin designations are clearly labeled on the PCB, with four pins allocated for the ‘x’ coordinate and the remaining four for the ‘y’ coordinate.
- Notably, the module comes pre-equipped with soldered pin headers, simplifying the integration process into various projects.
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-R4 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
- 4×4 Matrix Keyboard Module with 16 buttons
- Small in size and hence Save space
- More convenient to use
- Expanded development application modules for single chip
- With 16 keys and 8 pin
Specification:
| Switch Type | Momentary |
|---|---|
| Pin Spacing (mm) | 2.54 |
| Length (mm): | 42 |
| Width (mm): | 39 |
| Height (mm): | 11 |
| Weight (g): | 9 |
Package Includes
- 1 x 4*4 Matrix 16 Keypad Keyboard Module 16 Button MCU
4×4 Matrix 16 Button Keypad Keyboard Module Overview
The 4×4 Matrix 16 Button Keypad Keyboard Module is a compact input device featuring 16 microswitch buttons arranged in a 4×4 grid. Designed for embedded and microcontroller projects, it provides a simple matrix interface for entering commands, numbers, or navigation controls in space-constrained applications.
Key Features of 4×4 Matrix 16 Button Keypad Keyboard Module
- 16 programmable microswitch buttons in a 4×4 layout
- 8-pin interface with clearly labeled R1–R4 (rows) and L1–L4 (columns)
- Compact PCB design that saves space in projects
- Four 3 mm (M3) mounting holes for secure panel or enclosure attachment
- Unencoded matrix layout compatible with popular microcontrollers
- Fast shipping across India from Zbotic
Applications and Use Cases
- Menu navigation and selection on Arduino-based control panels
- PIN or password entry for DIY security and access control systems
- Numeric input and command entry in robotics and automation projects
- User interface for industrial prototypes and test rigs
- Home automation controllers and custom electronic instruments
How to Use 4×4 Matrix 16 Button Keypad Keyboard Module
Secure the keypad to your enclosure using the four M3 mounting holes. Connect the eight pins to your microcontroller’s digital I/O—rows to R1–R4 and columns to L1–L4. Implement a row–column scanning routine in your firmware to detect key presses, and add software debounce to ensure reliable input before processing each key code.
Why Buy from Zbotic?
- Genuine Products: All items sourced from authorized distributors
- Fast Shipping: Orders ship within 24 hours with tracking (non backordered products)
- Free Shipping: Free delivery on qualifying orders
- COD Available: Cash on Delivery, UPI, cards, net banking
- Technical Support: Expert help for setup and troubleshooting
- Easy Returns: Hassle-free replacement for defective products
Frequently Asked Questions
How do I connect the 4×4 keypad to an Arduino?
Use eight digital I/O pins: assign four pins to rows (R1–R4) and four to columns (L1–L4). Then use a keypad library or custom scanning code to cycle through rows and detect pressed keys.
Can I mount this keypad on a metal panel?
Yes. The PCB includes four 3 mm (M3) mounting holes for standoff screws, enabling secure attachment to metal or plastic panels without interfering with button operation.
Is this keypad compatible with STM32 microcontrollers?
Absolutely. Any microcontroller that supports digital I/O scanning for a matrix layout—such as STM32, AVR, PIC, or ESP series—can interface with this 8-pin keypad module.
Technical Specifications
| Package Quantity | 4 pcs |
|---|---|
| SKU | AI0521 |
| Weight | 0.00946 kg |
| Availability | Out of Stock |
Applications & Use Cases
The 4x4 Matrix 16 Button Keypad Keyboard Module is a versatile electronic switches/keypads modules used across a wide range of applications including electronics projects, DIY builds, prototyping, and educational experiments.
Common use cases:
- Integrating into a custom electronics project
- Learning and experimenting with circuits
- Replacing or upgrading components in existing setups
This product is ideal for electronics enthusiasts, engineers, and students.
Technical Tip: Always verify voltage and current requirements before connecting to your circuit. Check datasheets for detailed specifications and pin configurations.
Shipping & Delivery
- Free shipping on orders above ₹999 across India
- Dispatched within 1-3 business days
- Expected delivery: 3-7 business days depending on location
- Secure packaging to ensure safe transit of electronic components



Suresh Patil (verified owner) –
Nice 4×4 Matrix 16 Button Keypad Keyboard. Relay clicks are clear. Terminal connections are solid.
Krishna Vyas (verified owner) –
Perfect 4×4 Matrix 16 Button Keypad Keyboard for my IoT project. Controlling appliances remotely works flawlessly.
Farhan Jain (verified owner) –
Very satisfied. My smart home system runs on these 4×4 Matrix 16 Button Keypad Keyboard modules. Totally reliable.
Vijay Kapoor (verified owner) –
Outstanding quality! This 4×4 Matrix 16 Button Keypad Keyboard has been running 24/7 for months without a single failure.
MADHU JETHWA (verified owner) –
Very fast service and very easy mathode to order online.good transperancy.
Deepika Gill (verified owner) –
Great 4×4 Matrix 16 Button Keypad Keyboard. Easy to integrate with NodeMCU for WiFi-based control.
Ravi Shetty (verified owner) –
Very satisfied. My smart home system runs on these 4×4 Matrix 16 Button Keypad Keyboard modules. Totally reliable.
Gaurav Grewal –
This 4×4 Matrix 16 Button Keypad Keyboard works perfectly with my Arduino. Easy to wire and control.
Ojas Kamath (verified owner) –
This 4×4 Matrix 16 Button Keypad Keyboard works perfectly with my Arduino. Easy to wire and control.
Raj Krishnan –
Love this 4×4 Matrix 16 Button Keypad Keyboard. Click sound is satisfying and switching is instantaneous.
Yash Negi (verified owner) –
Very satisfied. My smart home system runs on these 4×4 Matrix 16 Button Keypad Keyboard modules. Totally reliable.
Tejas Pillai (verified owner) –
Good quality 4×4 Matrix 16 Button Keypad Keyboard. Using it for my college project. Performs as expected.
Rohan Saxena –
This 4×4 Matrix 16 Button Keypad Keyboard is robust and well built. PCB quality is excellent.
Suresh Rajan (verified owner) –
This 4×4 Matrix 16 Button Keypad Keyboard works perfectly with my Arduino. Easy to wire and control.