13-1 DC CHARACTERISTICS
13-2-1 AC CHARACTERISTICS
13-2-2 WRITE MODE
13-2-3 READ MODE
7
11
11
11
12
12
13
14
14
14
16
17
17
18
19
20
21
VERSION : 41
DEM 16216 SYH-PYProduct specification
E
LCD
R/W
controller
RS
LSI
V
0
V
Figure 1.0
BACKLIGHT
1. FUNCTIONS & FEATURES
DEM 16216-SERIES type:
MODULE
DEM 16216 SYH-PY
Viewing Direction: 6 O'clock
Driving Scheme: 1/16 Duty Cycle, 1/5 Bias
Power Supply Voltage: 2.7V to 5.5V (typ. 5V)
Display Format: 16 x 2 Characters ( 5 x 8 dots, Format : 192 Kinds)
Internal Memory: CGROM ( 8,320 bits )
: CGRAM ( 64 x 8 bits )
: DDRAM ( 80 x 8 bits for Digits )
Interface: Easy Interface with a 4 - bit or 8 - bit MPU
VLCD Adjustable for Best Contrast
Backlight: Yellow/Green (lightpipe/lightguide)
LCD-TYPE
STN Yellow/Green
: 4.5V (typ.)
LCD TYPE
Transflective Positive Mode
2. MECHANICAL SPECIFICATIONS
Character Pitch
Character Size: 2.95(w) x 5.55(h) mm
Character Font
Dot Size
Dot Pitch
: 3.55(w) x 5.95(h) mm
: 5 x 8 dots
: 0.55(w) x 0.65(h) mm
: 0.60(w) x 0.70(h) mm
3. BLOCK Diagram
DB0~DB7
KS0070B-00
VDD
SS
A
K
COM1~COM16
SEG1~SEG80
LCD PANEL
2line*16characters
VERSION: 42
DEM 16216 SYH-PYProduct specification
4. External Dimensions
Figure 2.0
5. PIN Assignment
Pin No.SymbolFunction
1VSSGround terminal of module
2VDDSupply terminal of module 2.7 to 5.5 V
3V0Power Supply for Liquid crystal Drive
4RSRegister Select
RS = 0… Instruction Register
RS = 1… Data Register
5R/WRead / Write
R/W = 1 (Read)
R/W = 0 (Write)
6EEnable
7DB0
8DB1Bi-directional Data Bus, Data Transfer is performed
9DB2once , thru DB0~DB7 , in the case of interface data .
10DB3Length is 8-bits; and twice , thru DB4~DB7 in the case
11DB4of interface data length is 4-bits .
12DB5Upper four bits first then lower four bits .
13DB6
14DB7
15LED - ( K ) Please also refer to 6.1 PCB drawing and description .
16LED + ( A ) Please also refer to 6.1 PCB drawing and description .
VERSION : 43
DEM 16216 SYH-PYProduct specification
6.1 PCB DRAWING AND DESCRIPTION
Figure 3.0
Description :
6-1-1.The polarity of the pin 15 and the pin 16
SymbolJ3,J5J2,J4
Symbol State15 Pin16 Pin
J2,J4Each OpenAnodeCathode
J3,J5Each Open CathodeAnode
6-1-2. The metal-bezel should be on gronud when the J1 is Solder- Bridge .
6-1-3. The LED Resistor should be bridged when the J6 is Solder-Bridge .
6-1-4. The R7 is the LED Resistor. (R7=24 Ohm)
Each Solder- Bridge
Each Solder- Bridge
LED Polarity
VERSION : 44
DEM 16216 SYH-PYProduct specification
J4
J2
6.2 Example application
6-2-1 The LED resistor should be bridged as following .
R7
J6
6-2-2 The 15 pin is the Anode and the 16 pin is the cathode as following .
J4J2
6-2-3 The 15 pin is the cathode and the 16 pin is the Anode as following .
To overcome the speed difference between the internal clock of KS0070B and the MPU clock, KS0070B performs
internal operations by storing control information to IR or DR. The internal operation is determined according to the
signal from MPU, composed of read/write and data bus (Refer to Table 5 ).
Instruction can be divided largely into four kinds .
(1) KS0070B function set instructions ( set display methods, set data length, etc. )
(2) address set instruction to internal RAM
(3) data transfer instructions with internal ram
(4) others .
The address of the internal RAM is automatically increased or decreased by 1 .
*NOTE : During internal operation, Busy Flag (DB7) is read "1". Busy Flag check must be preceded by the
next instruction .
When you make an MPU program with checking the Busy Flag (DB7), it must be necessary
1/2 Fosc for executing the next instruction by falling E signal after the Busy Flag (DB7) goes to "0" .
Contents
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
0000000001
Clear all the display data by writing "20H" (space code) to all DRAM addresses, and set the DRAM addresses
to "00H" in the AC (address counter). Return cursor to original status, namely, bring the cursor to the left edge
on first line of the display . Make entry mode increment (I/D = "1" ) .
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
Return Home is the cursor return home instruction .
Set DRAM address to "00H" in the address counter. Return cursor to its original site and return display to its
original status, if shifted, Contents of DDRAM does not change .
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
Set the moving direction of cursor and display .
I/D : Increment/decrement of DDRAM address (cursor or blink )
When I/D = "1" , cursor/blink moves to right and DDRAM address is increased by 1.
When I/D = "0" , cursor/blink moves to left and DDRAM address is increased by 1.
*CGRAM operates the same as DDRAM , when reading from or writing to CGRAM .
SH: Shift of entire display
When DDRAM is in read (CGRAM read/write) operation or SH = "0" , shift of entire display is not performed .
If SH = "1" and in DDRAM write operation, shift of entire display is performed according to I/D value
(I/D = "1" : shift left, I/D = "0" : shift right ).
VERSION : 4
7
DEM 16216 SYH-PYProduct specification
9. INSTRUCTION DESCRIPTION (IE = "LOW" )
9. INSTRUCTION DESCRIPTION (IE = "LOW" )
Note that display shift is performed simultaneously in all the line .
0
0
0
1
1
0
1
1
9. INSTRUCTION DESCRIPTION (IE = "LOW" )
6).Function Set
4).Display ON/OFF CONTROL
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
0000001DCB
Control display/cursor/blink ON/OFF 1 bit register.
D : Display ON/OFF control bit
When D = "1" , entire display is turned on .
When D = "0" , display is turned off, but display data is remained in DDRAM .
C : Cursor ON/OFF control bit
When C = "1" , cursor is turned on.
When C = "0" , cursor is disappeared in current display, but I/D register remains its data .
B : Cursor Blink ON/OFF control bit
When B = "1" , cursor blink is on , that performs alternate between all the "1" data and display character at
the cursor position.
When B = "0" , blink is off.
5).Cursor or Display Shift
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
000001S/CR/LXX
Without writing or reading of display data , Shift right/left cursor position or display
This instruction is used to correct or search display data . (Refer to Table 4)
During 2-line mode display, cursor moves to the 2nd line after 40th digit of 1st line .
When displayed data is shifted repeatedly, each line shifted individually .
When displayed shift is performed, the contents of address counter are not changed .
Table 4 Shift patterns according to S/C and R/L bits
S/CR/LOperation
Shift cursor to the left, AC is decreased by 1
Shift cursor to the right, AC is decreased by 2
Shift all the display to the left, cursor moves according to the display
Shift all the display to the right, cursor moves according to the display
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
00001DLNFXX
DL : Interface data length control bit
When DL = "1" , it means 8-bit bus mode with MPU.
When DL = "0" , it means 4-bit bus mode with MPU. So to speak, DL is a signal to select 8-bit or 4-bit bus mode .
When 4-bit bus mode, it needs to transfer 4-bit data in two parts .
N : Display line number control bit
When N = "1" , 2-Line display mode is set .
When N = "0" , 1-Line display mode is set .
F : Display font type control bit
When F = "0" , 5 X 7 dots format display mode .
When F = "1" , 5 X 10 dots format display mode .
VERSION : 48
DEM 16216 SYH-PYProduct specification
9) Read Busy Flag & Address
00BF
AC6
AC5
AC4
AC3
AC2
AC1
AC0
10) Write data to RAM
10D7D6D5D4D3D2D1
D0
11) Read data from RAM
11D7D6D5D4D3D2D1
D0
7).Set CGRAM Address
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
0001AC5AC4AC3 AC2AC1AC0
Set CGRAM Address to AC .
This instruction makes CGRAM data available from MPU.
8).Set DDRAM Address
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
001AC6AC5AC4AC3 AC2AC1AC0
Set DDRAM Address to AC .
This instruction makes DDRAM data available from MPU.
In 1-line display mode (N=0, NW=0), DDRAM address is from "00H" to "4FH".
In 2-line display mode (N=1, NW=0), DDRAM address in the 1st line is from "00H" to "27H",and DDRAM address in
the 2nd line is from "40H" to "67H".
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
This instruction shows whether KS0070B is in internal operation or not. If the resultant BF is High, the internal operaation is in progress and should wait until BF to become "Low", which by then the next instruction can be performed.
In this instruction value of address counter can also be read.
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
Write binary 8-bit data to DRAM/CRAM/SEAGRAM.
The selection of RAM from DRAM, CRAM or SEAGRAM, is set by the previous address set instruction: DDRAM
address set, CGRAM address set, SEGRAM address set, RAM set instruction can also determines the AC
direction to RAM.
After write operation, the address is automatically increased/decreased by 1, according to the entry mode.
RSR/WDB7DB6DB5DB4DB3DB2DB1DB0
Read binary 8-bit data to DDRAM/CRAM .
The selection of RAM is set by the previous address set instruction. If address set instruction of RAM is not
performed before this instruction, the data that read first is invalid, as the direction of AC is not determined. If the
RAM data is read several times without RAM address set instruction before read operation, the correct RAM data
from the second, but the first data would be incorrect, as there is not time to transfer RAM data. In case of DDRAM
read operation, cursor shift instruction plays the same role as DDRAM address set instruction: it also transfer RAM
data to output data register.
After read operation address counter is automatically increased/decreased by 1 according to the entry mode.
After CGRAM read operation, display shift may not be executed correctly.
*In case of RAM write operation, AC is increased/decreased by 1 like read operation after this. In this time, AC
indicates the next address position, but the previous data can only by read instruction.
clear00000000011.53ms Write "20H" to DDRAM. And set
DisplayDDRAM address to "00H" from AC .
Set DDRAM address to "00H" from AC
Return000000001X1.53ms and return cursor to its original position
homeif shifted.
Entry 00000001I/DSH39usAssign cursor moving direction and
mode setenable the shift of entire display
Display on/0000001DCB39usSet display (D), cursor (C), and blinking
off controlof cursor (B) on/off control bit .
Cursor or000001S/C R/LXX39usSet cursor moving and display shift
Display control bit , and the direction , without
shiftchanging of DRAM data .
FunctionSet interface data length (DL : 4-bit/8-bit),
Set00001DLNFXX39usnumbers of display line (N : 1-line/2-line,
Display font type (F: 0…)
Set CGRAM 0001 AC5 AC4 AC3 AC2 AC1 AC039usSet CGRAM address in address counter.
Address
Set DDRAM 001 AC6 AC5 AC4 AC3 AC2 AC1 AC039usSet DDRAM address in address counter.
Address
Read Busy Whether during internal operation or not
flag and01BF AC6 AC5 AC4 AC3 AC2 AC1 AC00uscan be known by reading BF.
AddressThe contents of address counter can
also be read .
Write Data10D7 D6 D5D4D3 D2D1D043usWrite data into internal RAM
to RAM ( DDRAM/CGRAM )
Read Data11D7 D6 D5D4 D3D2 D1D043usRead data into internal RAM
from RAM ( DDRAM/CGRAM )
NOTE : When you make an MPU program with checking the Bus Flag (DB7), it must be necessary 1/2F osc for
executing the next instruction by falling E signal after the Busy Flag (DB7) goes to "0" .
VERSION : 410
DEM 16216 SYH-PYProduct specification
10. INTERFACE WITH MPU IN BUS MODE
1). Interface with 8-bit MPU
When interface data length are 8-bits , transfer is performed all at once through 8 ports. From DB0 to DB7 .
An Example of timing sequence is shown below .
RS
R/W
E
internal Singnal
DB7
Data
instruction
internal Operation
BusyBusy
Busy Flag
check
Busy Flag
check
No
Busy
Busy Flag
check
Data
instruction
Figure 6.0. Example of 8-bit bus mode timing Diagram
2) Interface with 4-bits MPU
When interfacing data length aref 4-bits , only 4 ports, from DB4 to DB7 , are used as data bus .
At first, higher 4-bit (in case of 8-bit bus mode, the contents of DB4~DB7) are transferred, and then the lower 4-bit
(in case of 8-bit bus mode, the contents of DB0~DB3) are transferred. So transfer is performed in two parts. Busy
Flag outputs"1" after the second transfer are ended.
Example of timing sequence is shown below .
RS
R/W
E
internal Singnal
DB7
instruction
VERSION : 411
Figure 7.0 Example of 4-bit bus mode timing Diagram
internal Operation
Busy
Busy Flag check
No
Busy
Busy Flag Check
instruction
DEM 16216 SYH-PYProduct specification
after V
rises to 4.5v
11. INITIALIZING BY INSTRUCTION
11-1 8-bit interface mode
Power on
Condition : fosc=270kHz
Wait for more than 30ms
DD
Function set12-line mode
RSRW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
000011NFXX05 x 7 dots
Wait for more than 39us
Display on/off control1display on
RSRW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0000001DCB0cursor off
Wait for more than 39us0blink off
Clear Display
RSRW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0000000001
N
F
D
C
B
01-line mode
15 x 10 dots
0display off
1cursor on
1blink on
Wait for more than 1.53ms
I/D
Entry mode set
RSRW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
00000001I/DSH0entire shift off
Initialization end
SH
0decrement mode
1increment mode
1entire shift on
VERSION : 412
DEM 16216 SYH-PYProduct specification
after V
rises to 4.5v
11-2 4-bit interface mode
Power on
Condition : fosc=270kHz
Wait for more than 30ms
DD
Function set12-line mode
RSRWDB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
000010XXXX05 x 7 dots
000010XXXX15 x 10 dots
00NFXXXXXX
Module is coated with a film to protect the display surface. Exercise care when
peeling off this protective film since static electricity may be generated.
Storage Precautions
When storing the LCD Modules, avoid exposure to direct sunlight or to the light of
fluorescent lamps. Keep the modules in bags designed to prevent static electricity
charging under low temperature / normal humidity conditions ( avoid high temperature /
high humidity and low temperatures below
).Whenever possible, the
Modules
should be stored in the same conditions in which they were shipped from our company.
16. LCD Modules Handling precautions
The display panel is made of glass. Do not subject it to a mechanical shock by dropping
it from a high place ,etc.
If the display panel is damaged and the liquid crystal substance inside it leaks out , do
not get any in your mouth . If the substance come into contact with your skin or clothes
promptly wash it off using soap and water.
Do not apply excessive force to the display surface or the adjoining areas since this may
cause the color tone to vary.
The polarizer covering the display surface of the LCD module is soft and easily scratched.
handle this polarize carefully
To prevent destruction of the elements by static electricity , be careful to maintain an
optimum work environment.
-Be sure to ground the body when handling the LCD Modules.
-Tools required for assembly, such as soldering irons, must be properly grounded.
-To reduce the amount of static electricity generated, do not conduct assembly and other
LCD
0°C
LCD
VERSION : 420
DEM 16216 SYH-PYProduct specification
Liquid crystals solidify at low temperature (below the storage temperature range)
leading to defective orientation of liquid crystal or the generation of air bubbles
(black or white). Air bubbles may also be generated if the module is subjected to
a strong shock at a low temperature.
If the
Modules have been operating for a long time showing the same display
patterns the display patterns may remain on the screen as ghost images and a
slight contrast irregularity may also appear. Abnormal operating status can be
resumed to be normal condition by suspending use for some time.
It should be noted that this phenomena does not adversely affect performance
reliability.
To minimize the performance degradation of the LCD Modules resulting from
caused by static electricity , etc . Exercise care to avoid holding the following
sections when handling the modules:
-Exposed area of the printed circuit board
-Terminal electrode sections
17. Others
LCD
VERSION : 421
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.