Jose Pino's projects & tidbits
"Great stuff from someone with an inquisitive mind"

Hitachi LCD Displays

LCD displays Hitachi Compatible, Data and Tips how to use the display.


Source: http://www.josepino.com/?hitachi_displays   Tags: electronics circuits howto

LCD display Hitachi compatibles (HD44780) are the standard in many LCD models. Some models are 8 caracteres by 1 line, 8 x 2 lines, 16 x 1 line, 16 x 2 lines, 20 x 2 Lines, 24 x 2 lines, 20 x 4 lines and 40 x 2 lines. There is more especifications, but here is only a few that I have.

The Pinout configuration on these display are:
Taken from http://www.josepino.com

Pinout information of LCD Hitachi

That is the standard pinout information, however, may not match with some LCD displays Hitachi compatible. Some old laser printers (like HP IIP & IIIP) have an LCD compatible but pines 1 & 2 are inverted. These displays are labeled as SH7-9230.

Examples of LCD displays compatible.

Some LCD Hitachi compatibles I have. The last one was removed from an old HP Laserjet IIP.

Examples of LCD displays compatible.

Connectors and parts maybe are different, but the controller is a standard Hitachi. Models in the picture are: (From top to botton) HD44780A00, ED242X0TEY, HC16102JC y SH7-9230

Here is the character set for some of the Hitachi displays (specially the SH7-9230)

Character set of the Hitachi LCD Display

Compared with 7-segment LED displays, LCD displays require less voltage (5 volts DC), and doesn't need a frecuente "refresh" to avoid flickering, but is controlled by commands.

Interfasing. Sending commands or data to display. (8 bits mode)

Sending commands procedure:


1. Connect to ground (-) R/W. (Set to WRITE)
2. Connect to ground (-) 'RS' (Set to command mode)
3. Enable 'E' (+)
4. Send data byte (8 bits, D0 to D7)
5. Disable 'E' (-)
6. Wait at least 40us before send next command or data.

Sending data procedure.


1. Connect to GND 'R/W' (Set to write)
2. Connect to Positive 'RS' (Set to Data mode)
3. Enable 'E' (+)
4. Send data byte (8 bits, D0 to D7)
5. Disable 'E' (-)
6. Wait at least 40us before sending next data or command.

Note the difference is the pin 'RS'.

Here is an example of timing for the LCD display. (4 bits)

4 bits timing of the Hitachi LCD displays

(SOURCE: HD44780 datasheet)

HD44780 Instruction set & bit names:

Set of instructions and bit names of the Hitachi

Each code means a BIT. For example, to turn off the curson, set 'D' as 0 (See the command "Display ON/OFF Control")

NOTE: Waiting time varies, sometimes is necessary to wait just 50 nanoseconds. However, I recommend to wait up to one milisecond to avoid problems with some displays. The HD44780 Datasheet have more commands, here is only a few of them, just the basic to control the LCD Display.

LCD Initialization procedure.

According to the Hitachi datasheet, here are the necessary steps to initialize the LCD before display any data: (Asterisc means "Don't Care")

1. Power On.
2. Wait 40 ms until power rises.
3. Write command 0 0 1 1 * * * * (Function Set. DL=1, 8 Bits)
4. Wait 5 ms
5. Write command 0 0 1 1 * * * *
6. Wait 1 ms.
7. Write command 0 0 1 1 * * * *
8. Wait 1 ms.
9. Write command 0 0 1 1 N F * * (Function Set. Set on N & F according to display)
10. Wait 1 ms.
11. Write command 0 0 0 0 1 0 0 0
12. Wait 1 ms.
13. Write command 0 0 0 0 0 0 0 1 (Display Clear)
14. Wait 1 ms.
15. Write command 0 0 0 0 0 1 1 0 (Entry Mode Set)
16. Wait 1 ms.

Now, the LCD is ready to display data.


< Have You Ever Really Loved a Woman?   Home   Hobby Lobby Clearance>

Share your comments and experience:
Keep it short, Comments with bad words, spam and non-related will be deleted.

Name:   Location:
Captcha:   <-- This is the Captcha
Your Comments:

Bookmark or Bookmark and Share Suscribe to RSS Feeds

10 most viewed pages:

- How To Make a Speaker
- Hi-fidelity Homemade Loudspeaker.
- Tachometer/RPM II.
- Homemade WiFi Lid Antenna.
- Super Simple Sun Tracker.
- Led Clock
- USB LED Light.
- How To Repair Sony PSP
- Knowing Everything.
- Matrix Led Display.

Articles related:

- 555 Circuits
- 555 Circuits II
- AC LEDs.
- ADC without ADC.
- Diode Circuits
- Emergency Light.
- FM Microphone.
- Hacking the LEGO NXT
- Hitachi LCD Displays
- Homemade COLDHEAT.
- How COLD HEAT Works?
- How To Control Multiple Leds
- How Battery-free Flashlights Works.
- How To Repair Sony PSP
- How To Repair Dell E172Fbp Display
- LCD GD-1505 AP
- LED Chaser.
- "Lens Error" on Kodak cameras.
- Logic Probe.
- Mini Amplifier with LM386.
- Ni-Cad Battery Charger with LM317
- One Second Timebase.
- PWM using 555.
- Reset a frozen iPod.
- Resistors
- Displays: LED Matrix
- Strobe from Flash.
- Tachometer Circuit.
- Traffic Light.
- Transformerless Power Supply.
- Transistor Tester Circuit
- Transistor LED Flasher
- Where to get parts.

All categories:

- about
- advertisement
- audio
- automobile
- bad_ones
- best
- circuits
- computer
- discover
- diy
- electronics
- fail
- food
- from_readers
- funny
- furniture
- hacks
- homemade
- how_it_works
- howto
- humor
- interesting
- lego
- light
- microcontroller
- mysql
- opinion
- php
- projects
- readings
- realmeal
- religion
- robots
- science
- scripts
- trips
- videos
- websites
- woodworking


Mr. Counter says: 1521 views.

Search Article

Additional Links:

- Mary's Creations.
- Publicidad Gráfica.
- Todito Yucatán
- Lucina Castillo's Art
- Conoce Amigos en Dalnet
- Narciso González' Alebrijes

Need to contact me?
e-mail address
Please get a good reason before sending me an e-mail.

IE, Firefox, SeaMonkey & Opera tested OK, Some features may not work with Google Chrome. © 2006 - 2009 José Pino - JPC-PHP V5.0
If any information, data, picture or design infringes a copyright material, please send me an e-mail asking to remove it along with the supporting data.