Professional Documents
Culture Documents
Dot-Matrix
LCD Units
(with built-in controllers)
LIFE SUPPORT POLICY
SHARP components should not be used in medical devices with life support functions or in safety equipment (or similiar
applications where component failure would result in loss of life or physical harm) without the written approval of an
officer of the SHARP Corporation.
LIMITED WARRANTY
SHARP warrants to its Customer that the Products will be free from defects in material and workmanship under normal
use and service for a period of one year from the date of invoice. Customer’s exclusive remedy for breach of this warranty
is that SHARP will either (i) repair or replace, at its option, any Product which fails during the warranty period because
of such defect (if Customer promptly reported the failure to SHARP in writing) or, (ii) if SHARP is unable to repair or
replace, refund the purchase price of the Product upon its return to SHARP. This warranty does not apply to any Product
which has been subjected to misuse, abnormal service or handling, or which has been altered or modified in design or
construction, or which has been serviced or repaired by anyone other than Sharp. The warranties set forth herein are in
lieu of, and exclusive of, all other warranties, express or implied. ALL EXPRESS AND IMPLIED WARRANTIES,
INCLUDING THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR USE AND FITNESS FOR A PARTICULAR
PURPOSE, ARE SPECIFICALLY EXCLUDED. In no event will Sharp be liable, or in any way responsible, for any
incidental or consequential economic or property damage.
The above warranty is also extended to Customers of Sharp authorized distributors with the following exception: reports
of failures of Products during the warranty period and return of Products that were purchased from an authorized
distributor must be made through the distributor. In case Sharp is unable to repair or replace such Products, refunds will
be issued to the distributor in the amount of distributor cost.
SHARP reserves the right to make changes in specifications at any time and without notice. SHARP does not assume
any responsibility for the use of any circuitry described; no circuit patent licenses are implied.
Contents
PREFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . 3
OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . 3
HARDWARE . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Interface Signals . . . . . . . . . . . . . . . . . . . . . 4
Functional Blocks . . . . . . . . . . . . . . . . . . . . . 4
Microprocessor Interface . . . . . . . . . . . . . . . . 11
Reset Function . . . . . . . . . . . . . . . . . . . . . 12
INSTRUCTIONS . . . . . . . . . . . . . . . . . . . . . . . 15
General Information . . . . . . . . . . . . . . . . . . . 15
Description of Instruction . . . . . . . . . . . . . . . . 15
ELECTRICAL CHARACTERISTICS . . . . . . . . . . . . . 19
Absolute Maximum Ratings . . . . . . . . . . . . . . . 19
Electrical Characteristics . . . . . . . . . . . . . . . . 19
Timing Characteristics . . . . . . . . . . . . . . . . . . 19
Power Conditions for Internal Reset . . . . . . . . . . . 20
HANDLING INSTRUCTIONS . . . . . . . . . . . . . . . . 28
OPERATING RESTRICTIONS . . . . . . . . . . . . . . . 29
PREFACE
The Sharp dot-matrix LCD units, with built-in con- The LCD unit provides the user with a dot-matrix
trollers, operate under the control of a 4-bit or 8-bit display panel featuring simple interface circuitry.
microcomputer to display alphanumeric characters,
symbols, etc.
Table 1.
Dot-Matrix LCD Unit with Built-In Controllers
180%(5 2) ',63/$<
02'(/ 12
&+$5$&7(56 )250$7
/0;;; × × GRWV
/0;;; × × GRWV
/0;;; × × GRWV
/0;;; × × GRWV
FEATURES OVERVIEW
• Interface with either 4-bit or 8-bit The LCD unit receives character codes (8 bits per
microprocessor. character) from a microprocessor or microcomputer,
latches the codes to its display data RAM (80-byte
• Display data RAM DD RAM for storing 80 characters), transforms each
character code into a 5 × 7 dot-matrix character
• 80 × 8 bits (80 characters).
pattern, and displays the characters on its LCD
• Character generator ROM screen.
• 160 different 5 × 7 dot-matrix character The LCD unit incorporates a character generator
patterns. ROM which produces 160 different 5 × 7 dot-matrix
character patterns. The unit also provides a char-
• Character generator RAM acter generator RAM (64 bytes) through which the
user may define up to eight additional 5 × 7 dot-ma-
• 8 different user programmed 5 × 7 trix character patterns, as required by the applica-
dot-matrix patterns. tion.
• Display data RAM and character generator To display a character, positional data is sent via
RAM may be accessed by the the data bus from the microprocessor to the LCD
microprocessor. unit, where it is written into the instruction register.
A character code is then sent and written into the
• Numerous instructions data register. The LCD unit displays the correspond-
• Clear Display, Cursor Home, Display ing character pattern in the specified position. The
LCD unit can either increment or decrement the
ON/OFF, Cursor ON/OFF, Blink Character,
display position automatically after each character
Cursor Shift, Display Shift. entry, so that only successive characters codes
• Built-in reset circuit is triggered at power need to be entered to display a continuous character
ON. string. The display/cursor shift instruction allows the
entry of characters in either the left-to-right or right-
• Built-in oscillator. to-left direction. Since the display data RAM (DD
RAM) and the character generator RAM (CG RAM)
many be accessed by the microprocessor, unused
portions of each RAM may be used as general
purpose data areas. The LCD unit may be operated
with either dual 4-bit or single 8-bit data transers, to
accommodate interfaces with both 4-bit and 8-bit
microprocessors. The low power feature of the LCD
unit will be further appreciated when combined with
a CMOS microprocessor.
HARDWARE
Interface Signals
Table 2. Interface Signals
(;7(51$/
6,*1$/ 1$0( ,1387287387 )81&7,21
&211(&7,21
5: ,QSXW 038 5HDGZULWH VHOHFW VLJQDO :ULWLQJ 5HDGLQJ
'% '% ,QSXW2XWSXW 038 +LJKRUGHU OLQHV RI GDWD EXV ZLWK WKUHHVWDWH ELGLUFWLRQDO IXQFWLRQ IRU XVH LQ GDWD
WUDQVDFWLRQV ZLWK WKH 038 '% PD\ DOVR EH XVHG WR FKHFN WKH EXV\ IODJ
'% '% ,QSXW2XWSXW 038 /RZRUGHU OLQHV RI GDWD EXV ZLWK WKUHHVWDWH ELGLUHFWLRQDO IXQFWLRQ IRU XVH LQ GDWD
7KHVH OLQHV DUH QRW XVHG ZKHQ LQWHUIDFLQJ ZLWK D ELW PLFURSURFHVVRU
Functional Blocks
Registers current operation. The data register is also used as
a temporary storage area when reading data from
The LCD unit has two 8-bit registers - an instruc- the display data RAM or character generator RAM.
tion register (IR) and a data register (DR). The When address information is written into the instruc-
instruction register stores instruction codes such as tion register, the corresponding data from the display
"clear display" or "shift cursor", and also stores data RAM or character generator RAM is moved to
address information for the display data RAM and the data register. Data transfer is completed when
character generator RAM. The IR can be accessed the microprocessor reads the contents of the data
by the microprocessor only for writing. register by the next instruction. After the transfer is
The data register is used for temporarily storing completed, data from the next address position of
data during data transactions with the microproces- the appropriate RAM is moved to the data register,
sor. When writing data to the LCD unit, the data is in preparation for subsequent reading operations by
initially stored in the data register, and is then auto- the microprocessor. One of the two registers is
matically written into either the display data RAM or selected by the register select (RS) signal.
character generator RAM, as determined by the
Table 3. Register Selection
56 5: 23(5$7,21
:ULWH WR LQVWUXFWLRQ UHJLVWHU DQG H[HFXWH LQWHUQDO RSHUDWLRQ FOHDU GLVSOD\ HWF
:ULWH WR GDWD UHJLVWHU DQG H[HFXWH LQWHUQDO RSHUDWLRQ '5 → '' 5$0 RU '5 → &* 5$0
5HDG GDWD UHJLVWHU DQG H[HFXWH LQWHUQDO RSHUDWLRQ '' 5$0 → '5 RU &* 5$0 → '5
also determines which of the two RAM’s is to be The addresses for the second line are not con-
selected. tinuous to the addresses for the first line. A 40-char-
After data has been written to or read from the acter RAM area is assigned to each of the two line
display data RAM or character generator RAM, the as follows:
address counter is automatically incremented or line 1: 00H - 27H
decremented by one. The contents of the address
counter are output on data lines DB0 - DB6 in line 2: 40H - 67H
response to the register selection signals RS = 0, For an LCD unit with a display capacity of less
R/W = 1 as shown in Table 3. than 40 characters per line, characters equal in
Display Data RAM (DD RAM) number to the display capacity, as counted from
display position 1, are displayed.
This 80 x 8 bit RAM stores up to 80 8-bit character
codes as display data. The unused area of the RAM b. Address type b . . . .For single-line display with
may be used by the microprocessor as a general logically dual-line addressing
purpose RAM area. Digit Display Position
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
The display data RAM address, set in the address Line 00 01 02 03 04 05 06 07 40 41 42 43 44 45 46
H H H H H H H H H H H H H H H 47H
counter, is expressed in hexadecimal (HEX) num- 1
EL EL
back- Inverter 5V
light (See note 2)
Display
LED Data
Segment
back- Signals 4
LCD Electrode
light Panel Drive
Circuit
Scanning
Signals 3
VLED VLSS
Common
Electrode
Drive 4
Circuit
3
3
7
Cursor/Blink
Timing 7 Controller
Generator
7 Character
8 Generator
Display Data ROM
7 RAM 8 (CG ROM)
Address (DD RAM) 7,200 bits
Counter 7 80 x 8 bits
(AC) 5 Parallel-to-Serial
8 Converter
5 6
7 7 Character
8 Generator
ROM
(CG ROM)
Instruction
512 bits
Decoder
7
8
I/O Buffer
4 4
VDD VO VSS
NOTES:
1. LM16152 incorporates a temperature compensation circuit
within the bias voltage generator. See table 12.
2. For the inverters of EL backlights, please contact your
representative.
LCD27-6
HIGH-ORDER
4 BIT
LOW- 0000 0010 0011 0100 0101 0110 0111 1010 1011 1100 1101 1110 1111
ORDER 4 BIT
CG
xxxx0000 RAM
(1)
(2)
xxxx0001
(3)
xxxx0010
(4)
xxxx0011
(5)
xxxx0100
(6)
xxx0101
(7)
xxx0110
(8)
xxxx0111
xxxx1000 (1)
(2)
xxxx1001
(3)
xxxx1010
(4)
xxxx1011
(5)
xxxx1100
xxxx1101 (6)
xxxx1110 (7)
xxxx1111 (8)
NOTES:
1. The CG RAM generates character patterns in accordance with the user's program.
2. Shaded areas indicate 5 x 10 dot character patterns.
High-Order
Low- 4 bit 0000 0010 0011 0100 0101 0110 0111 1010 1011 1100 1101 1110 1111
Order 4 bit
CG
× × × ×0 0 0 0 0 @ P \ p α p
RAM
(1)
× × × ×0 0 0 1 (2) ! 1 A Q a q ä q
× × × ×0 0 1 0
(3) " 2 B R b r β θ
× × × ×0 0 1 1 (4) # 3 C S c s ε ∞
× × × ×0 1 0 0 (5) $ 4 D T d t µ Ω
× × × ×0 1 0 1 (6) % 5 E U e u σ ü
× × × ×0 1 1 0
(7) & 6 F V f v ρ Σ
× × × ×0 1 1 1 (8) ’ 7 G W g w π
× × × ×1 0 0 0 (1) ( 8 H X h x √ x
(2) ) _1
× × × ×1 0 0 1 9 I Y i y y
× × × ×1 0 1 0 (3) : J Z j z j
*
× × × ×1 0 1 1 (4) + ; K [ k { x
(5) < L ¥ 1 | ¢
× × × ×1 1 0 0 ’
× × × ×1 1 0 1 (6) - = M ] m } £ ÷
× × × ×1 1 1 0 (7) . > N ^ n → n
× × × ×1 1 1 1 (8) / ? O _ o ← ö
7 6 5 4 3 2 1 0 5 4 3 2 1 0 7 6 5 4 3 2 1 0
0 0 0 * * * 1 1 1 1 0
0 0 1 1 0 0 0 1
Sample
0 1 0 1 0 0 0 1 Character
0 0 0 0 * 0 0 0 0 0 0 0 1 1 1 1 1 1 0 Pattern
(1)
1 0 0 1 0 1 0 0
1 0 1 1 0 0 1 0
1 1 0 1 0 0 0 1
1 1 1 Cursor
* * * 0 0 0 0 0
Position
0 0 0 * * * 1 0 0 0 1
0 0 1 0 1 0 1 0
Sample
0 1 0 1 1 1 1 1
Character
0 0 0 0 * 0 0 1 0 0 1 0 1 1 0 0 1 0 0 Pattern
(2)
1 0 0 1 1 1 1 1
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 0 1
1 1 1
0 0 0 0 * 1 1 1 1 0 0
1 0 1
1 1 0
1 1 1
* * *
NOTES:
1. Character code bits 0 - 2 correspond to CG RAM address bits 4. As shown in tables 4 and 5, character patterns in the CG RAM
3 - 5. Each of the 8 unique bit strings designates one of the 8 are accessed by character codes with bits 4 - 7 equal to '0'. For
character patterns. example, the character pattern 'R', shown in the first sample
2. CG RAM address bits 0 - 2 designate the row position of each character pattern of the table, is selected by the character code
character pattern. The 8th row is the cursor position. CG RAM '00' (HEX) or '08' (HEX), since bit 3 of the character code is a
data in the 8th row is OR'ed with the display cursor. Any '1' don't care" bit (i.e., can take either value, '00' or '1').
bits in the 8th row will result in a displayed dot regardless of the 5. CG RAM data '1' produces a dark dot, and data '0' produces a
cursor status (ON/OFF). Accordingly, if the cursor is to be light dot in the corresponding position on the display panel.
used, CG RAM data for the 8th row should be set to '0'. 6. * = Signifies a "don't care" bit
3. CG RAM data bits 0 - 4 correspond to the column position of
each character pattern bit 4 corresponding to the left most
column of the character pattern. CG RAM data bits 5 - 7 are
not used for displaying character patterns, but may be used as
a general purpose RAM area.
LCD27-8
RS
R/W
LCD27-9
Initialization by Instructions
If the power conditions for the normal operation
of the internal reset circuit are not satisfied (see
Table 11), then LCD unit must be initialized by
executing a series of instructions. The procedure
for this initialization process is as follows:
Power ON
Wait 15 ms or more
after VDD reaches 4.5 V
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Busy flag can't be checked before execution of this
instruction
0 0 0 0 1 1 * * * * Function Set (8-Bit Interface)
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Busy flag can't be checked before execution of this
instruction
0 0 0 0 1 1 * * * * Function Set (8-Bit Interface)
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Busy flag can't be checked before execution of this
instruction
0 0 0 0 1 1 * * * * Function Set (8-Bit Interface)
End of Initialization
LCD21-10
4-Bit Interface
Power ON
Wait 15 ms or more
after VDD reaches 4.5 V
RS R/W DB7 DB6 DB5 DB4 Busy flag can't be checked before execution of this
instruction
0 0 0 0 1 1
Function Set (8-Bit Interface)
RS R/W DB7 DB6 DB5 DB4 Busy flag can't be checked before execution of this
instruction
0 0 0 0 1 1
Function Set (8-Bit Interface)
RS R/W DB7 DB6 DB5 DB4 Busy flag can't be checked before execution of this
instruction
0 0 0 0 1 1
Function Set (8-Bit Interface)
End of Initialization
LCD21-11
INSTRUCTIONS
General Information Description of Instruction
When the LCD unit is controlled by an external Display Clear
microprocessor, the only registers which can be
RS R/W DB7 DB0
directly accessed by the microprocessor are the CODE 0 0 0 0 0 0 0 0 0 1
instruction register (IR) and data register (DR). Con-
trol information is buffered to allow the LCD unit to The display data RAM is filled with the "space"
interface with various microprocessors and periph- code, 20H. The address counter is reset to zero. If
eral control devices with different operating speeds. the display has been shifted, the original position is
The internal operation of the LCD unit is determined restored. By execution of this instruction, the dis-
by the signals sent from the external microproces- play goes off, and the cursor and character blink
sor. These signals include the register select (RS) functions, if activated, are moved to the upper, left-
signal, the read/write (R/W) signal, and the data bus most display position.
(DB0 - DB7) signals.
Display/Cursor Home
Table 7 lists the instructions available to the LCD
RS R/W DB7 DB0
unit, with their execution times. The instructions fall
CODE 0 0 0 0 0 0 0 0 1 *
into the following four categories.
NOTE: * = Don't Care
1. Instructions for setting LCD unit functions, such
as display format and data length The address counter is reset to zero. If the dis-
play has been shifted, the original position is re-
2. Instructions for addressing the internal RAM’s stored. The content of the DD RAM is not affected.
The cursor and character blink functions, if acti-
3. Instructions for transferring data to or from the vated, are moved to the upper, leftmost display
internal RAM’s position.
4. Other instructions Entry Mode Set
RS R/W DB7 DB0
In normal operation, instructions from category CODE 0 0 0 0 0 0 0 0 I/D S
(3) are used most frequently. The internal RAM
address may be incremented or decremented auto- I/D: The address counter is incremented (I/D = 1) or
matically after each data transaction, to reduce the decremented (I/D = 0) by one, following the
programming requirements of the microprocessor. reading or writing of each display data RAM
The display may also be shifted automatically after character code. The cursor and character blink
each display data write (see Sample Instruction functions move one display position to the right
Procedures section for examples). These features (I/D = 1) or left (I/D = 0). The same operation
facilitate the construction of efficient systems. takes place when data is written to or read from
the character generator RAM.
During the internal execution of an instruction, no
instruction other than the "busy flag/address counter S: When S = 1, the entire display is shifted one
read" instruction will be accepted. During internal position to the left (I/D = 1) or right (I/D = 0)
operation the busy flag is set to "1". It is necessary following the writing of a display data RAM
for the microprocessor to check that the busy flag is character code. The cursor and character blink
reset to "0" before sending the next instruction. functions do not move relative to the display
position. When S = 0, the display is not shifted.
NOTE The display is not shifted when writing data to
Either the microprocessor must check that the busy flag the character generator RAM.
is not set to "1" before sending each instruction, or the
interval waited before sending each instruction must be
made sufficiently longer than the execution time of the
previous instruction. For the execution time of each
instruction, see Table 7.
Display ON/OFF The display and/or cursor are shifted to the right
or left. For two-line displays, the cursor moves from
RS R/W DB7 DB0
the 40th position of the top line to the first position of
CODE 0 0 0 0 0 0 1 D C B
the second line. From the 40th position of the
D: When D = 1, the display is turned on. second line, the cursor does not move back to the
home position, but rather to the first position of the
When D = 0, the display is turned off with the second line.
display data retained in the display data RAM.
6& 5/
block. For 5 × 10 dot-matrix character blocks, 5 NOTE: When the display is shifted, the address counter is
dots are displayed across the 11th row. not affected.
409.6 ms and blanked for 409.6 ms. The cursor DL: Selects the interface data length. When DL = 1,
may be used simultaneously with the character 8-bit data transfers are used. When DL = 0, 4-bit
blink function. (Blink frequency varies in propor- data transfers are used.
tion to the reciprocal of fCP or fOSC.
409.6 × 250/270 = 379.2 ms; fCP = 270 kHz.) NOTE
When using a 4-bit data length, two transfer operations
are needed to transfer a complete data word to or from
the external micoprocessor.
Display/Cursor Shift
RS R/W DB7 DB0
CODE 0 0 0 0 0 1 S/C R/L * *
NOTE: * = Don't Care
CODE 0 0 0 1 A A A A A A CODE 1 0 D D D D D D D D
The address counter is loaded with a character An 8-bit data word is written into either the char-
generator RAM address, expressed as a 6-digit acter generator RAM or display data RAM, as de-
binary number. Following the execution of this in- termined by the most recently executed address set
struction, subsequent data transactions will be be- instruciton. The data is written into the RAM location
tween the external microprocessor and the specified by the address counter. After the data is
character generator RAM. written into the RAM, the address counter is either
incremented or decremented by one, as determined
DD RAM Address Set by the current entry mode. A display shift may also
RS R/W DB7 DB0 take place after the data is written.
CODE 0 0 1 A A A A A A A
CG RAM/DD RAM Data Read
The address counter is loaded with a display data RS R/W DB7 DB0
RAM address, expressed as a 7-digit binary num- CODE 1 1 D D D D D D D D
ber. Following the execution of this instruction, sub-
sequent data transactions will be between the An 8-bit data word is read from either the charac-
external microprocessor and the display data RAM. ter generator RAM or display data RAM, as deter-
For N = 0 (single line display), the binary number, mined by a previously executed address set
ADD may have a value ranging from 00H to 4FH. For instruction. The data is read from the RAM location
N = 1 (dual line display), the binary number, ADD, specified by the address counter.
may have a value ranging from 00H to 27H for the This instruction must be immediately preceded by
first line, or 40H to 67H for the second line. the CG RAM address set instruction, the DD RAM
address set instruction, the cursor shift instruction,
Busy Flag/Address Counter Read or a previous CG RAM/DD RAM data read instruc-
RS R/W DB7 DB0 tion. Any other preceding instruction will cause in-
CODE 0 1 BF A A A A A A A1 valid data to be read. The address set instructions
cause the address counter to be loaded with a valid
The busy flag (BF) is read out, and indicates data read address.
whether or not the LCD unit is still executing the
The cursor shift command allows selected DD
previous instruction. BF = 1 indicates the busy state RAM data to be read without the necessity of reset-
(internal operation), and the next instruction will not ting the DD RAM address. Following the cursor shift
be accepted until BF = 0. This instruction also reads instruction, the CG RAM/DD RAM data read instruc-
out the contents of the address counter, expressed tion will read data from the DD RAM.
as a 7-digit binary number. The address counter is
After the execution of each data read instruction,
used for accessing both the character generator
the address counter is either incremented or decre-
RAM and the display data RAM. On read-out, the mented by one, as determined by the current entry
address counter will contain either a character gen- mode. It is not necessary to reset the RAM address
erator RAM address or a display data RAM address, before the execution of subsequent data read in-
as determined by the most recently executed ad- structions if the same RAM is to be read. The
dress set instruction. display is not shifted by the data read instruction.
NOTE
After the execution of the CG RAM/DD RAM data write
instruction, the address counter is incremented or decre-
mented automatically. However, the contents of the RAM
location specified by the address counter cannot be read
by a subsequent CG RAM/DD RAM data read instruction.
The correct procedure for reading data from the CG RAM
or DD RAM is to execute an address set or cursor shift
instruction. Once a data read instruction has been exe-
cuted, successive data read instructions may be exe-
cuted, with no requirement for intervening instructions.
'LVSOD\ &OHDU &OHDU HQWHU GLVSOD\ DUHD UHVWRUH GLVSOD\ IURP PV
DGGUHVV +
'LVSOD\ 212)) ' & % 6SHFLI\ DFWLYDWLRQ RI GLVSOD\ ' FXUVRU & µV
DQG EOLQNLQJ RI FKDUDFWHU DW FXUVRU SRVLWLRQ %
)XQFWLRQ 6HW '/ 1
6HW LQWHUIDFH GDWD OHQJWK '/ DQG QXPEHU RI µV
GLVSOD\ OLQHV 1
&* 5$0 $&* /RDG WKH DGGUHVV FRXQWHU ZLWK D &* 5$0 µV
$GGUHVV 6HW DGGUHVV 6XEVHTXHQW GDWD LV &* 5$0 GDWD
'' 5$0 $'' /RDG WKH DGGUHVV FRXQWHU ZLWK D '' 5$0 µV
$GGUHVV 6HW DGGUHVV 6XEVHTXHQW GDWD LV '' 5$0 GDWD
&RXQWHU 5HDG
&* 5$0'' :ULWH GDWD :ULWH GDWD WR &* 5$0 RU '' 5$0 µV
5$0 'DWD :ULWH
&* 5$0'' 5HDG GDWD 5HDG GDWD IURP &* 5$0 RU '' 5$0 µV
5$0 'DWD 5HDG
6& 6KLIW 'LVSOD\ 6& 0RYH &XUVRU $&* &KDUDFWHU *HQHUDWRU 5$0 $GGUHVV
5/ 6KLIW 5LJKW 5/ 6KLIW /HIW $'' 'LVSOD\ 'DWD 5$0 $GGUHVV
NOTES:
1. Symbol "*" signifies a "don’t care" bit.
2. Correct input value for "N" is predetermined for each model (see Table 12).
Absolue Maximum Ratings 3$5$0(7(5 6<0%2/ 7(67 &21',7,216 0,1 0$; 81,7
See the device specifications for each LCD unit 2XWSXW + 92+ ,2+ P$ 9
model. 9ROWDJH
/ 92/ ,2/ P$ 9
Electrical Characteristics
See the device specificiations for each LCD unit
model. Some of the currently available specifica-
tions do not describe the test conditions for the
high-level and low-level output voltages. These
conditions are as follows:
Timing Characteristics
VIH
RS
VIL
tAS tAH
R/W VIL
PWEH tAH
tEf
VIH
E V
IL
tEr tDSW tH
VIH
DB0 - DB7 V VALID DATA
IL
tcycE
LCD27-24
9$/8(
3$5$0(7(5 6<0%2/ 81,7
0,1 0$;
VIH
RS
VIL
tAS tAH
R/W VIH
PWEH tAH
VIH
E
VIL
tEr tEf
tDDR tDHR
VOH
DB0 - DB7 VALID DATA
VOL
tcycE
LCD27-25
Table 10. Read Operation Timing Characteristics Table 11. Power Conditions for Internal Reset
(VDD = 5.0 ± 5%, VSS = 0 V, Ta = 0 ~ 50°C)
9$/8(
3$5$0(7(5 6<0%2/ 81,7
9$/8(
3$5$0(7(5 6<0%2/ 81,7 0,1 7<3 0$;
0,1 0$;
9ROWDJH %XLOG8S 7LPH WUFF PV
(QDEOH &\FOH 7LPH WF\F( QV
3RZHU2II 3HULRG W2)) PV
(QDEOH 3XOVH :LGWK +LJK /HYHO 3: (+ QV
4.5 V
Figure 7.
RS
R/W
OPERATING
INTERNAL OPERATION READY FOR DATA
STATUS
NOT
DB7 DATA DATA
BUSY BUSY BUSY
Write Instruction Check Busy Flag Check Busy Flag Check Busy Flag Write Instruction
LCD27-27
A15 CS2
A14 CS1 PA2 RS
A13 CS0
A1 RS1 PA1 R/W
A0 RS0
MC6800 MC6821 LCD UNIT
R/W R/W PA0 E
VMA
E 8
φ2 PB0 - PB7 DB0 - DB7
DB0 - DB7 8 D0 - D7
LCD27-28
VMA
φ2 E
A15
MC6800 LCD UNIT
A0 RS
R/W R/W
8 DB0 - DB7
D0 - D7
LCD27-29
A0 - A7 8
DB0 - DB7
LCD27-30
D0 - D7 DB0 - DB7
A0 RS
1 KΩ
A4 A Y1
E
A5 B
200PF
A6 C LS138 LCD
Z80
A7 G2 A UNIT
G2 B
MI G
IORQ
RD R/W
LCD27-31
2. 4-Bit Data Transfer with a Single-Line, 16-Char- Since the data lines DB0 - DB3 are not con-
acter Display (Using Internal Reset). Table 14 nected, this data is not accepted and must be
shows a sample operating procedure for an LCD written again (i.e. the function set instruction
unit in this mode. After power has been turned must be written twice). Subsequent data trans-
on, the 8-bit data transfer mode is in effect, and fers are completed in two 4-bit transfer opera-
the first write operation is assumed to be an 8-bit tions (see Table 14).
data transfer.
RS
R/W
OPERATING
INTERNAL OPERATION READY FOR DATA
STATUS
NOT
DB7 IR7 IR3
BUSY
AC3 AC3 D7 D3
BUSY
Write Instruction Check Busy Flag Check Busy Flag Write Instruction
O1 RS
O2 R/W
O3 E
SM200 LCD UNIT
4
P10 - P13 DB4 - DB7
LCD27-33
)XQFWLRQ 6HW 6HW IRU ELW GDWD WUDQVIHU DQG DGGUHVV W\SH D
'6 5: '% '%
'LVSOD\ 212)) 7XUQ RQ WKH GLVSOD\ DQG FXUVRU $IWHU LQLWLDOL]DWLRQ WKH '' 5$0
LV ILOOHG ZLWK WKH VSDFHFRGH
(QWU\ 0RGH 6HW 6HW WKH /&' XQLW WR LQFUHPHQW WKH DGGUHVV FRXQWHU DQG VKLIW WKH
FXUVRU WR WKH ULJKW DIWHU HDFK GDWD WUDQVDFWLRQ 7KH GLVSOD\ GRHV
QRW VKLIW
&* 5$0'' 5$0 :ULWH 6 LQWR WKH '' 5$0 7KH FXUVRU VKLIWV WR WKH ULJKW
'DWD :ULWH ooS
(QWU\ 0RGH 6HW 6HW GLVSOD\ WR VKLIW DIWHU HDFK GDWD ZULWH
oOooSHARP LCD UNIT
'LVSOD\&XUVRU +RPH 5HVWRUH WKH GLVSOD\ DQG FXUVRU WR WKHLU LQLWLDO SRVLWLRQV
oOSHARP LCD UNIT L
56 5: '% '% ooOo WR WKLV SRLQW WKH /&' XQLW LV LQ WKH ELW PRGH
)XQFWLRQ 6HW 6HW IRU ELW GDWD WUDQVIHU DQG DGGUHVV W\SH & 'DWD LV WUDQVIHUUHG LQ WZR RSHUDWLRQV
ooOo
'LVSOD\ 212)) 7XUQ RQ WKH GLVSOD\ DQG FXUVRU $IWHU LQLWLDOL]DWLRQ WKH '' 5$0 LV ILOOHG ZLWK WKH
(QWU\ 0RGH 6HW 6HW WKH /&' XQLW WR LQFUHPHQW WKH DGGUHVV FRXQWHU DQG VKLIW WKH FXUVRU WR WKH ULJKW
ooOo_ DIWHU HDFK GDWD WUDQVDFWLRQ 7KH GLVSOD\ GRHV QRW VKLIW
&* 5$0'' 5$0 :ULWH 6 LQWR WKH '' 5$0 7KH FXUVRU VKLIWV WR WKH ULJKW
'DWD :ULWH
ooOoS_
&* 5$0'' 5$0 :ULWH 3 LQWR WKH '' 5$0
'DWD :ULWH
ooOoSHARP_
'' 5$0 $GGUHVV 6HW 6HW '' 5$0 DGGUHVV WR WKH ILUVW SRVLWLRQ RQ WKH ULJKW KDOI RI WKH GLVSOD\ FKDUDFWHU
&* 5$0'' 5$0 :ULWH / LQWR WKH '' 5$0
'DWD :ULWH
ooOoSHARP L_
&* 5$0'' 5$0 :ULWH VSDFH LQWR WKH '' 5$0
'DWD :ULWH
ooOoSHARP LCD _
(QWU\ 0RGH 6HW 6HW WKH GLVSOD\ WR VKLIW DIWHU HDFK GDWD ZULWH
'DWD :ULWH
ooOoHARP CD U_
(QWU\ 0RGH 6HW 6HW WKH /&' XQLW WR LQFUHPHQW WKH DGGUHVV FRXQWHU DQG VKLIW WKH FXUVRU WR WKH ULJKW
ooOoHARP CD U_ DIWHU HDFK GDWD WUDQVDFWLRQ 7KH GLVSOD\ GRHV QRW VKLIW
'' 5$0 $GGUHVV 6HW 6HW '' 5$0 DGGUHVV WR WKH WK SRVLWLRQ RQ WKH OHIW KDOI RI WKH GLVSOD\ DGGUHVV +
'DWD :ULWH
ooOoHARP LCD U
'' 5$0 $GGUHVV 6HW 6HW '' 5$0 DGGUHVV WR WKH WK SRVLWLRQ RQ WKH ULJKW KDOI RI WKH GLVSOD\ DGGUHVV +
'DWD :ULWH
ooOoP LCD UNIT_
'LVSOD\&XUVRU +RPH 5HVWRUH WKH GLVSOD\ DQG FXUVRU WR WKHLU LQLWLDO SRVLWLRQV
3RZHU 21 ,QWHUQDO UHVHW FLUFXLW LV WULJJHUHG 7KH /&' XQLW LV LQLWLDOL]HG 1R GLVSOD\
)XFWLRQ 6HW '' 5: '% '% 6HW IRU ELW GDWD WUDQVIHU DQG DGGUHVV W\SH E
'LVSOD\ 212)) 7XUQ RQ WKH GLVSOD\ DQG FXUVRU $IWHU LQLWLDOL]DWLRQ WKH '' 5$0 LV ILOOHG
(QWU\ 0RGH 6HW 6HW WKH /&' XQLW WR LQFUHPHQW WKH DGGUHVV FRXQWHU DQG VKLIW WKH FXUVRU
WR WKH ULJKW DIWHU HDFK GDWD WUDQVDFWLRQ 7KH GLVSOD\ GRHV QRW VKLIW
&* 5$0'' 5$0 'DWD :ULWH S_ :ULWH 6 LQWR WKH '' 5$0 7KH FXUVRU VKLIWV WR WKH ULJKW
&* 5$0'' 5$0 'DWD :ULWH SHARP LCD UNIT :ULWH VSDFH LQWR WKH '' 5$0
'' 5$0 $GGUHVV 6HW SHARP LCD UNIT 6HW '' 5$0 DGGUHVV WR WKH ILUVW SRVLWLRQ RI WKH VHFRQG OLQH
&* 5$0'' 5$0 'DWD :ULWH SHARP LCD UNIT :ULWH / LQWR WKH '' 5$0
L
&* 5$0'' 5$0 'DWD :ULWH SHARP LCD UNIT :ULWH $ LQWR WKH '' 5$0
(QWU\ 0RGH 6HW SHARP LCD UNIT 6HW WKH GLVSOD\ WR VKLIW DIWHU HDFK GDWD ZULWH
&* 5$0'' 5$0 'DWD :ULWH SHARP LCD UNIT :ULWH 5 LQWR WKH '' 5$0 %RWK OLQHV VKLIW WR WKH OHIW
'LVSOD\&XUVRU +RPH SHARP LCD UNIT 5HVWURUH WKH GLVSOD\ DQG FXUVRU WR WKHLU LQLWLDO SRVLWLRQV
HANDLING INSTRUCTIONS
1. Operate the LCD unit within the allowable b. An acrylic sheet, or the like, may be used to
ranges of temperature and power supply volt- protect the LCD panel. A spacing of 0.5 mm to
age. Avoid operating the LCD unit in high hu- 1.0 mm should be used between the protective
midity. Avoid operating the LCD unit for plate and the LCD panel. (See Figure 13.)
extended periods under direct sunlight. To prevent stress on the LCD panel, the unit
should be mounted with a nominal height accu-
2. Mechanical shock and pressure on the glass
LCD panel should be avoided. Care must be racy of ±0.1 mm.
taken to insure that no torsional or compressive c. An anti-glare (anti-reflection) sheet may be used
forces are applied to the LCD unit when it is in place of the protective acrylic sheet. The
mounted. If leakage of the liquid crystal material mounting considerations will be the same.
should occur, all contact with the material, par-
ticularly accidental ingestion, must be avoided.
If the body or clothing become contaminated by (A) Inside Mount
the liquid crystal material, wash thoroughly with
water and soap.
LCD UNIT
3. The reflector and polarizers attached to the LCD
unit are made of soft materials. Care must be
taken not to scratch these materials. To clean
(B) Outside Mount
the display, use a soft, dry cloth. Do not use
organic solvents or water. If dirt can not be LCD UNIT
removed by this method, a small amount of
petroleum benzine may be used.
4. The LCD unit uses CMOS LSI’s. Precautions LCD27-35
must be taken to protect the unit from electro-
static charges. Figure 12. Mounting Diagrams
OPERATING RESTRICTIONS
The LSI (HD44780AXX) used in the LCD units is To counteract these defects. The following re-
reported to have the following defects: strictions should be followed (Table 16).
HD44780AXX Defective Functions In the production facility, the LSI device in ques-
tion is now being replaced with a modified version,
1. When the display clear or display/cursor home HD44780RAXX. The above mentioned restrictions
instruction is executed when the display has do not apply to products using the "RA" version of
been shifted from its original position, original the LSI. The "RA" version devices have an "R"
display position may not be restored.
printed in the upper, right corner, as shown.
2. When the display/cursor home instruction is
executed, the data in the following display data R
RAM locations may be lost. HD44780A
A. Address type a.
Total: 80 Characters
The contents of addresses (43), (47), (4B),
and (4F) may be destroyed.
Table 16.
([HFXWLRQ RI WKH GLVSOD\ FOHDU RU GLVSOD\FXUVRU KRPH 7KH GLVSOD\FXUVRU KRPH LQVWUXFWLRQ VKRXOG EH H[HFXWHG DIWHU WKH GHIHFWLYH LQVWUXFWLRQ
LQVWUXFWLRQ ZKHQ WKH GLVSOD\ KDV EHHQ VKLIWHG IURP LWV EXW DIWHU D WLPH LQWHUYDO QRW HTXDO WR DQ\ PXOWLSOH RI I 26& N+] VHFRQGV
RULJLQDO SRVLWLRQ 6LQFH I26& N+] WKH IROORZLQJ WLPLQJ LQWHUYDOV VKRXOG EH DYRLGHG VHFRQGV
VHFRQGV VHFRQGV HWF
([HFXWLRQ RI WKH ,Q WKH FDVH RI DGGUHVV W\SH D ZKHQ '' %HIRUH H[HFXWLQJ WKH GLVSOD\FXUVRU KRPH LQVWUXFWLRQ WKH GDWD LQ WKH IRXU DGGUHVV
GLVSOD\FXUVRU 5$0 DGGUHVV ORFDWLRQV % DQG ORFDWLRQV LQ TXHVWLRQ VKRXOG EH VDYHG HOVHZKHUH E\ WKH PLFURSURFHVVRU $IWHU
KRPH LQVWUXFWLRQ ) DUH LQ XVH H[HFXWLRQ RI WKH GLVSOD\FXUVRU KRPH LQVWUXFWLRQ WKH GDWD PD\ EH UHVWRUHG WR WKH ''
Ref. SMT99007