The 4 x 4 matrix keypad usually is used as input in a project. It has 16 keys in total, which means the same input values. The 4 x 4 Matrix Keypad Module is a matrix non-encoded keypad consisting of 16 keys in parallel. The keys of each row and column are connected through the pins outside – pin R1-R4 as labeled beside control the rows, when L1-L4, the columns.
A 4×4 matrix keypad consisting of microswitch buttons. The module has four holes 3mm (M3) holes for mounting. The pin designations on each PCB are shown on each PCB. Four pins are thus used as an ‘x’ coordinate and the other 4 as a ‘y’ coordinate. The module is already equipped with soldered pin headers (rotated 90 degrees).
First test whether any key is pressed down. Connect power to rows, so they are High level. Then set all the rows R1-R4 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.
{"id":3557998526536,"title":"4*4 Matrix Keypad Keyboard Module","handle":"4-4-4-4-matrix-keypad-keyboard-module","description":"\u003cdiv\u003e\n\u003cp\u003eThe 4 x 4 matrix keypad usually is used as input in a project. It has 16 keys in total, which means the same input values. The 4 x 4 Matrix Keypad Module is a matrix non-encoded keypad consisting of 16 keys in parallel. The keys of each row and column are connected through the pins outside – pin R1-R4 as labeled beside control the rows, when L1-L4, the columns.\u003c\/p\u003e\n\u003cp\u003eA 4×4 matrix keypad consisting of microswitch buttons. The module has four holes 3mm (M3) holes for mounting. The pin designations on each PCB are shown on each PCB. Four pins are thus used as an ‘x’ coordinate and the other 4 as a ‘y’ coordinate.\u003cbr\u003eThe module is already equipped with soldered pin headers (rotated 90 degrees).\u003c\/p\u003e\n\u003cp\u003eFirst test whether any key is pressed down. Connect power to rows, so they are High level. Then set all the rows R1-R4 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.\u003cbr\u003eNow 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.\u003c\/p\u003e\n\u003ch5\u003eSpecifications\u003c\/h5\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/Arduino-Keypad-Tutorial-4X4-Keypad-Schematic_480x480.png?v=1593005361\" alt=\"\"\u003e\u003c\/p\u003e\n\u003ch5\u003eResources\u003c\/h5\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/DATASHEET\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC2032\"\u003eDatasheet\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/LIBRARIES\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC2032\"\u003eLibrary \u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/LIBRARIES\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC2032\"\u003eSample Code\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e","published_at":"2022-12-06T11:20:24+05:30","created_at":"2019-05-14T08:18:37+05:30","vendor":"ThinkRobotics.in","type":"Input\/Output Devices","tags":["4x4 keyboard","CS20","ELC2","IN-MOD","Keyboard","push button"],"price":5499,"price_min":5499,"price_max":5499,"available":true,"price_varies":false,"compare_at_price":14995,"compare_at_price_min":14995,"compare_at_price_max":14995,"compare_at_price_varies":false,"variants":[{"id":28238371422280,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ELC2032","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"4*4 Matrix Keypad Keyboard Module","public_title":null,"options":["Default Title"],"price":5499,"weight":30,"compare_at_price":14995,"inventory_management":"shopify","barcode":"28238371422280","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/thinkrobotics.com\/cdn\/shop\/products\/20190405_112051.jpg?v=1612261138","\/\/thinkrobotics.com\/cdn\/shop\/products\/20190405_112227.jpg?v=1612261170","\/\/thinkrobotics.com\/cdn\/shop\/products\/20190424_130046.jpg?v=1577793998","\/\/thinkrobotics.com\/cdn\/shop\/products\/20190424_130140.jpg?v=1577793998"],"featured_image":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190405_112051.jpg?v=1612261138","options":["Title"],"media":[{"alt":"4*4 Matrix Keypad Keyboard Module","id":1141236990024,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1624,"width":1624,"src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190405_112051.jpg?v=1612261138"},"aspect_ratio":1.0,"height":1624,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190405_112051.jpg?v=1612261138","width":1624},{"alt":"4*4 Matrix Keypad Keyboard Module","id":1141237022792,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1486,"width":1486,"src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190405_112227.jpg?v=1612261170"},"aspect_ratio":1.0,"height":1486,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190405_112227.jpg?v=1612261170","width":1486},{"alt":"4*4 Matrix Keypad Keyboard Module","id":1141237153864,"position":3,"preview_image":{"aspect_ratio":1.333,"height":3024,"width":4032,"src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190424_130046.jpg?v=1577793998"},"aspect_ratio":1.333,"height":3024,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190424_130046.jpg?v=1577793998","width":4032},{"alt":"4*4 Matrix Keypad Keyboard Module","id":1141237317704,"position":4,"preview_image":{"aspect_ratio":1.333,"height":3024,"width":4032,"src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190424_130140.jpg?v=1577793998"},"aspect_ratio":1.333,"height":3024,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/20190424_130140.jpg?v=1577793998","width":4032}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cdiv\u003e\n\u003cp\u003eThe 4 x 4 matrix keypad usually is used as input in a project. It has 16 keys in total, which means the same input values. The 4 x 4 Matrix Keypad Module is a matrix non-encoded keypad consisting of 16 keys in parallel. The keys of each row and column are connected through the pins outside – pin R1-R4 as labeled beside control the rows, when L1-L4, the columns.\u003c\/p\u003e\n\u003cp\u003eA 4×4 matrix keypad consisting of microswitch buttons. The module has four holes 3mm (M3) holes for mounting. The pin designations on each PCB are shown on each PCB. Four pins are thus used as an ‘x’ coordinate and the other 4 as a ‘y’ coordinate.\u003cbr\u003eThe module is already equipped with soldered pin headers (rotated 90 degrees).\u003c\/p\u003e\n\u003cp\u003eFirst test whether any key is pressed down. Connect power to rows, so they are High level. Then set all the rows R1-R4 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.\u003cbr\u003eNow 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.\u003c\/p\u003e\n\u003ch5\u003eSpecifications\u003c\/h5\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/Arduino-Keypad-Tutorial-4X4-Keypad-Schematic_480x480.png?v=1593005361\" alt=\"\"\u003e\u003c\/p\u003e\n\u003ch5\u003eResources\u003c\/h5\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/DATASHEET\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC2032\"\u003eDatasheet\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/LIBRARIES\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC2032\"\u003eLibrary \u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/LIBRARIES\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC2032\"\u003eSample Code\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e"}