ARDU-8051 Virtual Lab

8ร—8 LED Dot Matrix Display Interfacing (8051 Assembly)

๐Ÿงช Experiment Description

This experiment demonstrates interfacing an 8ร—8 LED Dot Matrix Display with the ARDU-8051 hardware platform. Rows are driven through Port-1 and columns through Port-2. Row scanning and column pattern data are controlled using assembly-level multiplexing.

; -------- ARDU-8051 PIN MAPPING --------
; ROWS    -> P1.0 โ€“ P1.7
; COLUMNS -> P2.0 โ€“ P2.7

ORG 0000H
MOV DPTR,#PATTERN

MAIN:
MOV R0,#08H        ; 8 rows
MOV A,#01H         ; Initial row select

SCAN:
MOV P1,A           ; Activate one row
MOVC A,@A+DPTR     ; Read pattern
MOV P2,A           ; Send column data
ACALL DELAY

RL A               ; Next row
DJNZ R0,SCAN
SJMP MAIN

; Character Pattern ('A')
PATTERN:
DB 3CH
DB 66H
DB 66H
DB 7EH
DB 66H
DB 66H
DB 66H
DB 00H

DELAY:
MOV R7,#255
DJNZ R7,$
RET

END
ARDU-8051 Board
ROWS โ†’ P1.0โ€“P1.7 (ARDU-8051)
COLUMNS โ†’ P2.0โ€“P2.7
Method โ†’ Multiplexed Scanning