You are on page 1of 6

Experiment No.

"D/A Converter"

Content:

 D/A converter specification


 D/A converter interface
 Examples on D/A converter
D/A converter specification

The DAC0800 is a monolithic 8-bit high-speed current output digital to


analog converter (DAC) featuring typical setting times of 100ns. When used as a
multiplying DAC monotonic performance over a 40 to 1 reference current range is
possible. The DAC0800 also features high compliance complementary current
outputs to allow differential output voltage of 20 Vpp with simple resistor loads as
shown in the figure below

Figure 1. DAC0800 block diagram

Figure 2. DAC0800 block diagram (top view)


D/A converter interface

The DAC0800 in connected to the 8086 through the 8255 interface, the data
(8bit) is sent from the 8086 to the 8255 which in turn sends this data through port C
to the DAC connected to it, the DAC convert each digital value to a analog value,
the analog output from the DAC in a current quantity, This current is converted to
voltage using OPAMP based current-to-voltage converter, The voltage output of
OPAMP is connected to SG, the SG output is and input to the LM3915 level meter
circuit which passes this value to the connected 10 LEDs, each LED is activated
with a specific threshold voltage, the range of the threshold voltage and the it’s
corresponding LED, as shown in following table

Threshold voltage
The LED The HEX values
min typical max
1 0.442 0.447 0.531 00-05
2 0.596 0.631 0.750 05-10
3 0.841 0.891 1.059 10-15
4 1.189 1.259 1.413 15-20
5 1.679 1.778 1.995 20-25
6 2.372 2.512 2.819 25-30
7 3.350 3.548 3.825 30-35
8 4.732 5.012 5.309 35-40
9 6.683 7.079 7.498 40-45
10 9.985 10 10.015 45-50
Table 1. Threshold voltage range of LM3915
Figure 3. D/A interface
*****************************************‫؛‬
‫؛‬MDA-Win8086 EXPERIMENT PROGRAM*
‫؛‬FILENAME : DAC.ASM
‫؛‬PROCESSOR : I8086
‫؛‬DAC TEST
*****************************************‫؛‬
CODE SEGMENT
ASSUME CS:CODE,DS:CODE,ES:CODE,SS:CODE
‫؛‬
PPIC_C EQU 1FH
PPIC EQU 1DH
PPIB EQU 1BH
PPIA EQU 19H
‫؛‬
ORG 1000H
MOV AL,10000000B
OUT PPIC_C,AL
;
L2: MOV AL,00000000B
L1: OUT PPIC,AL
CALL TIMER
INC AL
CMP AL,50H
JNE L1
JMP L2
‫؛‬
INT 3
‫؛‬
TIMER: MOV CX,1
TIMER2: PUSH CX
MOV CX,0
TIMER1: NOP
LOOP TIMER1
POP CX
LOOP TIMER2
RET
‫؛‬
CODE ENDS
END

You might also like