2.1 Part One: Cap Touch Click Board
The Cap Touch Click board connects via the OUT pin to any of the microcontroller’s input pins. In this application, RB0 is selected as the input pin. The MOD pin on the Click board determines the mode of operation; it is connected to the PIC’s RD1 pin. The Cap Touch Click board shares the ground, both pins, with the PIC, but not the 3.3V power. Figure 2-1 shows the connections made between the Cap Touch Click board and the PIC16F18075 microcontroller for the door module.