3x4 Matrix Keypad

SKU: ADA3845 Brand: Adafruit

Retired Product

Replaced by: CE09447
This product has been replaced by: CE09447
This product is no longer available. This page is only for reference.

Punch in your secret key into this numeric matrix keypad. This keypad has 12 buttons, arranged in a telephone-line 3x4 grid. The keys are connected into a matrix, so you only need 7 microcontroller pins (3-columns and 4-rows) to scan through the pad. Check the tutorials tab for links to an Arduino library and example code.

Adafruit include some header so you can plug this into a breadboard with ease, some light soldering is required to attach it. Or you can use plain wires if you like.

There's a great Matrix Keypad Arduino library that should work great with this item with minor adjustments. It's basically a sturdier version of Adafruit's Membrane 3x4 Matrix Keypad. Note that the rows and columns are intermixed. The order from left to right is COL2, ROW1, COL1, ROW4, COL3, ROW2, ROW1

We also have a 4x4 version of this matrix keypad and a version that has phone-styling with letters printed over the numbers

If you dig Adafruit's demo, check out the Adafruit FeatherWing OLED - 128x32 OLED

 

There is a very nice Matrix Keypad Arduino library that works great with this item. The only thing we suggest is to change the initialization code in the examples to this:

#include "Arduino.h" #include "Keypad.h" 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] = {12, 5, 6, 10}; //connect to the row pinouts of the keypad byte colPins[COLS] = {11, 13, 9}; //connect to the column pinouts of the keypad Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS ); void setup(){ Serial.begin(9600); } void loop(){ char key = keypad.getKey(); if (key != NO_KEY){ Serial.println(key); } } 

This will swap the * and # keys and also let you connect to the Arduino with all the pins in order/in a row starting from digital 2 thru digital 9

 

Technical Details

  • Force: 160-180g

  • Contact Resistance: <100 Ohms

  • Product Dimensions: 70.0mm x 51.0mm x 9.7mm / 2.8" x 2.0" x 0.4"

  • Product Weight: 17.6g / 0.6oz

 

Resources

Adafruit's detailed guide with wiring diagrams, libraries and example sketches for all sorts of matrix keypads.

Diagram

This product is listed in:

Retired

Product Comments

Exact shipping can be calculated on the view cart page (no login required).

Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

  • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
  • $6+ for Standard Post (typically 6+ business days, tracked)
  • $10+ for Express Post (typically 2+ business days, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

International Orders - the following rates are for New Zealand and will vary for other countries:

  • $11+ for Pack and Track (3+ days, tracked)
  • $16+ for Express International (2-5 days, tracked)

If you order lots of gear, the postage amount will increase based on the weight of your order.

Our physical address (here's a PDF which includes other key business details):

Unit 18, 132 Garden Grove Parade
Adamstown
NSW, 2289
Australia

Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

Have a product question? We're here to help!

Write Your Own Review

Guides

The Maker Revolution

The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...

Projects

Raspberry Pi Video Looper Display Installation | Overshare Video Festival

IntroductionA suspended ceiling display of forty repurposed screens and displays, each screening cr...
IntroductionA suspended ceiling display of forty repurposed screens and displays, each screening cr...

Mailbox Delivery Notification System

Introduction During the Covid lockdown, I needed something to do. The Postman or woman does not de...
Introduction During the Covid lockdown, I needed something to do. The Postman or woman does not de...

PiicoDev Schematic System

Introduction: Hi everybody. Over the past few weeks, I have been working on an intuitive system th...
Introduction: Hi everybody. Over the past few weeks, I have been working on an intuitive system th...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.