Membrane Keypad 4X4 Matrix

Membrane keypad for providing input capability. Description This membrane keypad with an adhesive back has a 4×4...
Vendor: Keszoox
$0.95
$1.29
$0.95

Shipping

The shipping fee depends on your address

Standard: 9-15 business days,fee is down to $3.99

Express: 4-7 business days,fee is down to $5.99

Support Customization

WE'RE READY TO BUILD A CUSTOM PRODUCT FOR YOU.

If you're looking for a custom product, we can help. Kindly contact us via email support@keszoox.com and send us the details for your need, then we'll let you know how we can deliver the right solution.

Built And process your order

We make into production usually Within 1 - 3 Bussiness Days.

Expect customization orders.
Membrane Keypad 4X4 Matrix

Membrane Keypad 4X4 Matrix

$1.29 $0.95

Membrane Keypad 4X4 Matrix

$1.29 $0.95

Membrane keypad for providing input capability.

Description

This membrane keypad with an adhesive back has a 4×4 matrix of  letters and numbers including 0-9 and A-D along with the ‘*’ and ‘#’ symbols for good measure.

PACKAGE INCLUDES:

  • Membrane Keypad 4×4 Matrix

KEY FEATURES OF MEMBRANE KEYPAD 4X4 MATRIX:

  • 16 tactile membrane keys arranged in 4×4 matrixMembrane Keypad 4 x 4 Drawing
  • Adhesive back for permanently mounting keypad
  • 3″ long 8-pin cable terminates in standard 2.54mm (0.1″) female header.

These membrane keypads work well for adding key input for a project.  The construction makes them durable and weatherproof.

The keypad terminates in an 8-pin cable which has 4 row and 4 column pins.  The row pins are on the left as you are looking at the front of the keypad and they have a dark strip near the connector to help identify them.  The connector is a standard 2.54mm (0.1″) pitch 1×8 female header.

The membrane is a thin but rugged plastic with adhesive on the back.  The protective liner can be left in place to keep the keypad mobile or it can be removed and the keypad permanently mounted if desired.

The matrix is resistive which means that when no button is pushed, none of the pins are electrically connected.  When a button is pressed, the corresponding Row and Col pins have a resistance of approximately 60-90 ohms between them.

The MCU monitors for key presses by setting a row or column as an output and setting the pins LOW one at a time.  It then looks for a LOW logic level on one of the pins on the opposite axis.  It does this in a continual scanning process.

For example, if the ‘8’ button is pressed, there will be a low resistance path between the R2 and C1 pins.  If the MCU sets R2 as a LOW output and reads C1 as an input, it will see the LOW and know that the ‘8’ button was pressed.  These button pushes can easily be detected using 8 pins on an MCU.  Software libraries take care of all the messy work as shown in our example below.


Our Evaluation Results:Membrane Keypad 4 x 4 - Connections

These keypads are an inexpensive and easy way to add a robust key entry system.

The downside to any type of matrix keypads is that they do consume a fair number of digital pins on the MCU which may or may not be a concern for a particular application.  They do consume fewer pins than wiring up the same number of discrete buttons

The program below uses the keypad.h library to implement basic input functionality of the keypad.

Eight pins on the MCU are connected to the keypad.  In this case we are using pins 2-9, but any 8 digital pins can be used if they are redefined in the rowPins and colPins statements below.  Wire things up as shown in the picture to the right.

Once the program is downloaded, open the Serial Monitor window using 9600 baud and any key presses should be displayed in the window.

Membrane Keypad 4X4 Matrix Example Program

/* Keypad Membrane 4x4 Example
Connects to 8 pins defined below.  Can be changed to any digital pins as needed.
Uses Keypad.h library
*/
#include <Keypad.h>

const byte ROWS = 4; // Define the number of rows on the keypad
const byte COLS = 4; // Define the number of columns on the keypad
char keys[ROWS][COLS] = { // Matrix defining character to return for each key
  {'1','2','3','A'},
  {'4','5','6','B'},
  {'7','8','9','C'},
  {'*','0','#','D'}
};
byte rowPins[ROWS] = {5, 4, 3, 2}; //connect to the row pins (R0-R3) of the keypad
byte colPins[COLS] = {9, 8, 7, 6}; //connect to the column pins (C0-C3) of the keypad

//initialize an instance of class
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
//===============================================================================
//  Initialization
//===============================================================================
void setup(){
  Serial.begin(9600);
}
//===============================================================================
//  Main
//===============================================================================  
void loop(){
  char key = keypad.getKey();
  
  if (key){     // If key is pressed, send it to the Serial Monitor Window
    Serial.println(key);
  }
}

Notes: 

  1. None

Technical Specifications

Switch Type  4×4 Matrix
Contact Style  Resistive
Termination Style Female 1 x 8 header
Dimensions L x W  (Keypad) 78 x 70mm (3.1″ x 2,75″)
Cable Length 84mm (3.3″)

WE'RE READY TO BUILD A CUSTOM PRODUCT FOR YOU.

Contact us:
Support@keszoox.com
What we can help:
If you're looking for a wire or cable assembly, we can help.
What we need your help next:
Kindly contact us via email support@keszoox.com and send us the details fo your need, then we'll let you know how we can deliver the right solution.

Shipping Policy

All orders are dispatched from our warehouse. The shipments are fully tracked—from our door to yours. Please allow 3-5 business days for your order to be processed in addition to the shipping times below.

Shipping Times

Standard: 9-15 business days. Express: 4-7 business days.

Please note that shipping providers are extremely busy during this time, and some orders might experience a delay on top of usual delivery times. If your order is late, please allow 5-10 days more than indicated in standard shipping times before contacting our customer service. Thank you for your understanding.

Tracking

All orders are 100% tracked. You’ll receive an email with a tracking number and a link to track your parcel once your order leaves our warehouse. Please allow 24-48 hours for the tracking link to start showing shipping information.

Related Products

Recently Viewed Products