Matrix Grid 6x6

Line up the Diodes in a 6x6 grid. The anodes are connected to the rows and the cathodes are connected to the columns. The rows and columns are connected to the microcontroller. The microcontroller can then scan the rows and columns to determine which switches are pressed.

Schematic

Grid R1 6x6 R6 R5 R4 R3 R2 R1 C6 C5 C4 C3 C2 C1 1N4007W R1C6 11 22 1N4007W R1C5 11 22 1N4007W R1C4 11 22 1N4007W R1C3 11 22 1N4007W R1C2 11 22 1N4007W R1C1 11 22 1N4007W R2C6 11 22 1N4007W R2C5 11 22 1N4007W R2C4 11 22 1N4007W R2C3 11 22 1N4007W R2C2 11 22 1N4007W R2C1 11 22 1N4007W R3C6 11 22 1N4007W R3C5 11 22 1N4007W R3C4 11 22 1N4007W R3C3 11 22 1N4007W R3C2 11 22 1N4007W R3C1 11 22 1N4007W R4C6 11 22 1N4007W R4C5 11 22 1N4007W R4C4 11 22 1N4007W R4C3 11 22 1N4007W R4C2 11 22 1N4007W R4C1 11 22 1N4007W R5C6 11 22 1N4007W R5C5 11 22 1N4007W R5C4 11 22 1N4007W R5C3 11 22 1N4007W R5C2 11 22 1N4007W R5C1 11 22 1N4007W R6C6 11 22 1N4007W R6C5 11 22 1N4007W R6C4 11 22 1N4007W R6C3 11 22 1N4007W R6C2 11 22 1N4007W R6C1 11 22 A A1 A A B B C C D D 1 1 2 2 3 3 4 4 5 5 TITLE: Button Matrix 6x6 REV: 1.0 Date: 2023-06-11 Sheet: 1/1 Drawn By: dxbang Company: Bang Systems X5521WV-2X06-C46D46-1220 H1 11 1212 33 1010 55 88 77 66 99 44 1111 22 X5521WV-2X06-C46D46-1220 H2 11 1212 33 1010 55 88 77 66 99 44 1111 22 X5521WV-2X06-C46D46-1220 H3 11 1212 33 1010 55 88 77 66 99 44 1111 22 X5521WV-2X06-C46D46-1220 H4 11 1212 33 1010 55 88 77 66 99 44 1111 22 X5521WV-2X06-C46D46-1220 H5 11 1212 33 1010 55 88 77 66 99 44 1111 22 X5521WV-2X06-C46D46-1220 H6 11 1212 33 1010 55 88 77 66 99 44 1111 22 X5521WV-2X06-C46D46-1220 ARD 11 1212 33 1010 55 88 77 66 99 44 1111 22 C1 C2 C3 C4 C5 C6 R1 R2 R3 R4 R5 R6 R01 C01 R02 R03 R04 R05 R06 C02 C03 C04 C05 C06 R07 R08 R09 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29 R30 R31 R32 R33 R34 R35 R36 C07 C08 C09 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 C33 C34 C35 C36 C01 C02 C03 C04 C05 C06 R06 R05 R04 R03 R02 R01 R07 R08 R09 R10 R11 R12 C07 C08 C09 C10 C11 C12 R13 R14 R15 R16 R17 R18 C13 C14 C15 C16 C17 C18 R19 R20 R21 R22 R23 R24 C19 C20 C21 C22 C23 C24 R25 R26 R27 R28 R29 R30 C25 C26 C27 C28 C29 C30 R31 R32 R33 R34 R35 R36 C31 C32 C33 C34 C35 C36

PCB