Professional Documents
Culture Documents
Adc 1554204025384 PDF
Adc 1554204025384 PDF
Converters
• In most of the cases, the PIO 8255 is used for interfacing
the analog to digital converters with microprocessor.
• We have already studied 8255 interfacing with 8086 as an
I/O port, in previous section. This section we will only
emphasize the interfacing techniques of analog to digital
converters with 8255.
• The analog to digital converters is treaded as an input
device by the microprocessor, that sends an initialising
signal to the ADC to start the analogy to digital data
conversation process. The start of conversation signal is a
pulse of a specific duration.
I/P0 0 0 0
I/P1 0 0 1
I/P2 0 1 0
I/P3 0 1 1
I/P4 1 0 0
I/P5 1 0 1
I/P6 1 1 0
I/P7 1 1 1
Fig
M Krishhna Kumar MAM/M3/LU9g/V1/2004 8
Interfacing Analog to Digital Data
Converters (cont..)
• If one needs a sample and hold circuit for the conversion
of fast signal into equivalent digital quantities, it has to be
externally connected at each of the analog inputs.
I/P 1 EOC
Control and
I/P2 Timing unit
and S.A.R.
I/P3 8 Channel
Analog
Multiplexer
I/P4 8-bit
O/P O/P
Latch
256 R
I/P5 Register
ladder and
Switch tree
I/P6
O/P
I/P 7 Enable
V ref + V ref _
C B A
Address Lines
Block Diagram of ADC 0808 / 0809
M Krishhna Kumar MAM/M3/LU9g/V1/2004 12
CLOCK
START
ALE
EOC
OE
O/P
CS +5V
D0 – D7 PA7 – PA0 O7 – O0
Analog
PC7 EOC ADC I/P
A2
PC0 SOC
0808 Voltage
A1
OE GND
Reset 8255 +5V
ALE
A B C
IORD PB0
PB1
IOWR PB2
OUT 2 2 15 Vref in
GND 3 14 V+
MSB B1 4 13 NC
AD 7523
B2 5 12 NC
B3 6 11 B8 LSB
B4 7 10 B7
B5 8 9 B6
R1 R3 R5 R7
2R 2R 2R 2R 2R
2R
-
V0
R2 R4 R6 R8 +
Fig:
15 14
16
RFB
PA7 MSB 4
OUT1 1 -
8255A VZ V0
LSB 2 +
PA0 11 OUT2
AD7523
CS
GND
3