Interfacing Keypad

Matrix keypad scanning.

Mohith N
Updated: 19 March 2026
12 min read

Keypad Interfacing Quiz

Test your understanding of matrix keypad scanning techniques.

Question 1 of 3

Q1.A 4x4 matrix keypad has 16 keys but requires only 8 GPIO lines. During column scanning, if column 2 is driven LOW and the microcontroller reads row 3 as LOW, which key is pressed (assuming rows and columns are 0-indexed)?