Rainbow-electronics HD44780 Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Sprzęt komputerowy Rainbow-electronics HD44780. Rainbow Electronics HD44780 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 59
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
1
HD44780U (LCD-II)
(Dot Matrix Liquid Crystal Display Controller/Driver)
Description
The HD44780U dot-matrix liquid crystal display controller and driver LSI displays alphanumerics,
Japanese kana characters, and symbols. It can be configured to drive a dot-matrix liquid crystal display
under the control of a 4- or 8-bit microprocessor. Since all the functions such as display RAM, character
generator, and liquid crystal driver, required for driving a dot-matrix liquid crystal display are internally
provided on one chip, a minimal system can be interfaced with this controller/driver.
A single HD44780U can display up to one 8-character line or two 8-character lines.
The HD44780U has pin function compatibility with the HD44780S which allows the user to easily replace
an LCD-II with an HD44780U. The HD44780U character generator ROM is extended to generate 208 5 ×
8 dot character fonts and 32 5 × 10 dot character fonts for a total of 240 different character fonts.
The low power supply (2.7V to 5.5V) of the HD44780U is suitable for any portable battery-driven product
requiring low power dissipation.
Features
5 × 8 and 5 × 10 dot matrix possible
Low power operation support:
2.7 to 5.5V
Wide range of liquid crystal display driver power
3.0 to 11V
Liquid crystal drive waveform
A (One line frequency AC waveform)
Correspond to high speed MPU bus interface
2 MHz (when V
CC
= 5V)
4-bit or 8-bit MPU interface enabled
80 × 8-bit display RAM (80 characters max.)
9,920-bit character generator ROM for a total of 240 character fonts
208 character fonts (5 × 8 dot)
32 character fonts (5 × 10 dot)
Przeglądanie stron 0
1 2 3 4 5 6 ... 58 59

Podsumowanie treści

Strona 1 - HD44780U (LCD-II)

1HD44780U (LCD-II)(Dot Matrix Liquid Crystal Display Controller/Driver)DescriptionThe HD44780U dot-matrix liquid crystal display controller and driver

Strona 2

HD44780U10Display Data RAM (DDRAM)Display data RAM (DDRAM) stores display data represented in 8-bit character codes. Its extendedcapacity is 80 × 8 bi

Strona 3

HD44780U11• 2-line display (N = 1) (Figure 4) Case 1: When the number of display characters is less than 40 × 2 lines, the two lines are displayedfr

Strona 4

HD44780U12 Case 2: For a 16-character × 2-line display, the HD44780 can be extended using one 40-outputextension driver. See Figure 6.When display sh

Strona 5

HD44780U13Character Generator ROM (CGROM)The character generator ROM generates 5 × 8 dot or 5 × 10 dot character patterns from 8-bit charactercodes (T

Strona 6

HD44780U14Determinecharacter patternsCreate EPROMaddress data listingWrite EPROMEPROM → HitachiComputerprocessingCreate characterpattern listingEvalua

Strona 7

HD44780U15• Programming character patternsThis section explains the correspondence between addresses and data used to program character patternsin EP

Strona 8

HD44780U16 Handling unused character patterns1. EPROM data outside the character pattern area: Always input 0s.2. EPROM data in CGRAM area: Always in

Strona 9

HD44780U17Table 4 Correspondence between Character Codes and Character Patterns (ROM Code: A00)xxxx0000xxxx0001xxxx0010xxxx0011xxxx0100xxxx0101xxxx011

Strona 10 - HD44780U

HD44780U18Table 4 Correspondence between Character Codes and Character Patterns (ROM Code: A02)xxxx0000xxxx0001xxxx0010xxxx0011xxxx0100xxxx0101xxxx011

Strona 11

HD44780U19Table 5 Relationship between CGRAM Addresses, Character Codes (DDRAM) and CharacterPatterns (CGRAM Data)Character Codes(DDRAM data)CGRAM Add

Strona 12

HD44780U2• 64 × 8-bit character generator RAM 8 character fonts (5 × 8 dot) 4 character fonts (5 × 10 dot)• 16-common × 40-segment liquid crystal

Strona 13

HD44780U20Table 5 Relationship between CGRAM Addresses, Character Codes (DDRAM) and CharacterPatterns (CGRAM Data) (cont)Character Codes(DDRAM data)CG

Strona 14

HD44780U21Timing Generation CircuitThe timing generation circuit generates timing signals for the operation of internal circuits such asDDRAM, CGROM a

Strona 15

HD44780U22Interfacing to the MPUThe HD44780U can send data in either two 4-bit operations or one 8-bit operation, thus allowinginterfacing with 4- or

Strona 16

HD44780U23Reset FunctionInitializing by Internal Reset CircuitAn internal reset circuit automatically initializes the HD44780U when the power is turne

Strona 17

HD44780U24Normally, instructions that perform data transfer with internal RAM are used the most. However, auto-incrementation by 1 (or auto-decrementa

Strona 18

HD44780U25Table 6 Instructions (cont)CodeExecution Time(max) (when fcp orInstruction RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Description fOSC is 270 kH

Strona 19

HD44780U26Instruction DescriptionClear DisplayClear display writes space code 20H (character pattern for character code 20H must be a blank pattern) i

Strona 20

HD44780U27Cursor or Display ShiftCursor or display shift shifts the cursor position or display to the right or left without writing or readingdisplay

Strona 21

HD44780U28CodeNote: Don’t care.*CodeCodeCodeRS0R/W0 DB7 0 DB6 0 DB5 0 DB4 0 DB3 0 DB2 0 DB1 0 DB0 1RS0R/W0 DB7 0 DB6 0 DB5 0

Strona 22

HD44780U29Set DDRAM AddressSet DDRAM address sets the DDRAM address binary AAAAAAA into the address counter.Data is then written to or read from the M

Strona 23

HD44780U3HD44780U Block DiagramDisplaydata RAM(DDRAM)80 × 8 bitsCharactergeneratorROM(CGROM)9,920 bitsCharactergeneratorRAM(CGRAM)64 bytesInstructionr

Strona 24

HD44780U30Cursor5 8 dotcharacter font5 10 dotcharacter font×× Alternating displayBlink display exampleCursor display exampleFigure 12 Cursor a

Strona 25

HD44780U31Write Data to CG or DDRAMWrite data to CG or DDRAM writes 8-bit binary data DDDDDDDD to CG or DDRAM.To write into CG or DDRAM is determined

Strona 26

HD44780U32Interfacing the HD44780UInterface to MPUs• Interfacing to an 8-bit MPUSee Figure 16 for an example of using a I/O port (for a single-chip m

Strona 27

HD44780U33• Interfacing to a 4-bit MPUThe HD44780U can be connected to the I/O port of a 4-bit MPU. If the I/O port has enough bits, 8-bitdata can be

Strona 28

HD44780U34Interface to Liquid Crystal DisplayCharacter Font and Number of Lines: The HD44780U can perform two types of displays, 5 × 8 dot and5 × 10 d

Strona 29

HD44780U35Since five segment signal lines can display one digit, one HD44780U can display up to 8 digits for a 1-linedisplay and 16 digits for a 2-lin

Strona 30

HD44780U36Connection of Changed Matrix Layout: In the preceding examples, the number of lines correspond to thescanning lines. However, the following

Strona 31

HD44780U37Power Supply for Liquid Crystal Display DriveVarious voltage levels must be applied to pins V1 to V5 of the HD44780U to obtain the liquid cr

Strona 32

HD44780U38Relationship between Oscillation Frequency and Liquid Crystal Display FrameFrequencyThe liquid crystal display frame frequencies of Figure 2

Strona 33

HD44780U39Instruction and Display Correspondence• 8-bit operation, 8-digit × 1-line display with internal resetRefer to Table 11 for an example of an

Strona 34

HD44780U4 HD44780U Pin Arrangement (FP-80B)12345678910111213141516171819202122232480797877767574737271706968676665646362616059585756555453525150494847

Strona 35

HD44780U40Table 11 8-Bit Operation, 8-Digit × 1-Line Display Example with Internal ResetStepInstructionNo. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Disp

Strona 36

HD44780U41Table 11 8-Bit Operation, 8-Digit × 1-Line Display Example with Internal Reset (cont)StepInstructionNo. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 D

Strona 37

HD44780U42Table 12 4-Bit Operation, 8-Digit × 1-Line Display Example with Internal ResetStepInstructionNo. RS R/W DB7 DB6 DB5 DB4 Display Operation1 P

Strona 38

HD44780U43Table 13 8-Bit Operation, 8-Digit × 2-Line Display Example with Internal ResetStepInstructionNo. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Disp

Strona 39

HD44780U44Table 13 8-Bit Operation, 8-Digit × 2-Line Display Example with Internal Reset (cont)StepInstructionNo. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 D

Strona 40

HD44780U45Initializing by InstructionIf the power supply conditions for correctly operating the internal reset circuit are not met, initialization byi

Strona 41

HD44780U46Initialization endsWait for more than 15 msafter VCC rises to 4.5 VWait for more than 40 msafter VCC rises to 2.7 VBF cannot be checked befo

Strona 42

HD44780U47Absolute Maximum Ratings*Item Symbol Value Unit NotesPower supply voltage (1) VCC–GND –0.3 to +7.0 V 1Power supply voltage (2) VCC–V5 –0.3 t

Strona 43

HD44780U48DC Characteristics (VCC = 2.7 to 4.5 V, Ta = –30 to +75°C*3)Item Symbol Min Typ Max Unit Test Condition Notes*Input high voltage (1)(except

Strona 44

HD44780U49AC Characteristics (VCC = 2.7 to 4.5 V, Ta = –30 to +75°C*3)Clock CharacteristicsItem Symbol Min Typ Max Unit Test Condition Note*External E

Strona 45

HD44780U5HD44780U Pin Arrangement (TFP-80F)12345678910111213141516171819208079787776757473727170696867666564636261605958575655545352515049484746454443

Strona 46

HD44780U50Interface Timing Characteristics with External DriverItem Symbol Min Typ Max Unit Test ConditionClock pulse width High level tCWH800 — — ns

Strona 47

HD44780U51DC Characteristics (VCC = 4.5 to 5.5 V, Ta = –30 to +75°C*3)Item Symbol Min Typ Max Unit Test Condition Notes*Input high voltage (1)(except

Strona 48

HD44780U52AC Characteristics (VCC = 4.5 to 5.5 V, Ta = –30 to +75°C*3)Clock CharacteristicsItem Symbol Min Typ Max Unit Test Condition Notes*External

Strona 49

HD44780U53Interface Timing Characteristics with External DriverItem Symbol Min Typ Max Unit Test ConditionClock pulse width High level tCWH800 — — ns

Strona 50

HD44780U54Electrical Characteristics Notes1. All voltage values are referred to GND = 0 V.VCCABA 1.5 VB 0.25 × A ≥ ≤The conditions of V1 a

Strona 51

HD44780U556. Applies to input pins and I/O pins, excluding the OSC1 pin.7. Applies to I/O pins.8. Applies to output pins.9. Current flowing through pu

Strona 52

HD44780U5613.RCOM is the resistance between the power supply pins (VCC, V1, V4, V5) and each common signal pin(COM1 to COM16).RSEG is the resistance b

Strona 53

HD44780U57Load CircuitsData Bus DB0 to DB7For V = 4.5 to 5.5 VCCTestpoint90 pF 11 kΩV = 5 VCC3.9 kΩIS2074diodesHFor V = 2.7 to 4.5 VCCTest

Strona 54

HD44780U58Timing CharacteristicsRSR/WEDB0 to DB7VIH1VIL1VIH1VIL1tAStAHVIL1 VIL1tAHPWEHtEfVIH1VIL1VIH1VIL1tErtDSWtHVIH1VIL1VIH1VIL1tcycEVIL1Valid dataF

Strona 55

HD44780U59CL1CL2DMVOH2VOH2VOL2tcttCWHtCWHtCSUVOH2tCSUtCWLtcttDHtSUVOH2tDMVOH2VOL2VOL2Figure 27 Interface Timing with External DriverVCC0.2 V2.7 V/4.

Strona 56

HD44780U6HD44780U Pad ArrangementHD44780UType code23XY422 1 80 63Chip size:Coordinate:Origin:Pad size:4.90 × 4.90 mm2Pad center (µm)Chip center114 × 1

Strona 57

HD44780U7HCD44780U Pad Location CoordinatesCoordinate CoordinatePad No. Function X (um) Y (um) Pad No. Function X (um) Y (um)1 SEG22 –2100 2313 41 DB2

Strona 58

HD44780U8Pin FunctionsSignalNo. ofLines I/ODeviceInterfaced with FunctionRS 1 I MPU Selects registers.0: Instruction register (for write) Busy flag: a

Strona 59

HD44780U9Function DescriptionRegistersThe HD44780U has two 8-bit registers, an instruction register (IR) and a data register (DR).The IR stores instru

Komentarze do niniejszej Instrukcji

Brak uwag