Lecture 8255 Interfacing DAC Seven Segment Display
Lecture 8255 Interfacing DAC Seven Segment Display
D/A Interfacing
• The digital to analog converters convert binary
number into their equivalent voltages.
• The DAC find applications in areas like digitally
controlled gains, motors speed controls,
programmable gain amplifiers etc.
D/A Interfacing
D/A Interfacing
D/A Interfacing
D/A Interfacing Program
• MVI A,98h
• OUT 83H
• LXI H, 9000H
• MOV A,M
• OUT 81H
• HLT
6
Program for saw tooth wave
• MVI A,98h
• OUT 83H
• MVI A,OOH
• LOOP:OUT 81H
• INR A
• JMP LOOP
HLT
7
ALGORITHM for Square wave generator
8
Program for square wave
• MVI A,98h
• OUT 83H
• LOOP:MVI A,OOH
• OUT 81H
• CALL DELAY1
• MVI A,FFH
• OUT 81H
• CALL DELAY1
• JMP LOOP
HLT 9
11
INTERFACING OF INPUT DEVICE
DEEPAK.P 13
INTERFACING OF INPUT DEVICE
DEEPAK.P 14
A0
A7
DEEPAK.P 15
DIP Switch
DEEPAK.P 16
Active Low
DEEPAK.P 17
INTERFACING OUTPUT DEVICES
INTERFACING OF OUTPUT DEVICE
DEEPAK.P 19
I/P device Tri state
Buffer
DEEPAK.P 21
INTERFACING OF OUTPUT DEVICE
DEEPAK.P 22
INTERFACING OF OUTPUT DEVICE
DEEPAK.P 23
INTERFACING OF OUTPUT DEVICE
DEEPAK.P 24
INTERFACING OF OUTPUT DEVICE
DEEPAK.P 25
INTERFACING OF OUTPUT DEVICE
DEEPAK.P 26