7.28. Project 7.28 – Using a Keypad

7.28.1. Project Description

Keypads are small keyboards that are used to enter numeric or alphanumeric data to microcontroller systems. Keypads are available in a variety of sizes and styles from 2 × 2 to 4 × 4 or even bigger.
In this project, the PmodKYPD module is used. This is a 4 × 4 keypad with 2 × 6 pins and keys labelled 0–9 and A–F. Figure 7.143 shows a picture of the PmodKYPD module.
image
Figure 7.143 The PmodKYPD Module
This is a simple project where the Serial Monitor displays the key pressed on the keypad.

7.28.2. Keypad Structure

Figure 7.144 shows the structure of a typical 4 × 4 keypad, consisting ...

Get PIC32 Microcontrollers and the Digilent Chipkit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.