
1HD44780U (LCD-II)(Dot Matrix Liquid Crystal Display Controller/Driver)DescriptionThe HD44780U dot-matrix liquid crystal display controller and driver
HD44780U10Display Data RAM (DDRAM)Display data RAM (DDRAM) stores display data represented in 8-bit character codes. Its extendedcapacity is 80 × 8 bi
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
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
HD44780U13Character Generator ROM (CGROM)The character generator ROM generates 5 × 8 dot or 5 × 10 dot character patterns from 8-bit charactercodes (T
HD44780U14Determinecharacter patternsCreate EPROMaddress data listingWrite EPROMEPROM → HitachiComputerprocessingCreate characterpattern listingEvalua
HD44780U15• Programming character patternsThis section explains the correspondence between addresses and data used to program character patternsin EP
HD44780U16 Handling unused character patterns1. EPROM data outside the character pattern area: Always input 0s.2. EPROM data in CGRAM area: Always in
HD44780U17Table 4 Correspondence between Character Codes and Character Patterns (ROM Code: A00)xxxx0000xxxx0001xxxx0010xxxx0011xxxx0100xxxx0101xxxx011
HD44780U18Table 4 Correspondence between Character Codes and Character Patterns (ROM Code: A02)xxxx0000xxxx0001xxxx0010xxxx0011xxxx0100xxxx0101xxxx011
HD44780U19Table 5 Relationship between CGRAM Addresses, Character Codes (DDRAM) and CharacterPatterns (CGRAM Data)Character Codes(DDRAM data)CGRAM Add
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
HD44780U20Table 5 Relationship between CGRAM Addresses, Character Codes (DDRAM) and CharacterPatterns (CGRAM Data) (cont)Character Codes(DDRAM data)CG
HD44780U21Timing Generation CircuitThe timing generation circuit generates timing signals for the operation of internal circuits such asDDRAM, CGROM a
HD44780U22Interfacing to the MPUThe HD44780U can send data in either two 4-bit operations or one 8-bit operation, thus allowinginterfacing with 4- or
HD44780U23Reset FunctionInitializing by Internal Reset CircuitAn internal reset circuit automatically initializes the HD44780U when the power is turne
HD44780U24Normally, instructions that perform data transfer with internal RAM are used the most. However, auto-incrementation by 1 (or auto-decrementa
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
HD44780U26Instruction DescriptionClear DisplayClear display writes space code 20H (character pattern for character code 20H must be a blank pattern) i
HD44780U27Cursor or Display ShiftCursor or display shift shifts the cursor position or display to the right or left without writing or readingdisplay
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
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
HD44780U3HD44780U Block DiagramDisplaydata RAM(DDRAM)80 × 8 bitsCharactergeneratorROM(CGROM)9,920 bitsCharactergeneratorRAM(CGRAM)64 bytesInstructionr
HD44780U30Cursor5 8 dotcharacter font5 10 dotcharacter font×× Alternating displayBlink display exampleCursor display exampleFigure 12 Cursor a
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
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
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
HD44780U34Interface to Liquid Crystal DisplayCharacter Font and Number of Lines: The HD44780U can perform two types of displays, 5 × 8 dot and5 × 10 d
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
HD44780U36Connection of Changed Matrix Layout: In the preceding examples, the number of lines correspond to thescanning lines. However, the following
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
HD44780U38Relationship between Oscillation Frequency and Liquid Crystal Display FrameFrequencyThe liquid crystal display frame frequencies of Figure 2
HD44780U39Instruction and Display Correspondence• 8-bit operation, 8-digit × 1-line display with internal resetRefer to Table 11 for an example of an
HD44780U4 HD44780U Pin Arrangement (FP-80B)12345678910111213141516171819202122232480797877767574737271706968676665646362616059585756555453525150494847
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
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
HD44780U42Table 12 4-Bit Operation, 8-Digit × 1-Line Display Example with Internal ResetStepInstructionNo. RS R/W DB7 DB6 DB5 DB4 Display Operation1 P
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
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
HD44780U45Initializing by InstructionIf the power supply conditions for correctly operating the internal reset circuit are not met, initialization byi
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
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
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
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
HD44780U5HD44780U Pin Arrangement (TFP-80F)12345678910111213141516171819208079787776757473727170696867666564636261605958575655545352515049484746454443
HD44780U50Interface Timing Characteristics with External DriverItem Symbol Min Typ Max Unit Test ConditionClock pulse width High level tCWH800 — — ns
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
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
HD44780U53Interface Timing Characteristics with External DriverItem Symbol Min Typ Max Unit Test ConditionClock pulse width High level tCWH800 — — ns
HD44780U54Electrical Characteristics Notes1. All voltage values are referred to GND = 0 V.VCCABA 1.5 VB 0.25 × A ≥ ≤The conditions of V1 a
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
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
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
HD44780U58Timing CharacteristicsRSR/WEDB0 to DB7VIH1VIL1VIH1VIL1tAStAHVIL1 VIL1tAHPWEHtEfVIH1VIL1VIH1VIL1tErtDSWtHVIH1VIL1VIH1VIL1tcycEVIL1Valid dataF
HD44780U59CL1CL2DMVOH2VOH2VOL2tcttCWHtCWHtCSUVOH2tCSUtCWLtcttDHtSUVOH2tDMVOH2VOL2VOL2Figure 27 Interface Timing with External DriverVCC0.2 V2.7 V/4.
HD44780U6HD44780U Pad ArrangementHD44780UType code23XY422 1 80 63Chip size:Coordinate:Origin:Pad size:4.90 × 4.90 mm2Pad center (µm)Chip center114 × 1
HD44780U7HCD44780U Pad Location CoordinatesCoordinate CoordinatePad No. Function X (um) Y (um) Pad No. Function X (um) Y (um)1 SEG22 –2100 2313 41 DB2
HD44780U8Pin FunctionsSignalNo. ofLines I/ODeviceInterfaced with FunctionRS 1 I MPU Selects registers.0: Instruction register (for write) Busy flag: a
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