Our webstore uses cookies to offer a better user experience and we recommend you to accept their use to fully enjoy your navigation.
View larger
0104110000023537
New product
Matrix keypad 4x4 with useful buttons in your projects where you need to enter many user data.
See description for more details about the product.
Add to cart now!
35 Item Items
Warning: Last items in stock!
Availability date:
This product is a module with 16 push-button buttons useful to enter data into your application. The product is suitable for your innovative Arduino development pad projects, requiring just 8 connections to help you read 16 buttons.
To understand how to connect and operate the keyboard with 4x4 buttons, you can see the attached image at the bottom of the page.
The main advantage of this type of assembly is that you only need 8 control pins to read the status of the 16 buttons, but there is also the disadvantage that multiple buttons can not be read at the same time.
1. Connect the module to the development board.
To use this module, you need a development board that has at least 8 GPIO digital pins.
The connection scheme is the following:

2. Operating code.
This matrix keypad consists of the use of 4 pins as output and 4 pins as input. The principle on which this product works is simple: a signal is output to a pin initialized as an output and the signal is detected on an input pin. This happens when a button is pressed. For example, if we issue a signal to pin 2 and a signal is detected on pin 10, it means that the "S3" button has been pressed.
W25Q32 32 MBit Non Volatile Memory Module with...
$1.32
0.25 W 2.2K Ω Resistor See description for...
$0.02
3 V or 3.3V Passive Buzzer See description for...
$0.24
NFC NTAG216 40x64 mm Sticker (888 bytes) See...
$2.88
This mounting bracket is suitable for your...
$1.20
CJMCU-3247 converter, current from 0/4 mA to 20...
$6.00
The product is suitable for your projects if...
$3.12
This is a plastic gear for your RC toys, cars,...
$0.21
Cable with SM2.54-2p Male Connector (20 cm)...
$0.24
SN65HVD230 CAN Bus Transceiver Module See...
$7.91