I. Tujuan :
1. Mempelajari DOT MATRIX
2. Dapat mengkonfigurasikan, mengendalikan DOT MATRIX LED DISPLAY
dari modul CITS NX-2000 dengan menggunakan mikrokontroller 8051
3. Dapat membuat program sederhana yang akan ditampilkan pada DOT
MATRIX LED DISPLAY dengan mikrokontroller 8051
R7
R6
R5
R4
R3
R2
R1
C1 C2 C3 C4 C5
0 1 1 0 0
1 0 0 1 0
1 0 0 1 0
1 1 1 1 0
1 0 0 1 0
1 0 0 1 0
1 0 0 1 0
Gambar 5.2 Contoh Tampilan Huruf A pada Dot Matrix
Gambar 5.4 Bentuk fisik Led matrix yang digunakan pada praktikum
Pedoman Praktikum Aplikasi Mikroprosesor & Interfacing UPT Perangkat Keras
Percobaan 6 Halaman : 2 dari 5
B. Daftar Alat
1. EX-04a 7x20 DOT Matrix Display Board kode :
2. Modul Aplikasi & Interfacing kode :
III. Referensi
• Manual Book Paralel Interfacing INex CITS NX-2000
• Microsoft Visual Basic 6 Step by Step
A. Prosedur
• Hubungkan dengan menggunakan data bus antara Modul 8051 dengan
Modul Led Matriks melalui port 0 seperti terlihat pada gambar 5.5
berikut ini
63
100nJ
i
IC74HC125
63
63
10 0nJ
1 00nJ
i
ICL232CPE
nex
63
63
63
63
100 nJ
100 nJ
100 nJ
100nJ
#include <REG52.H>
#include "TYPES51.H"
void init() {
CCK = LOW;
CLE = LOW;
CDA = LOW;
NCRS = HIGH;
NCOE = LOW;
RCK = LOW;
RRS = LOW;
}
void row_clock() {
RCK = HIGH;
RCK = LOW;
}
void column_clock() {
CCK = HIGH;
CCK = LOW;
}
void column_reset() {
NCRS = LOW;
NCRS = HIGH;
}
void column_latch() {
CLE = HIGH;
CLE = LOW;
}
void main() {
unsigned char x,y;
init();
CDA = HIGH;
while(1) {
x = 0;
y = 0;
column_reset();
row_reset();
for (y=0;y<7;y++) {
row_clock();
for (x=0;x<20;x++) {
column_clock();
column_latch();
delay(5000);
}
column_reset();
}
row_reset();
}
}
B. Tugas Laporan
1. Cara kerja Modul Matrix Display
2. Scanning pada DOT Matrix Display
3. Flowchart
4. Kesimpulan
C. Tugas Pendahuluan
1. Apa yang anda ketahui tentang Led display Dot Matrix!
2. Jelaskan bagaimana cara menampilkan huruf pada Led Display Dot
Matrix!
3. Sebutkan aplikasi Dot Matrix Display ( minimal 3)!