Circuit Design

When we were designing our circuit, we saw that we needed a PIC microcontroller that could accomodate 12 switches (one for each button). While it would be possible to control 12 switches with a 28-pin PIC microcontroller (PIC18f2455), we saw that it would be easier just to have a pin for each switch with the 40-pin PIC microcontroller (PIC18f4550).

Here is the circuit diagram for our keyboard hands: