LCD Data Sheet

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

The Extended Concise LCD Data Sheet

Version: 25.6.1999

f o r H D4 4 7 8 0

Instruction
NOP Clear Display Cursor Home Entry Mode Set Display Control Cursor / Display shift Function Set Set CGRAM Address Set DDRAM Address Busy Flag & Address Write Data Read Data
x : Don't care

RS
0 0 0 0 0 0 0 0 0 0 1 1
I/D S D C B S/C

RW
0 0 0 0 0 0 0 0 0 1 0 1
1 0 1 0 1 0 1 0 1 0 1 0

D7
0 0 0 0 0 0 0 0 1 BF

D6
0 0 0 0 0 0 0 1

D5
0 0 0 0 0 0 1

D4
0 0 0 0 0 1 DL

D3
0 0 0 0 1 S/C N

D2
0 0 0 1 D R/L F

D1
0 0 1 I/D C x x

D0
0 1 x S B x x
No Operation

Description

ClockCycles
0 165 3 3 3 3 3 3 3 0 3 3

Clear display & set address counter to zero Set adress counter to zero, return shifted display to original position. DD RAM contents remains unchanged. Set cursor move direction (I/D) and specify automatic display shift (S). Turn display (D), cursor on/off (C), and cursor blinking (B). Shift display or move cursor (S/C) and specify direction (R/L). Set interface data width (DL), number of display lines (N) and character font (F). Set CGRAM address. CGRAM data is sent afterwards. Set DDRAM address. DDRAM data is sent afterwards. Read busy flag (BF) and address counter Write data into DDRAM or CGRAM Read data from DDRAM or CGRAM

CGRAM Address DDRAM Address Address Counter Data Data

Increment Decrement Automatic display shift Display ON Display OFF Cursor ON Cursor OFF Cursor blinking Display shift Cursor move

R/L DL N F

1 0 1 0 1 0 1 0

Shift to the right Shift to the left 8 bit interface 4 bit interface 2 lines 1 line 5x10 dots 5x7 dots

DDRAM : Display Data RAM CGRAM : Character Generator RAM

LCD Display with 2 lines x 40 characters :

LCD Display with 2 lines x 16 characters :

Pin No 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Name Vss Vdd Vee RS R/W E D0 D1 D2 D3 D4 D5 D6 D7

Function Power Power Contrast Adj. Command Command Command I/O I/O I/O I/O I/O I/O I/O I/O

Description GND +5V (-2) 0 - 5 V Register Select Read / Write Enable (Strobe) Data LSB Data Data Data Data Data Data Data MSB

Bus Timing Characteristics


( Ta = - 20 to + 75C )

Write-Cycle Parameter Enable Cycle Time Enable Pulse Width (High) Enable Rise/Fall Time Address Setup Time Address Hold Time Data Setup Time Data Hold Time

VDD Symbol tc tw tr, tf tas tah tds th

2.7 - 4.5 V

(2)

4.5 - 5.5 V
(1)

(2)

2.7 - 4.5 V

(2)

4.5 - 5.5 V
(1)

(2)

Min 1000 450 60 20 195 10

Typ 500 230 40 10 80 10 -

(1)

Max 25 -

Unit 20 ns ns ns ns ns ns ns

(1) The above specifications are indications only (based on Hitachi HD44780). Timing will vary from manufacturer to manufacturer. (2) Power Supply : HD44780 S : HD44780 U : VDD = 4.5 - 5.5 V VDD = 2.7 - 5.5 V

This data sheet refers to specifications for the Hitachi HD44780 LCD Driver chip, which is used for most LCD modules. Common types are : 1 line x 20 characters 2 lines x 16 characters 2 lines x 20 characters 2 lines x 40 characters 4 lines x 20 characters 4 lines x 40 characters

1998/1999 by

Craig Peacock, Australia Peter Luethi, Switzerland

http://www.beyondlogic.org http://www.electronic-engineering.ch

You might also like