O'Reilly logo

PIC32 Microcontrollers and the Digilent Chipkit by Dogan Ibrahim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required