ETC SC802A

SC802A
VER2.1
SPECIFICATION OF SC802A
Akihabara Inc.
www.akiba-tech.com
Akihabara Inc. www.akiba-tech.com
Page 1 of 1
SC802A
VER2.1
CONTENT
1. General description --------------------------------------------------------------------------3
2. Maximum absolute limit---------------------------------------------------------------------3
3. Mechanical characteristics------------------------------------------------------------------3
a) Physical data
b) External dimensions
4. Electrical characteristics---------------------------------------------------------------------4
a) DC characteristics
b) AC characteristics
5. Operating Principles--------------------------------------------------------------------------6
a) Pin description
b) Block diagram
c) Instruction description
6. Operating Methods---------------------------------------------------------------------------13
a) Interface with MPU
b) Power supply
c) Operating example
Akihabara Inc. www.akiba-tech.com
Page 2 of 2
SC802A
VER2.1
1. General description
SC161A, a dot-matrix character LCD module, design for displaying 1 line 16 row characters. Character font
is 5X7 dots with cursor. The SC161A provides two types of interfaces to MPU: 4-bit and 8-bit interfaces.
SC161A can includes EL or LED backlight for custom design. The custom can design for color of EL or LED
backlight, viewing angle and LCD type.
2. Maximum absolute limit
Characteristics
Operating Voltage
Driver Supply Voltage
Input Voltage Range
Symbol
Ratings
Remark
VDD
-0.3V to +7.0V
VLCD
VDD - 12V to VDD + 0.3V
VIN
-0.3V to VDD + 0.3V
TA1
-10°C to+60°C
Normal temperature LCM
Operating Temperature
-20°C
to+60°C
Ta2
Wide temperature LCM
Storage Temperature
TSTO
-25°C to+70°C
Note: Stresses beyond those given in the Absolute Maximum Rating table may cause operational errors or
damage to the device.
3. Mechanical characteristics
a) Physical data
ITEM
Number of characters
Module size
Viewing area
Active area
Character size
Character pith
Approx. weight
Drive method
b) External dimensions
Unit
Standard value
8×2
40.0×35.50×7.5
30.40×14.20
25.74×9.48
2.78×4.49
3.75
Remark
mm
mm
mm
mm
mm
g
1/16 duty 1/5bias
40
37.7
36
0.5
1
2
3
4
5
6
7
8
9
10
11
R0.9x16
10.38
PITCH2.54x7=17.78
R0.5x16
2
16
1
15
0.5
30
23.3
3.5
14.2(V.A)
0.57
0.5
0.5
2.54
2
3.4
0.57
30.4(V.A)
12
13
14
15
16
R2.0x4
35.8
1.6
3.2
7.3
R1.25x4
VSS
VDD
V0
RS
R/W
E
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
SCALE:2:1
DigiT r on
DRAWN:
CHECKED:
CONFIRMED:
Akihabara Inc. www.akiba-tech.com
SC802A
DATE
REV.
05/08/2003
1.0
Page 3 of 3
UNIT:mm
SC802A
VER2.1
4. Electrical characteristics
a) DC characteristics
a.1) DC CHARACTERISTICS (TA =25 °C, VDD = 2.7 to 4.5V)
Characteristics
Symbol
Limit
Unit
Min.
Typ.
Max.
-
VDD
V
Input High Voltage
VIm
0.7VDD
Input Low Voltage
VlL
-0.3
0.55
V
Input High Current
IIh
-1.0
1.0
uA
Input Low Current
IlL
-5.0
-30
uA
Output High Voltage
Voh
0.75VDD -
-
V
Output Low Voltage
VOL
-
-
0.2VDD v
LCD Voltage
Vlcd
3
4.5v
13
Operating Current
Idd
-15
VDD = 3.0V
IOH =
- 0.1mA Pins: DB7-0
|OL= 0.1mA Pins: DB7-0
V
1.0
mA
Note: VDD = 3V
a.2) DC CHARACTERISTICS (TA = 25°C, VDD = 4.5 to 5.5V)
Characteristics
Symbol Limit
Min.
Test Condition
Typ.
Unit
Test Condition
Max.
Input High Voltage
VIm
2.2
VDD
V
Input Low Voltage
VlL
-0.3
0.6
V
Input High Current
IIh
-2.0
2.0
uA
Input Low Current
IlL
-20
-50
-100
uA
Output High Voltage
Voh
2.4
-
VDD
V
IOH = - 0.1mA Pins: DB7-0
Output Low Voltage
VOL
-
-
0.4
V
IOL= 0.1mA Pins: DB7-0
LCD Voltage
Vlcd
3
4.5
13
V
Operating Current
Idd
1.0
mA
Note: VDD = 5V
b) AC characteristics
b.1) AC CHARACTERISTICS (TA = 25°C, VDD = 2.7 to 4.5V)
Write Mode (Writing data from MPU to LCD module)
Characteristics
Symbol
Limit
Min.
VDD = 5.0V
Typ.
Unit
Test Condition
ns
PinE
Max.
E Cycle Time
tc
1000
E Pulse Width
tpw
450
-
-
ns
PinE
E Rise/Fall Time
tR,tF
-
-
25
ns
PinE
Address Setup Time
tsp-i
60
ns
Pins: RS, R/W, E
Address Hold Time
tHD1
20
ns
Pins: RS, R/W, E
Data Setup Time
tsP2
195
ns
Pins: DB7-0
Data Hold Time
tHD2
10
ns
Pins: DB7-0
Akihabara Inc. www.akiba-tech.com
-
-
Page 4 of 4
SC802A
VER2.1
Read Mode (Reading data from LCD module to MPU)
Limit
Characteristics
Symbol
Max.
Min.
Typ.
E Cycle Time
tc
1000
E Pulse Width
tw
450
E Rise/Fall Time
tR,tF
25
Address Setup Time
tsp-i
60
Address Hold Time
tHD1
20
Data Output Delay Time
tD
360
Data hold time
tHD2
5.0
b.2) AC CHARACTERISTICS (ta = 25°C, VDD = 4.5 to 5.5V)
Write Mode (Writing Data from MPU to LCD module)
Limit
Characteristics
Symbol
Min.
Typ.
Max.
E Cycle Time
tc
400
150
E Pulse Width
tpw
25
E Rise/Fall Time
tR,tF
30
Address Setup Time
tsp-i
tHD1
10
Address Hold Time
tsP2
40
Data Setup Time
10
Data Hold Time
tHD2
Read Mode (Reading Data from LCD module to MPU)
Limit
Characteristics
Symbol
Typ.
Min.
E Cycle Time
tc
400
E Pulse Width
tw
150
E Rise/Fall Time
tR,tF
tsp-i
30
Address Setup Time
Address Hold Time
tHD1
10
Data Output Delay Time
tD
Data hold time
tHD2
20
Akihabara Inc. www.akiba-tech.com
-
Unit
Test Condition
ns
ns
ns
ns
ns
ns
ns
PinE
PinE
PinE
Pins: RS, R/W,E
Pins: RS, R/W,E
Pins: DB7-0
Pin DB7- 0
Unit
Test Condition
ns
ns
ns
ns
ns
ns
PinE
PinE
PinE
Pins: RS, R/W, E
Pins: RS, R/W, E
Pins: DB7-0
ns
Pins: DB7-0
Unit
Test Condition
100
ns
ns
ns
ns
ns
ns
Pin E
Pin E
Pin E
Pins: RS, R/W,E
Pins: RS, R/W,E
Pins: DB7-0
-
ns
Pin DB7-0
-
Max.
25
Page 5 of 5
SC802A
VER2.1
TIMING CHARACTERISICS
R S
th 1
ts u 1
R /W
th 1
tw
tf
E
tr
ts u 2
th 2
V a lid D a ta
D B 0 ~ D B 7
tc
Write Timing
R S
th
ts u
R /W
th
tw
tf
E
tr
td h
td
V a lid D a ta
D B 0~D B 7
tc
Read Timing
5. Operating Principles
a) Pin description
Pin NO.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Symbol
VSS
VDD
V0
RS
R/W
E
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
Level
0V
2.7V~5.5V
H/L
H/L
H→L
H/L
H/L
H/L
H/L
H/L
H/L
H/L
H/L
Akihabara Inc. www.akiba-tech.com
Function
Ground
Supply voltage for logic
Variable voltage for LCD
H: Instruction code L: Data
H: Read signal L: Write signal
enable signal
Data bits
In case of
4 bits instruction, data is
transferred by twice using only 4 buses of D4
– D7 ,and D0 – D3 are not used , first
operation is higher order 4 bits and second
is lower 4 bits of 8 bits , but in case
of
8
bits
instruction
, data
is
transferred by data by data bus of D0 –
D7
Page 6 of 6
SC802A
VER2.1
b) Block Diagram
AC
IR
RS
R/W
E
D0-D3
D4-D7
I/O
B
U
F
F
E
R
D
E
C
O
D
E
R
DD RAM
Cursor
and
blink
CKT.
VSS
COM
Driving
Circuit
LCD
DR
CG
RAM
CG RAM
VDD
VO
Timing Control Circuit
Driving Circuit
BUSY
FLAG
P TO S registor
a. Data Register (DR): Dris a register used for temporary Storage of the data read/write form/into DD
RAM and CG RAM.
b. Instruction Register (IR): is a register available for storing the instruction codes and address
information of display data (DD) RAM and character generator (CG) RAM.
c. BUSY FLAG (BF): When the Busy Flag is “1”,it shows that LCM is in internal operation and it can
not accept the next instruction.
d. Character Generator (CG) ROM: This ROM Generates character pattern from 8-bit character code
and provides 192 character patterns.
e. Character Generator (CG)RAM: This RAM allows the user to rewrite the character patterns freely
according to the program.
f. Address Counter (AC): This address counter is used to give the address information of DD RAM
and CG RAM.
g. Display Data (DD) RAM: This display data RAM is used to store the display data expressed by 8-bit
character code . The capacity is 80x 8bits and data for 80 characters can be storage.
h. Cursor and Blink Control Circuit: This circuit generates the cursor and blink.
Akihabara Inc. www.akiba-tech.com
Page 7 of 7
SC802A
RAM's address and the LCD's position shown bellows.
Display Character address code:
Display position
1
2
3
4
5
6
DDRAM Address
VER2.1
7
8
00
01
02
03
04
05
06
07
40
41
42
43
44
45
46
47
Relationship between Character Code (DDRAM) and character Pattern (CGRAM)
Character code DD RAM Data
B7
0
0
B6
0
0
B5
0
0
B4
0
0
B3
x
x
B2
0
0
B1
0
0
CG RAM Address
B0
0
1
B5
0
0
B4
0
0
B3
Character Pattern CG RAM Data
B2
B1
B0
0
0
0
B4
B3
B2
B1
B0
0
1
1
1
1
1
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
1
0
0
1
0
0
0
B7
x
B6
x
B5
x
1
0
0
0
0
1
0
0
1
0
1
0
0
1
0
0
1
1
0
0
0
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
1
0
0
1
0
0
1
x
x
x
1
0
0
0
0
1
0
0
1
0
1
0
0
1
0
0
1
1
0
0
1
1
1
0
1
1
1
0
0
0
0
0
1. ▆ It means that the bit0~2 of the character code correspond to the bit3~5 of the CG RAM address.
2. ▆ these areas are not used for display, but can be used for the general data RAM.
3. When all of the bit4-7 of the character code is 0, CG RAM character patterns are selected.
4. " 1 ": Selected," 0 ": No selected," X": Do not care (0 or 1).
5. for example (1), to set character code (b2 = b1 = b0 = 0, b3 = 0 or 1, b7-b4 = 0) is to display" T". That
means character code (00)16, and (08)16 can display" T” character.
6. The bits 0-2 of the character code RAM is character pattern line position. The 8th line is the cursor
position and display is formed by logical OR with the cursor
Akihabara Inc. www.akiba-tech.com
Page 8 of 8
SC802A
VER2.1
CGROM Character Code Table:
Upper
4bit
Lower
4bit
LLLL LLLH LLHL LLHH LHLL LHLH LHHL LHHH HLLL HLLH HLHL HLHH HHLL HHLH HHHL HHHH
LLLL
CG
RAM
(1)
LLLH
(2)
LLHL
(3)
LLHH
(4)
LHLL
(5)
LHLH
(6)
LHHL
(7)
LHHH
(8)
HLLL
(1)
HLLH
(2)
HLHL
(3)
HLHH
(4)
HHLL
(5)
HHLH
(6)
HHHL
(7)
HHHH
(8)
Akihabara Inc. www.akiba-tech.com
Page 9 of 9
SC802A
VER2.1
c) Instruction description
Control and display instructions will show in details as following:
c.1) Clear Display
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0
0
0
0
0
0
0
0
0
1
It clears the whole display and sets display data RAM's address 0 in address counter.
c.2) Return Home
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0
0
0
0
0
0
0
0
1
X
X: Do not care (0 or 1)
It sets display data RAM's address 0 in address counter and display returns to its original position. The cursor or blink goes to the
display (to the 1st line if 2 lines are displayed). The contents of the Display Data RAM do not change.
c.3) Entry Mode Set
During writing and reading data, it sets cursor move direction and shifts the display.
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0
0
0
0
0
0
0
1
I/D
S
I/ D = 1: Increment, I / D = 0: Decrement. S = 1: The display shift,
S = 0: The display does not shift
S= 1
I/D= 1
It shifts the display to the left
S= 1
I/D=0
It shifts the display to the right
c.4) Display On/Off Control
RS
0
R/W
0
D7 D6 D5
D4 D3 D2
0
0
0
0
1
D
D1 D0
C
B
D = 1: Display on, D = 0: Display off C = 1: Cursor on , C = 0: Cursor off
B = 1: Blinks on, B= 0: Blinks off
c.5) Cursor or Display Shift
Without changing DD RAM's daters, it can move cursor and shift display
RS
R/W D7 D6 D5 D4 D3 D2 D1 D0
0
0
0
0
0
1
S/C R/L X
X
S/C
R/L
Description
Address Counter
0
0
Shift cursor to the left
AC = AC - 1
0
1
Shift cursor to the right
AC = AC + 1
1
0
Shift display to the left. Cursor follows the display shift
AC=AC
1
1
Shift display to the right. Cursor follows the display shift
AC=AC
c.6) Function Set
RS
R/W D7 D6 D5 D4 D3 D2 D1 D0
0
0
0
0
1
DL N
F
X
X
X: Do not care (0 or 1)
DL: It sets interface data length.
DL = 1: Datas are transferred with 8-bit lengths (DB7 - 0).DL = 0: Datas are transferred with 4-bit lengths (DB7 - 4).
(It needs two times to transfer datas) N: It sets the number of the display line. N = 0: One-line display. N = 1: Two-line display. F:
F = 1: 5 x 10 dots character font.
N
F
No. of Display Lines
Character Font
Duty Factor
0
0
1
5X7 dots
1 /8
0
1
1
5x 10 dots
1 /11
1
X
2
5x7 dots
1 /16
Akihabara Inc. www.akiba-tech.com
Page 10 of 10
SC802A
VER2.1
c.7) Set Character Generator RAM Address
RS
R/W D7 D6 D5 D4 D3 D2 D1 D0
0
0
0
1
a
a
a
a
a
a
It sets character generator RAM address (aaaaaa)2 to the address counter. Character generator RAM data can read or
write after this setting.
c.8) Set Display Data RAM Address
RS
R/W D7 D6 D5 D4 D3 D2 D1 D0
0
0
1
a
a
a
a
a
a
a
It sets display data RAM address (aaaaaaa)2 to the address counter.
Display data RAM can read or write after this setting.
In one-line display (N = 0), (aaaaaaa)2; (OO)16 - (4F)16
In two-line display (N = 1), (aaaaaaa)2: (00)16 - (27)16,gfor the first line,
(aaaaaaa)2: (40)16 - (67)16,gfor the second line.
c.9) Read Busy Flag and Address
RS
R/W D7 D6 D5 D4 D3 D2 D1 D0
0
1
BF
a
a
a
a
a
a
a
When (BF = 1) indicates that the system is busy now, it will not accept any instruction until no busy (BF = 0). At the
same time, the address counter content’s (aaaaaaa)2; is read out.
c.10) Write Data to Character Generator RAM or Display Data RAM
RS
R/W D7 D6 D5 D4 D3 D2 D1 D0
1
0
d
d
d
d
d
d
d
d
It writes data (dddddddd)2 to character generator RAM or display data RAM.
c.11) Read Data from Character Generator RAM or Display Data RAM
RS
R/W D7 D6 D5 D4 D3 D2 D1 D0
1
1
d
d
d
d
d
d
d
d
It reads data (dddddddd)2 from character generator RAM or display data RAM. To get the correct data readout is
shown below:
(ⅰ)Set the address of the character generator RAM or display data RAM or shift the cursor instruction.
(ii) Send the “Read “instruction.
Akihabara Inc. www.akiba-tech.com
Page 11 of 11
SC802A
Instruction table
Instruction Code
Instruction RS RW D7 D6 D5
VER2.1
Execution time
(fosc=270KHz)
D4
D3
D2
D1
D0
Description
Write "20H" to DDRAM and 1.52ms
set DDRAM address to
"OOH" from AC
Set DDRAM address to
1.52ms
"OOH" from AC and return
cursor to its original
position if shifted. The
contents of DDRAM are
not changed.
Clear
Display
0
0
0
0
0
0
0
0
0
1
Return
Home
0
0
0
0
0
0
0
0
1
-
Entry
0
Mode
Set
Display
0
ON/
OFF
Cursor or 0
Display
Shift
0
0
0
0
0
0
1
I/D
S
0
0
0
0
0
1
D
C
B
0
0
0
0
1
S/C R/L -
-
DL
N
-
F
38us
38us
38us
38us
Function
Set
0
0
0
0
1
Set
CGRAM
Address
Set
DDRAM
Address
Read
Busy
Flag and
Address
Counter
0
0
0
1
AC5 AC4 AC3 AC2 AC1 ACO Set CGRAM address in
address counter.
38us
0
0
1
AC6 AC5 AC4 AC3 AC2 AC1 ACO Set DDRAM address in
counter
38us
0
1
BF AC6 AC5 AC4 AC3 AC2 AC1 ACO Whether during internal
operation or not can be
known by reading BF.
The contents of address
counter can also be read.
38us
Write Data 1
to
RAM
Read Data 1
from RAM
0
D7 D6
D5
D4
D3
D2
D1
DO
Write data into internal
RAM (DDRAM/CGRAM).
38us
1
D7 D6
D5
D4
D3
D2
D1
DO
Read data from internal
RAM (DDRAM/CGRAM).
38us
Akihabara Inc. www.akiba-tech.com
-
Assign cursor moving
direction and enable the
shift of entire display
Set display(D), cursor(C),
and blinking of cursor(B)
on/off control bit.
Set cursor moving and
display shift control bit,
and the direction, without
changing of DDRAM data.
Set interface data length
(DL: 8-bit/4-bit), numbers
of display line (N: 2-line/1line) and, display font type
(F:5x10dots/5x8dots)
Page 12 of 12
SC802A
VER2.1
6. Operating Methods
a) Interface with MPU
RS
A0
7
A 1 -A 7
MUX
Z80
In te rfa c e to Z 8 0 C P U
/W R
/R D
C
Q
D
R
E
LCM
/IR Q
RW
8
D 0 -D 7
D 0 -D 7
E
E
I n te r f a c e to M C 6 8 0 0 C P U
RS
A0
LCM
M C 6800
RW
/R D
8
D 0 -D 7
A 14
D 0 -D 7
RS
A 15
E
/R D
/W R
I n te r f a c e to M C S 5 1 C P U
LCM
M C S51
D 0 -D 7
Akihabara Inc. www.akiba-tech.com
RW
8
D 0 -D 7
Page 13 of 13
SC802A
VER2.1
b) Power supply
Single Supply Voltage Types
Dual Supply Voltage Types
5V
+3V
VDD
VDD
VDD
VDD-VO
VDD-V0
VDD
LCM
VO
LCM
10k~20k
VSS
0
0
1
1
0
0
X
X
Display on. Cursor appears.
Display on / off control
3
0
0
0
0
0
0
1
1
1
0
Entry mode set
4
0
0
0
0
0
0
0
1
0
0
1
0
1
0
_
_
1
1
0
Write data to CG RAM / DD RAM
5
1
1
W_
1
Write data to CG RAM / DD RAM
WE_
6
1
0
0
1
0
0
1
0
1
•••
7
1
0
1
0
0
0
0
0
1
0
1
0
Entry mode set
0 0 0 0 0 1
1
1
Write data to CG RAM / DD RAM
10
1
0
0
0
1
0
Increase address by one. It will
shift the cursor to the right when
writing to the DD RAM / CG
RAM. Now the display has no
shift.
Write “W". The cursor is
incremented by one and shifted
to the right.
Write “E ". The cursor is
incremented by one and shifted
to the right.
••••
Write data to CG RAM / DD RAM
8
9
0
Operation
Power on reset. No display.
Set to 8-bit operation and select
1-line display line and character
font.
Function set
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0
VEE
VDD-VO:LCD driving voltage
c) Operating example
8-Bit operation and 8-digit 1-line display (using internal reset)
No Instruction
Display
1 Power on . ( SPLC780A1 starts initializing )
0
10k~20k
VSS
GND
VDD-VO:LCD driving voltage
2
VO
0
0
0
0
Akihabara Inc. www.akiba-tech.com
WELCOME_
WELCOME_
ELCOME_
Write “E ". The cursor is
incremented by one and shifted
to the right.
Set mode for display shift when
writing
Write" "(space). The cursor is
incremented by one and shifted
to the right.
Page 14 of 14
SC802A
Write data to CG RAM / DD RAM
11
1
0
0
1
0
12
16
17
18
19
0
0
1
0
1
LCOME C
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
X
0
0
1
0
0
1
1
X
0
0
0
0
1
1
1
1
0
0
0
0
1
0
1
X
0
0
1
0
0
0
0
X
0
COMPAMY
Only shift the cursor's position to
the left (M).
OMPANY
Write “N ". The display moves to
the left.
COMPANY
Shift the display and the cursor's
position to the right.
COMPANY
Shift the display and the cursor's
position to the right.
OMPANY
Write " " (space). The cursor is
incremented by one and shifted
to the right
X
X
Write data to CG RAM / DD RAM
1
Only shift the cursor's position to
the left (Y).
0
cursor or display shift
0
COMPAMY
X
cursor or display shift
0
Write " Y " . The cursor is
incremented by one and shifted
to the right.
X
Write data to CG RAM / DD RAM
1
COMPAMY
1
cursor or display shift
0
0
•••••
••
return home
0
0
0
0
0
0
0
0
1
WELCOME
0
4-Bit operation and 8-digit 1-line display (using internal reset)
No Instruction
Display
1 Power on . ( SPLC780A1 starts initializing )
Function set
RS R/W D7 D6 D5
D4
2
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
X
X
Display on / off control
4
0
0
0
0
0
0
0
1
1
1
0
0
Entry mode set
5
0
0
0
0
0
0
0
0
1
1
0
0
Write data to CG RAM / DD RAM
6
1
0
0
1
0
1
1
0
0
1
1
1
Akihabara Inc. www.akiba-tech.com
Both the display and the cursor
return to the original position
(address 0).
Operation
Power on reset. No display.
Set to 4-bit operation
Set to 4-bit operation and select
1-line display line and character font.
Function set
3
Write “C ". The cursor
incremented by one and shifted
the right.
••
Cursor Or Display Shift
20
21
0
Write data to CG RAM / DD RAM
1
15
0
•••••
13
14
0
VER2.1
_
Display on. Cursor appears.
_
Increase address by one. It will shift
the cursor to the right when writing to
the DD RAM / CG RAM. Now the
display has no shift.
W_
Write “W “. The cursor is
incremented by one and shifted to
the right.
Page 15 of 15
SC802A
VER2.1
Reset function
At power on, it starts the internal auto-reset circuit and executes the initial instructions .
There are the initial procedures shown as bellows:
Power on
8bits interface
Waite time > 15ms after VDD>4.5V
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 1 1 X X X X
BF cannot be checked before this instruction
Function set (interface is 8 bits length).
Wait time > 4.1ms
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 1 1 X X X X
BF cannot be checked before this instruction
Function set (interface is 8 bits length).
Wait time > 100us
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 1 1 X X X X
RS R/W D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 1 1 N F X X
0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 1 I/D S
Initialization end
Akihabara Inc. www.akiba-tech.com
BF cannot be checked before this instruction
Function set (interface is 8 bits length).
BF cannot be checked after the following
Instructions
Function set (interface is 8 bits length. specify
The number of display lines and character
Font .) The number of display lines and
character cannot be changed afterwards.
Display off
Display clear
Entry mode set
Page 16 of 16
SC802A
Power on
VER2.1
4bits interface
Waite time > 15ms after VDD>4.5V
RS
0
R/W D7 D6 D5 D4
0
0
0
1 1
BF cannot be checked before this instruction
Function set (interface is 8 bits length).
Wait time > 4.1ms
RS
0
R/W D7 D6 D5 D4
0
0
0
1 1
BF cannot be checked before this instruction
Function set (interface is 8 bits length).
Wait time > 100us
RS
0
R/W D7 D6 D5 D4
0
0
0
1 1
BF cannot be checked before this instruction
Function set (interface is 8 bits length).
RS
0
0
0
0
0
0
0
0
0
R/W
0
0
0
0
0
0
0
0
0
BF cannot be checked after the following
Instructions
Function set (set interface to be 4 bits length)
Interface 8 bits length
Function set (interface is 8 bits length. specify
The number of display lines and character
Font.) The number of display lines and
character cannot be changed afterwards.
Display off
Display clear
Entry mode set
D7
0
0
N
0
1
0
0
0
0
D6
0
0
F
0
0
0
0
0
1
D5
1
1
X
0
0
0
0
0
I/D
D4
0
0
X
0
0
0
1
0
S
Initialization end
Akihabara Inc. www.akiba-tech.com
Page 17 of 17