Distributor of MikroElektronika: Excellent Integrated System Limited
Datasheet of MIKROE-701 - BOARD UNI-DS6 DEV SYSTEM
Contact us: [email protected] Website: www.integrated-circuit.com
18
UNI-DS6
MikroElektronika
page
14. 2x16 LCD display
The UNI-DS6
development system features an on-board connector for the alphanumeric 2x16 LCD display� This
connector is linked to the microcontroller via DIP switches (SW18 (PORTA) or SW15 (PORTB)) and (SW16 (PORTD)
or SW17 (PORTC)) � Potentiometer P1 is used to adjust display contrast� The LCD-BCK switch on the DIP switch SW18
is used to turn the display backlight on/off�
To enable the 2x16 LCD display it is necessary to write a program which defines which MCU pins will be used for
communication between the 2x16 LCD 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�
Communication between this LCD and the microcontroller is performed in a 4-bit mode� Alphanumeric digits are
displayed in two lines each containing up to 16 characters of 7x5 pixels�
VCC-5V
VCC-5V
SW18
SW16
SW17
VCC-5V
LCD-BCK
CN12
D7
LED+
LED-
D6
D5
D4
D3
D2
D1
D0
E
R/W
RS
VO
VCC
GND
1
LCD Display
4-bit mode
P1
10K
R65 10
D7
D6
D5
D4
LCD-
E
LCD-RS
V
e
e
Vee
RA4
RE4
RE2
RA12
RB4
RF12
RB12
RG4
RC4
RG12
RC12
RH4
RD4
RJ4
RD12
USB-VBUS
RD0
RC0
RD2
RC2
RD4
RC4
LCD-E
RD6
RC6
RA6
RA14
RF6
RB6
RF14
RB14
RG6
RC6
RG14
RC14
RH6
RD6
RJ6
RD14
#RX232A
#TX232A
#SCL
#SDA
#SS1#
#SCK1
#MISO1
#MOSI1
USB-DP
RD1
RC1
RD3
RC3
RD5
RC5
LCD-RS
RD7
RC7
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
D0
D0
D1
D1
D2
D2
D3
D3
D4
D4
RA6
D5
D5
RA4
D6
D6
D7
D7
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
SW15
LCD-E
LCD-RW
LCD-CS1#
LCD-RS
LCD-RST
LCD-CS2#
RB5
RB3
RB0
RB2
RB4
RB1
Figure 14-3:
2x16 LCD display connection schematic
Figure 14-1
: Connector for alphanumeric LCD display
Figure 14-2
: Alphanumeric 2x16 LCD display
19 / 25
19 / 25