A Matrix keypad is a small compact input device that accepts user input and is processed by the microcontrollers. These keys are arranged as rows and columns.  4*4 matrix keypad is a non-encoded keypad consisting of 16keys in parallel with a built-in pushbutton that is connected to row and column. . The keys of each row and column are connected through pins outside, pin Y1-Y4 to control rows, and pin X1-X4 to control columns. When the key has been pressed the row and column makes contact with each other, otherwise, there is no communication between them. A microcontroller can scan these lines when a button is pressed. These are mainly used in control systems, embedded systems, digital circuits, calculators, ATMs, etc. This 4×4 matrix keypad comes with microswitch buttons. Moreover, the module has four holes 3mm (M3) holes for mounting.
When any key is pressed down, power is connected to rows, so they are High level. Then all the rows R1-R4 are set as Low and then detect the status of the columns. Any Low indication in the column means there is key pressing and that the key is among the 4 keys of the column. Whereas, If all columns are High, it means no key is pressed down. Afterwards in order to locate the key. As the pressed key column is identified, knowing the line would finalize the testing. Thus, set the rows as Low in turns until any is unveiled accordingly – other rows will still be High. Now the row can be identified. Detect the status of each column in turns. Thus column tested Low is the one intersecting with the line is just the key pressed.
Reviews
There are no reviews yet.