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 O’Reilly online learning.

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