As for LCD, we have allowed GLCD backlight to be enabled in two
different ways:
1. It can be
turned on with full brightness
using
SW4.6
switch.
2. Brightness level can be determined
with PWM signal
from the
microcontroller, allowing you to write custom backlight controling
software. This backlight mode is enabled with
SW4.5
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
provides the connector and necessary interface for supporting
GLCD with resolution of 128x64 pixels, driven by the KS108
or similar display controller. Communication with the display
module is done through
CN6
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 PORTB
(control lines) and PORTD (data lines) of the
microcontroller sockets. Since PORTB is also
used by 2x16 character LCD display, you cannot
use both displays simoutaneously. You can control
the display contrast using dedicated potentiometer
P3
. Full brightness display backlight can be enabled
with
SW4.5
switch, and PWM-driven backlight with
SW4.6
switch.
GLCD 128x64
RB0 RB1
RB2 RB3 RB4 RD0 RD1 RD2
RD3 RD4 RD5 RD6
RD7 RB5
LCD-GLCD BCK K-GLCD
GND
VCC-5V
Vo
P3
10K
VCC-5V
RC2
CN6
GLCD 128X64
D
AT
A BUS
VCC-MCU
LCD-GLCD BPWM
R10
1K
R89
Q11
BC846
4K7
20
R92
SW4
ON
displa
ys
Figure 12-1: GLCD 128x64
connection schematics
Standard and PWM-driven backlight
Connector pinout explained
In order to use PWM backlight both
SW4.5
and
SW4.6
switches must be
enabled at the same time.
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 backlight LED anode
LED-
- Connection with the backlight LED cathode
page 25