20
EasyPIC6 Development System
MikroElektronika
page
15.0. 2x16 LCD Display
The EasyPIC6 development system provides an on-board connector to plug alphanumeric 2x16 LCD display into. Such connector is
connected to the microcontroller through the PORTB port. Potentiometer P4 is used for display contrast adjustment. The
LCD
switch
on the DIP switch SW6 is used for turning on/off display backlight. Communication between an LCD display and the microcontroller is
established using a 4-bit mode. Alphanumeric digits are displayed in two lines each containing up to 16 characters of 7x5 pixels.
VCC-MCU
VCC-MCU
VCC-MCU
SW6
VCC
LCD-GLCD
BACKLIGHT
CN7
VCC-MCU
X1
8MHz
D7
LED+
LED-
D6
D5
D4
D3
D2
D1
D0
E
R/W
RS
VO
VCC
GND
P4
10K
C6
22pF
C7
22pF
PICxxxx
OSC2
RC0
RC1
RC2
RC3
RD0
RD1
OSC1
GND
GND
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
VCC
MCLR
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
VCC
RB0
RB1
RB2
RB3
RB4
RB5
RB6
RB7
DIP40
R43
10
Top view
RB
3
RB2
RB1
RB0
GND
GND
GND
GND
GND
VO
GND
RB5
RB4
)LJXUH
2x16 LCD display connection schematic
6:/&'%&. 21
Figure 15-2
: 2x16 LCD display
Contrast adjustment
potentiometer
Figure 15-1
: Alphanumeric LCD connector
Connector for alphanumeric
LCD display