- Stock: In Stock
- Brand: xcluma
- Model: BE-002895
- Weight: 4.00g
- SKU: BE-002895
- MPN: BE-002895
Description
• The 2×2
matrix keypad module usually is used as input in a project.
• It has 4 keys in total, which means the same input values.
• The module is a non-encoded matrix keypad consisting of 14 keys in parallel.
• The keys of each row and column are connected through the pins outside – pin
R1-R2 as labelled beside control the rows, when L1-L2, the columns.
• It consists of micro switch buttons. The module has four holes 3mm (M3) holes
for mounting.
• Two pins are thus used as an ‘x’ coordinates and the other 2 as a ‘y’
coordinate.
How it Works:
• First
test whether any key is pressed down. Connect power to rows, so they are High
level.
• Then set all the rows R1-R2 as Low and then detect the status of the columns.
• Any column of Low indicates there is key pressing and that the key is among
the 4 keys of the column.
• If all columns are High, it means no key is pressed down. Next, locate the
key.
• Since the column in which the pressed key lies 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. The
column tested Low is the one intersecting with the line – their cross point is
just the key pressed.