Datasheet

19
UNI-DS6
MikroElektronika
page
15. 128x64 graphic LCD display
128x64 graphic LCD (GLCD) is connected to the microcontroller via DIP switches (SW18 (PORTA) or SW15 (PORTB))
and (SW16 (PORTD) or SW17 (PORTC))� It has a screen resolution of 128x64 pixels, which allows diagrams, tables
and other graphic contents to be displayed� Potentiometer P2 is used for the GLCD display contrast adjustment� Switch
8 (GLCD-BCK) on the DIP switch SW18 is used to turn the display backlight on/off�
To enable the GLCD display it is necessary to write a program which denes which MCU pins will be used for
communication between the GLCD display and the MCU� For data transfer you can use PORTD or PORTC pins on
MCU via DIP switch SW16 or SW17� For display control you can use PORTA and PORTB on MCU via DIP switches
SW15 and SW18�
VCC-5V
CN14
P2
10K
D5
D4
D3
D2
D1
D0
E
R/W
RS
LED-
Vo
LED+
VCC
Vee
GND
RST
CS2
D7
CS1
D6
1
20
D5
D4
D3
D2
D1
D0
LCD-E
LCD-RW
LCD-RS
LCD-RST
Vee
LCD-CS2#
VCC-5V
Vo
Vo
D7
LCD-CS1#
D6
VCC-5V
R12 10
GLCD-BCK
GLCD-BCK
RA4 RE4
RE2
RA12
RB4 RF12
RB12 RG4
RC4 RG12
RC12 RH4
RD4 RJ4
RD12
USB-VBUS
RA6
RA14 RF6
RB6 RF14
RB14 RG6
RC6 RG14
RC14 RH6
RD6 RJ6
RD14
#RX232A
#TX232A
#SCL
#SDA
#SS1#
#SCK1
#MISO1
#MOSI1
USB-DP
RA0 RE0
RA8 RF0
RE6
RB0 RF8
RB8 RG0
RC0 RG8
RC8 RH0
RD0 RJ0
RD8
RA2
RA10 RF2
RF4
RB2 RF10
RB10 RG2
RC2 RG10
RC10 RH2
RD2 RJ2
RD10
RA5
RA13
RB5 RF13
RB13 RG5
RC5 RG13
RC13 RH5
RD5 RJ5
RD13
RA7
RA15 RF7
RF5
RF3
RB7 RF15
RB15 RG7
RC7 RG15
RC15 RH7
RD7 RJ7
RD15
#RX232B
#TX232B
#CS1#
#CS2#
#SS2#
#SCK2
#MISO2
#MOSI2
USB-DN
RA1 RE1
RA9 RF1
RE7
RE5
RE3
RB1 RF9
RB9 RG1
RC1 RG9
RC9 RH1
RD1 RJ1
RD9
RA3
RA11
RB3 RF11
RB11 RG3
RC3 RG11
RC11 RH3
RD3 RJ3
RD11
VCC-SW VCC-5V
CN20 CN21
SW16 SW17
RD0 RC0
RD2 RC2
RD4 RC4
RD6 RC6
RD1 RC1
RD3 RC3
RD5 RC5
RD7 RC7
D0 D0
D1 D1
D2 D2
D3 D3
D4 D4
D5 D5
D6 D6
D7 D7
SW18
LCD-E
LCD-RW
LCD-CS1#
LCD-RS
LCD-RST
LCD-CS2#
RA6
RA5
RA2
RA4
RA7
RA3
SW15
LCD-E
LCD-RW
LCD-CS1#
LCD-RS
LCD-RST
LCD-CS2#
RB5
RB3
RB0
RB2
RB4
RB1
Figure 15-3: GLCD display connection schematic
Figure 15-2: GLCD connector
Figure 15-1: GLCD display