Sharp LM161 Series User Manual

Sharp LM161 Series User Manual

Dot-matrix lcd units

Advertisement

Quick Links

DISPLAY UNIT USER'S MANUAL
Dot-Matrix
LCD Units
(with built-in controllers)

Advertisement

Table of Contents
loading

Summary of Contents for Sharp LM161 Series

  • Page 1 DISPLAY UNIT USER’S MANUAL Dot-Matrix LCD Units (with built-in controllers)
  • Page 2 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.
  • Page 3: Table Of Contents

    Dot-Matrix LCD Units Contents PREFACE ......2 FEATURES ......3 OVERVIEW .
  • Page 4: Preface

    Dot-Matrix LCD Units 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.
  • Page 5: Features

    Dot-Matrix LCD Units FEATURES OVERVIEW • Interface with either 4-bit or 8-bit The LCD unit receives character codes (8 bits per character) from a microprocessor or microcomputer, microprocessor. 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 ×...
  • Page 6: Hardware

    Dot-Matrix LCD Units HARDWARE Interface Signals Table 2. Interface Signals (;7(51$/ 6,*1$/ 1$0( ,1387287387 )81&7,21 &211(&7,21 ,QSXW 5HJLVWHU VHOHFW VLJQDO  ,QVWUXFWLRQ UHJLVWHU ZKHQ ZULWLQJ %XV\ IODJ DQG DGGUHVV FRXQWHU ZKHQ UHDGLQJ  'DWD UHJLVWHU ZKHQ ZULWLQJ DQG UHDGLQJ ,QSXW 5HDGZULWH VHOHFW VLJQDO  :ULWLQJ  5HDGLQJ ,QSXW 2SHUDWLRQ GDWD UHDGZULWH HQDEOH VLJQDO...
  • Page 7 Dot-Matrix LCD Units Busy Flag (BF) a. Address type a ..For dual-line display When the busy flag is set at a logical "1", the LCD Display Position Digit 39 40 unit is executing an internal operation, and no in- .
  • Page 8 Dot-Matrix LCD Units Character Generator ROM (CG ROM) This ROM generates a 5 × 7 dot-matrix character Display Position pattern for each of 160 different 8-bit character Digit Single-Line codes. The correspondence between character Display codes and character patterns is shown in Tables 4 DD RAM Address (HEX) and 5.
  • Page 9 Dot-Matrix LCD Units back- Inverter light (See note 2) Display Data Segment Signals back- Electrode light Drive Panel Circuit Scanning Signals Common Electrode Drive Circuit Cursor/Blink Controller Timing Generator Character Generator Display Data (CG ROM) (DD RAM) 7,200 bits Address 80 x 8 bits Counter Parallel-to-Serial...
  • Page 10 Dot-Matrix LCD Units Table 4. Character Codes HIGH-ORDER 4 BIT 0000 0010 0011 0100 0101 0110 0111 1010 1011 1100 1101 1110 1111 LOW- ORDER 4 BIT xxxx0000 xxxx0001 xxxx0010 xxxx0011 xxxx0100 xxx0101 xxx0110 xxxx0111 xxxx1000 xxxx1001 xxxx1010 xxxx1011 xxxx1100 xxxx1101 xxxx1110 xxxx1111...
  • Page 11 Dot-Matrix LCD Units Table 5. Character Codes High-Order 4 bit 0000 0010 0011 0100 0101 0110 0111 1010 1011 1100 1101 1110 1111 Low- Order 4 bit α × × × ×0 0 0 0 ä × × × ×0 0 0 1 β...
  • Page 12 Dot-Matrix LCD Units Table 6. Relationship Among Character Code (DD RAM), CG RAM Address, and Character Pattern (CG RAM) Character Code Character Pattern CG RAM Address (DD RAM Data) (CG RAM Data) 6 5 4 3 2 1 0 5 4 3 2 1 0 6 5 4 3 2 1 0 High-order Low-order...
  • Page 13: Microprocessor Interface

    Dot-Matrix LCD Units Microprocessor Interface The high-order 4 bits (corresponding to DB - DB in an 8-bit transfer) are transferred first, followed by The LCD unit performs either dual 4-bit or single the low-order 4 bits (corresponding to DB - DB 8-bit data transers, allowing the user to interface with an 8-bit transfer).
  • Page 14: Reset Function

    Dot-Matrix LCD Units Reset Function 3. Display ON/OFF Control Initialization by Internal Reset Circuit D = 0 ..Display OFF C = 0 ..Cursor OFF The LCD unit has an internal reset circuit for B = 0 ..Blink function OFF implementing an automatic reset operation at power-on.
  • Page 15 Dot-Matrix LCD Units 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 V...
  • Page 16 Dot-Matrix LCD Units 4-Bit Interface Power ON Wait 15 ms or more after V reaches 4.5 V RS R/W DB Busy flag can't be checked before execution of this instruction Function Set (8-Bit Interface) Wait 4.1 ms or more Busy flag can't be checked before execution of this RS R/W DB instruction Function Set (8-Bit Interface)
  • Page 17: Instructions

    Dot-Matrix LCD Units 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 directly accessed by the microprocessor are the CODE instruction register (IR) and data register (DR). Con- The display data RAM is filled with the "space"...
  • Page 18 Dot-Matrix LCD Units 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 the 40th position of the top line to the first position of CODE the second line. From the 40th position of the second line, the cursor does not move back to the D: When D = 1, the display is turned on.
  • Page 19 Dot-Matrix LCD Units CG RAM Address Set CG RAM/DD RAM Data Write RS R/W RS R/W CODE CODE An 8-bit data word is written into either the char- The address counter is loaded with a character acter generator RAM or display data RAM, as de- generator RAM address, expressed as a 6-digit termined by the most recently executed address set binary number.
  • Page 20 Dot-Matrix LCD Units Table 7. Instruction Set &2'( (;(&87,21 7,0( PD[ ,16758&7,21 )81&7,21 RU I  N+] 'LVSOD\ &OHDU &OHDU HQWHU GLVSOD\ DUHD UHVWRUH GLVSOD\ IURP  PV VKLIW DQG ORDG DGGUHVV FRXQWHU ZLWK '' 5$0 DGGUHVV  'LVSOD\&XUVRU 5HVWRUH GLVSOD\ IURP VKLIW DQG ORDG DGGUHVV  PV +RPH FRXQWHU ZLWK '' 5$0 DGGUHVV ...
  • Page 21: Electrical Characteristics

    Dot-Matrix LCD Units ELECTRICAL CHARACTERISTICS Table 8. 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  P$ model. 9ROWDJH   P$ Electrical Characteristics See the device specificiations for each LCD unit model.
  • Page 22: Power Conditions For Internal Reset

    Dot-Matrix LCD Units VALID DATA - DB cycE LCD27-25 Figure 6. Read Operation Timing Diagram (For data sent from the LCD unit to the external microprocessor) Table 11. Power Conditions for Internal Reset Table 10. Read Operation Timing Characteristics = 5.0 ± 5%, V = 0 V, Ta = 0 ~ 50°C) 9$/8( 3$5$0(7(5...
  • Page 23: Lcd Unit Usage Instructions

    Dot-Matrix LCD Units LCD UNIT USAGE INSTRUCTIONS Interface with External Microprocessor 1. 8-bit Microprocessor OPERATING INTERNAL OPERATION READY FOR DATA STATUS DATA DATA BUSY BUSY BUSY Write Instruction Check Busy Flag Check Busy Flag Check Busy Flag Write Instruction LCD27-27 Figure 8.
  • Page 24 Dot-Matrix LCD Units b. Direct Connection to 8-Bit Microprocessor φ MC6800 LCD UNIT - DB LCD27-29 c. Interface with MC6805 Microprocessor - DB MC6805 LCD UNIT LCD27-30 d. Interface with Z-80 Microprocessor - DB 1 KΩ LS138 UNIT IORQ LCD27-31 Display Unit User’s Manual...
  • Page 25 Dot-Matrix LCD Units 2. 4-Bit Data Transfer with a Single-Line, 16-Char- Since the data lines DB - DB 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.
  • Page 26: Contrast Control Voltage

    Dot-Matrix LCD Units Contrast Control Voltage 2. 4-Bit Microprocessor The LCD unit has three power terminals, V The LCD unit can be connected to the I/O port , and V . A contrast control voltage is supplied of a 4-bit microprocessor. If the I/O port is not to the terminal V .
  • Page 27 Dot-Matrix LCD Units Table 13. 8-Bit Data Transfer with a Single-Line (16-Character Display (Using Internal Reset)) ,16758&7,21 ',63/$< 23(5$7,21 3RZHU 21 7KH /&' XQLW LV LQLWLDOL]HG 1R GLVSOD\ LQWHUQDO UHVHW FLUFXLW LV WULJJHUHG  )XQFWLRQ 6HW 6HW IRU ELW GDWD WUDQVIHU DQG DGGUHVV W\SH D '6 5: '%  '%        ...
  • Page 28 Dot-Matrix LCD Units Table 14. 4-Bit Data Transfer with Single Line (16-Character Display (*Using Internal Reset)) ,16758&7,21 ',63/$< 23(5$7,21 3RZHU 21 LQWHUQDO UHVHW 7KH /&' XQLW LV LQLWLDOL]HG 1R GLVSOD\ ooOo FLUFXLW LV WULJJHUHG  )XQFWLRQ 6HW 6HW IRU ELW GDWD WUDQVIHU 7KLV LQVWUXFWLRQ LV WUDQVIHUUHG LQ D VLQJOH RSHUDWLRQ VLQFH XS ooOo 56 5: '%  '%...
  • Page 29 :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          ...
  • Page 30: Handling Instructions

    Dot-Matrix LCD Units 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.
  • Page 31: Operating Restrictions

    Dot-Matrix LCD Units 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.
  • Page 32 SHARP Microelectronics of the Americas Corporation Regional Sales Offices: Distributors: North American Headquarters Bell/Milgray El Segundo, CA Camas, WA Ph (310) 563-2355 Ph (360) 834-2500 Fax (310) 563-2514 Fax (360) 834-8903 Future Electronics West Canada Huntington Beach, CA Ph (514) 694-7710...

This manual is also suitable for:

Lm162 seriesLm202 seriesLm40 2 series

Table of Contents