Our webstore uses cookies to offer a better user experience and we recommend you to accept their use to fully enjoy your navigation.
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!
0 Item Items
This product is no longer in stock
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.
Raspberry Pi Zero W - one of the most powerful...
$12.97
Useful charger for 18650 Li-Ion batteries. It...
$4.80
The photoresist is a passive circuit element...
$1.67
Photodiode light sensor is used to detect...
$2.16
Active buzzer module featuring an integrated...
$0.72
This is a blue drilled plastic panel for your...
$0.71
Portable sound card for desktop and laptop...
$1.92
Colored mini breadboard, ideal for small...
$0.57
Electrolytic Capacitor 470 uF, 50 V 105o...
$0.19
Useful adjustable low voltage power supply to...
$12.00