O'Reilly logo

The x86 Microprocessors: 8086 to Pentium, Multicores, Atom and the 8051 Microcontroller, 2nd Edition by Lyla B. Das

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

21

Interfacing External Peripherals to the 8051

IN THIS CHAPTER, YOU WILL LEARN

  • How to use external interfaces like keyboards, LCDs, LEDs, ADCs, DACs and motors as interfaces to 8051
  • The necessity of using external chips for motor interfacing
  • The principle used in DC motor control

21.1 | Interfacing ADCs and DACs to 8051

21.1.1 | Interfacing an Analog to Digital Converter to 8051

Our interest is to interface an ADC to an 8051 MCU using Port 2 as the data lines, and some pins of Port 1 for the control signals needed by the ADC. When an analog voltage is given as an input to an ADC, it gets converted to a digital number that is transferred to the 8051. The digital value can be stored in the RAM of the system and may be displayed or used ...

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