Matrix Grid 8x8

Line up the Diodes in a 8x8 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 R2 8x8 R6R5R4R3R2R1C6C5C4C3C2C11N4007WR1C611221N4007WR1C511221N4007WR1C411221N4007WR1C311221N4007WR1C211221N4007WR1C111221N4007WR2C611221N4007WR2C511221N4007WR2C411221N4007WR2C311221N4007WR2C211221N4007WR2C111221N4007WR3C611221N4007WR3C511221N4007WR3C411221N4007WR3C311221N4007WR3C211221N4007WR3C111221N4007WR4C611221N4007WR4C511221N4007WR4C411221N4007WR4C311221N4007WR4C211221N4007WR4C111221N4007WR5C611221N4007WR5C511221N4007WR5C411221N4007WR5C311221N4007WR5C211221N4007WR5C111221N4007WR6C611221N4007WR6C511221N4007WR6C411221N4007WR6C311221N4007WR6C211221N4007WR6C11122AA1AABBCCDD1122334455TITLE:Matrix Grid 8x8REV:2.0Date:2023-06-11Sheet:1/2Drawn By:dxbangCompany:Bang SystemsR1C11R1R1R1R1R1C21C31C41C51C61R2R2R2R2R2R2R3R3R3R3R3R3R4R4R4R4R4R4R5R5R5R5R5R5R6R6R6R6R6R6C12C22C32C42C52C62C13C23C33C43C53C63C14C24C34C44C54C64C15C25C35C45C55C65C16C26C36C46C56C66C86C76C85C75C84C74C83C73C82C72R6R6R5R5R4R4R3R3R2R2C81C71R1R11N4007WR6C711221N4007WR6C811221N4007WR5C711221N4007WR5C811221N4007WR4C711221N4007WR4C811221N4007WR3C711221N4007WR3C811221N4007WR2C711221N4007WR2C811221N4007WR1C711221N4007WR1C81122C7C81N4007WR7C811221N4007WR7C711221N4007WR8C811221N4007WR8C71122R7R7R8R8C77C87C78C88C68C58C48C38C28C18C67C57C47C37C27C17R8R8R8R8R8R8R7R7R7R7R7R71N4007WR8C111221N4007WR8C211221N4007WR8C311221N4007WR8C411221N4007WR8C511221N4007WR8C611221N4007WR7C111221N4007WR7C211221N4007WR7C311221N4007WR7C411221N4007WR7C511221N4007WR7C61122R7R8 Grid 8x8 Headers AAAABBCCDD1122334455TITLE:Matrix Grid 8x8 GroupingREV:2.0Date:2023-06-27Sheet:2/2Drawn By:dxbangCompany:Bang SystemsX5521WV-2X08-C46D46-1220ARD1116163314145512127710109988111166131344151522R8R8R8R8R8R8C86C85C84C83C82C81R7R7R7R7R7R7C76C75C74C73C72C71R6R6R6R6R6R6C66C65C64C63C62C61R5R5R5R5R5R5C56C55C54C53C52C51R4R4R4R4R4R4C46C45C44C43C42C41R3R3R3R3R3R3C31C32C33C34C35C36R2R2R2R2R2R2C26C25C24C23C22C21R1R1R1R1R1R1C16C15C14C13C12C11X5521WV-2X08-C46D46-1220H11116163314145512127710109988111166131344151522X5521WV-2X08-C46D46-1220H21116163314145512127710109988111166131344151522X5521WV-2X08-C46D46-1220H31116163314145512127710109988111166131344151522X5521WV-2X08-C46D46-1220H41116163314145512127710109988111166131344151522X5521WV-2X08-C46D46-1220H51116163314145512127710109988111166131344151522X5521WV-2X08-C46D46-1220H61116163314145512127710109988111166131344151522X5521WV-2X08-C46D46-1220H71116163314145512127710109988111166131344151522X5521WV-2X08-C46D46-1220H81116163314145512127710109988111166131344151522R1R1C17C18C27C28C37C38C47C48C87C88C77C78C67C68C57C58R2R2R3R3R4R4R5R5R6R6R7R7R8R8R1R2R3R4R5R6R7R8C6C8C7C5C4C3C2C1

PCB

Narrow
Wide