Professional Documents
Culture Documents
Exp 7dot Matrix Display
Exp 7dot Matrix Display
Experiment-7
Prepared By
Mohammed Abdul Kader
Assistant Professor, EEE, IIUC
8X8 Dot Matrix Display
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
8X8 Bi-color Dot-Matrix Display
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
Schematic of Dot-Matrix display interface with 8086
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
"Exp-7: Microprocessor and Interfacing Sessional" Prepared
By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
PA7 PB7 PA6 PB6 PA5 PB5 PA4 PB4 PA3 PB3 PA2 PB2 PA1 PB1 PA0 PB0
PC7
PC6
PC3
PC2
PC1
PC0
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
Control Word for Dot-Matrix Display Interfacing
D7 D6 D5 D4 D3 D2 D1 D0 Control Word
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
Animation in Dot Matrix Display
CODE SEGMENT
ASSUME CS:CODE,DS:CODE,ES:CODE,SS:CODE TIMER: MOV CX,0FFFFH
; TIMER1: NOP
PPIC_C EQU 1EH ; control register NOP
PPIC EQU 1CH NOP
PPIB EQU 1AH NOP
PPIA EQU 18H LOOP TIMER1
ORG 1000H RET
MOV AL,10000000B CODE ENDS
OUT PPIC_C,AL END
MOV AL,11111111B
OUT PPIC,AL
MOV AL,11111111B
OUT PPIB,AL
column.
PC6
PC5
PC4
PC3
PC2
PC1
PC0
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
0 0 0 0
0 0 1 1
0 1 0 0
0 1 0 0
0 1 1 1
0 1 0 0
0 1 0 0
0 1 0 0
0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1
0 0
0 1
0 0
0 0
0 1
0 0
0 0
0 0
1 1 1 1 1 1 1 0 1 1 1 1 0 1 1 1
0 0
0 1
1 0
1 0
1 1
1 0
1 0
1 0
1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1
Showing Alphabet ‘A’ in Dot Matrix Display
CODE SEGMENT
ASSUME CS:CODE,DS:CODE,ES:CODE,SS:CODE MOV AL,AH FONT:
; OUT PPIB,AL DB 00000000B
PPIC_C EQU 1EH ; control register CALL TIMER DB 11111100B
PPIC EQU 1CH ; c port INC SI DB 00010010B
PPIB EQU 1AH CLC DB 00010001B
PPIA EQU 18H ROL AH,1 DB 00010001B
; JC L2 DB 00010010B
ORG 1000H JMP L1 DB 11111100B
MOV AL,10000000B DB 00000000B
OUT PPIC_C,AL TIMER: MOV CX,300
; TIMER1: NOP CODE ENDS
MOV AL,11111111B NOP END
OUT PPIA,AL NOP
; NOP
L1: MOV SI,OFFSET FONT LOOP TIMER1
; RET
MOV AH,11111110B ;
;
L2: MOV AL,BYTE PTR CS:[SI]
OUT PPIC,AL
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
Schematic of dot-matrix display interface with 8086
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC
Thanks for Watching
"Exp-7: Microprocessor and Interfacing Sessional" Prepared By- Mohammed Abdul Kader, Assistant Prof., EEE, IIUC