
In this chapter, you will learn
l
How to use external interfaces like keyboards,
LCDs, LEDs, ADCs, DACs and motors as
interfaces to 8051
l
The necessity of using external chips for
motor interfacing
l
The principle used in DC motor control
INTERFACING EXTERNAL
PERIPHERALS TO
THE 8051
21
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 ...