Home/ Shop/ Arduino and Raspberry Accessories & Modules/ 4×4 Matrix Keypad Module (16-Key) for Arduino, Raspberry Pi & Microcontroller Projects
DIY-128 Arduino and Raspberry Accessories & Modules

4×4 Matrix Keypad Module (16-Key) for Arduino, Raspberry Pi & Microcontroller Projects

AED 23.40
Free shipping over AED 150 Ships today before 3pm
Backorder — ships in 7–12 days
1
Request Bulk Quote for this item
Secure checkout Card payments handled by Stripe — we never see or store your card number.
Visa & Mastercard accepted Paid online at checkout — no cash needed at the door.
Free delivery over AED 150 Shipped from our own UAE stock.
VISA stripe
Keys
16 (4x4 matrix)
Interface
8-pin matrix scan
Type
Membrane/tactile per listing
Logic
3.3-5V compatible
SKU
DIY-128
Category
Arduino and Raspberry Accessories & Modules
Min. order
1 pc
Barcode
DKU-000166

Add a simple, reliable input interface to your electronics project with a 4×4 matrix keypad module (16 keys). This keypad is a popular choice for makers who want fast numeric entry, menu navigation, and basic control input without using a touchscreen or complex user interface.

24h UAE dispatch
7-day returns
Genuine components
Expert support
Included Components DIY-128

1× 4×4 (16-key) matrix keypad with connector cable

Keys 16 (4x4 matrix)
Interface 8-pin matrix scan
Type Membrane/tactile per listing
Logic 3.3-5V compatible

Add a simple, reliable input interface to your electronics project with a 4×4 matrix keypad module (16 keys). This keypad is a popular choice for makers who want fast numeric entry, menu navigation, and basic control input without using a touchscreen or complex user interface. Whether you’re building a DIY access system, a robot controller, a timer, or a small embedded device, a keypad is one of the easiest ways to give users direct control.

Matrix design saves GPIO pins. Instead of dedicating one microcontroller pin per button, the keypad uses a matrix of rows and columns (4 rows + 4 columns). Your controller scans the matrix to determine which key is pressed, allowing you to build compact projects with fewer wires and fewer GPIO connections. This matters when you’re using smaller boards or when your pins are already used for displays, sensors, relays, motors, or communication modules. A 4×4 layout typically needs only 8 I/O pins (4 rows and 4 columns) to read 16 keys, giving you a clean and efficient input solution.

The 4×4 keypad is microcontroller friendly and widely supported by libraries. It works well with Arduino and similar boards, and it’s also suitable for ESP32/ESP8266 projects. On Raspberry Pi, you can read it using GPIO scanning methods in Python or other languages. It also integrates smoothly with AVR, ARM, PIC, and many common embedded platforms. Most projects use a keypad library to handle scanning and debouncing (removing false repeated presses caused by mechanical contact bounce). This helps ensure stable input for passwords, menus, and user commands.

Typical use cases include PIN/password entry for DIY locks and access control, setting values on an LCD/OLED menu, selecting robot modes and movement patterns, entering parameters for sensors or automation rules, and creating simple calculator or counter projects. Because the keypad is lightweight and compact, it is also ideal for educational STEM projects where students learn about matrix scanning, digital inputs, and human–machine interaction.

For best performance, mount the keypad on a stable surface and avoid bending the connector sharply. Route the keypad cable away from high-current motor wires or switching power lines to reduce electrical noise that can cause unreliable readings in some builds. If the keypad is used in dusty or humid environments, consider placing it behind a protective front panel or adding basic sealing around the mounting area to extend its service life.

Included: one 4×4 (16-key) matrix keypad module with connector cable. This is a cost-effective and practical input component for DIY electronics, robotics, and embedded control projects.

Included Components

1× 4×4 (16-key) matrix keypad with connector cable

No reviews for this component yet.

Related Components

Browse all →
Root
Online — usually replies instantly
Catalog assistant: verify final stock/price on the product page before checkout.