012 030 1580   0 Items

16 Button Keypad

R68.16 inc VAT

Out of stock

SKU: keypad-121 Category: Tag:


In the application system of microcontroller, a keyboard is essential in man-machine dialogue. When you are short of a button, you can connect one to the I/O port of the controller; but when you need a lot of buttons with limited I/O port resources, this 4*4 Matrix Keypad is no doubt your best choice. The 4*4 matrix keypad is the most applied keypad form. We need to master its keypad identification technology as an entry to microcontroller world. The key layout is in matrix form, so with only eight I/O ports, we can identify 16 buttons, saving lots of I/O port resources.

1. Circuit grade: 35V(DC),100mA, 1W
2. Contact resistance: 10~ 500(changing with wire length and materials)
3. Insulation resistance: 100M 100V
4. Dielectric Strength: 250VRms(50~60Hz 1min)
5. Electrical shock shaking time: <5ms
6. Service life: Tactility type: 1 million times
7. Operating pressure: Tactility type: 170~397g(6~14oz)
8. Switching path: Tactility type: 0.6~1.5mm
9. Operating temperature: -40~+80’C
10.Storage temperature: -40~+80’C
11.Temperature: 40, 90%~95%, 240H
12. Vibration: 20G,max.(10~200Hz,Mil-SLD-202,M204.Condition B)


Library: keypad.zip




#include <Keypad.h>

const byte ROWS = 4; //four rows
const byte COLS = 4; //four columns
//define the cymbols on the buttons of the keypads
char hexaKeys[ROWS][COLS] = {

//connect to the row pinouts of the keypad
byte rowPins[ROWS] = {2, 3, 4, 5};  
//connect to the column pinouts of the keypad
byte colPins[COLS] = {9, 8, 7, 6}; 

//initialize an instance of class NewKeypad
Keypad customKeypad = Keypad(makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS);

void setup(){

void loop(){
char customKey = customKeypad.getKey();

if (customKey){



Additional information

Weight 0.001 kg
Dimensions 1 × 1 × 1 cm


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.