Membrane 16 Button Keypad

£ 2.90

FREE DELIVERY

Here we have a 4 x 4 Keypad featuring a total of 16 buttons in matrix form. This is a membrane keypad with no moving parts and a telephone style overlay with 4 additional function buttons.

  • 8 pin connector
  • Adhesive mounting
  • Maximum Circuit Rating: 35VDC, 100mA
  • Insulation Resistance: 100M Omh, 100V
  • Dielectric Withstand: 250VRms (50-60Hz, 1min)
  • Life Expectancy: 1 million closures
  • Operation Temperature: 0 to +70 centigrade
  • Humidity: 40 centigrade, 90%-95%, 240 hours
  • Pad Size (L x W): Approx. 3 x 2.7 inch / 76 x 69 mm
  • Cable Length: Approx. 3.3 inch / 83 mm
  • 1 x New Keypad with 4 x 4 button matrix

Membrane 16 Button Keypad

There are 8 pins on the ribbon. Each row and column represents a pin (as pictured below), so in order to read a key press, you would check for current between a particular row and column. Below you will also find links to the latest arduino library and sample code to get it working.

item

  • 4 x 4 Membrane Keypad
  • jumper Wire
  • Breadboard
  • Arduino

Instantiates a Keypad object that uses pins 5, 4, 3, 2 as row pins, and 8, 7, 6 as column pins.



const byte rows = 4; //four rows
const byte cols = 3; //three columns
char keys[rows][cols] = {
  {'1','2','3'},
  {'4','5','6'},
  {'7','8','9'},
  {'#','0','*'}
};
byte rowPins[rows] = {5, 4, 3, 2}; //connect to the row pinouts of the keypad
byte colPins[cols] = {8, 7, 6}; //connect to the column pinouts of the keypad
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, rows, cols );