Easy
PIC
for dsPIC30
®
v7
page 25
As for LCD, we have allowed GLCD back light to be enabled in two
different ways:
1. It can be turned on with full brightness using SW10.8 switch.
2. Brightness level can be determined with PWM signal from the
microcontroller, allowing you to write custom back light controlling
software. This back light mode is enabled with SW10.7 switch.
Graphical Liquid Crystal Displays, or GLCDs are used to display
monochromatic graphical content, such as text, images, human-
machine interfaces and other content. EasyPIC
™
v7 for dsPIC30
®
provides the connector and necessary interface for supporting
GLCD with resolution of 128x64 pixels, driven by the KS108 or
compatible display controller. Communication with the display
module is done through CN16 display connector. Board is fitted
with uniquely designed plastic display distancer, which allows
the GLCD module to perfectly and firmly fit into place.
Display connector is routed to RF0, RF1, RF4, RF5
(control lines) and to RB0-RB3, RD0-RD3 (data
lines) of the microcontroller sockets. Since the
same ports are used by 2x16 character LCD display,
you cannot use both displays simultaneously. You
can control the display contrast using dedicated
potentiometer P2. Full brightness display back light can
be enabled with SW10.8 switch, and PWM-driven back
light with SW10.7 switch.
GLCD 128x64
VCC-5V
P2
10K
Q5
BC846
R19
20
R22
4K7
R21
1K
VCC-BRD
G
LC
D
B
C
K
P
W
M
B
C
K
LI
G
H
T
R
D
0
R
D
1
R
D
2
R
D
3
R
B4
R
B5
R
F0
R
F1
R
F4
R
F5
Vo
R
B0
R
B1
R
B2
R
B3
C
S1
C
S2
G
N
D
Vc
c
Vo
R
S
R
/W
D
1
D
2
D
3
D
4
D
5
D
6
D
7
E
D
0
R
ST
Ve
e
LE
D
+
LE
D
-
1
20
CN16
GLCD SOCKET2
1
2
3
4
5
6
7
8
O
N
SW10
BCK PWM
BCK LIGHT
VCC-5V
RB10
DATA BUS
displa
ys
Standard and PWM-driven back light
Connector pinout explained
IMPORTANT:
CS1
and
CS2
- Controller Chip Select lines
VCC
- +5V display power supply
GND
- Reference ground
Vo
- GLCD contrast level from potentiometer P3
RS
- Data (High), Instruction (Low) selection line
R/W
- Determines whether display is in Read or
Write mode.
E
- Display Enable line
D0–D7
- Data lines
RST
- Display reset line
Vee
- Reference voltage for GLCD contrast
potentiometer P3
LED+
- Connection with the back light LED anode
LED-
- Connection with the back light LED cathode
In order to use PWM back light both SW10.7 and SW10.8 switches must
be enabled at the same time.
Figure 12-1: GLCD 128x64 connection schematics