18

INTERFACING: KEYBOARDS

CHAPTER OBJECTIVES

In this chapter, the reader is introduced to keyboard interfacing, the most widely used input device for any embedded system. After completion of the chapter, the reader should be able to understand

  • How does the mechanical contact-type keys function.
  • What is the bouncing of keys and how to debounce those.
  • How to interface individual keys as well as key-matrix with MCS-51.
  • How to develop software routine to read keys and scan a keyboard.

18.1 | Introduction

Keyboard and display are two most widely used user interfaces for any embedded system. In this chapter, we discuss about some important aspects of keyboard interfacing. As a matter of fact, keys may be considered as simplest type of sensors. They ...

Get 8051 Microcontrollers, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.