Manual LCD Makes Information Display Tedious, Educational

The HD44780 is one of the first chips we learned about as a kid, and chances are good you’ve used one in your project at some point, and almost certain that you’ve interacted with one in your life. The character LCD is ubiquitous, easy to interface, and very robust. They come in sizes from 8 x 1 to 20 x 4 and even larger, but they almost all have the same pinout, and there are libraries in many embedded environments for interacting with them. [The 8-Bit Guy] decided to interface with one using just switches and a button, (YouTube, embedded) with the intent of illustrating exactly how to use them, and how easy they are.

If you’ve never used a character LCD before and want a great introduction to them, this is the video for you. It turns out that there’s no clock to worry about, and the instruction set is easily discerned from a datasheet table. [The 8-Bit Guy] even gets fancy with additional commands.

These displays have featured quite frequently here at Hackaday. Just a couple of many are this serial drive hack using a PIC microcontroller, and exploiting the custom characters to create non-character graphics.

Thanks [emuboy] for the tip.

28 thoughts on “Manual LCD Makes Information Display Tedious, Educational

  1. “The character LCD is ubiquitous, easy to interface, and very robust”

    And also very ugly, without proper descenders, and low resolution. Why can’t we have a 8×16 character matrix version already ?

    1. And why can’t it have a variety of fonts and 24 million colors, with full Unicode support? With a multitouch touch screen. And …

      The answer is, because it does what it was designed to do, so nobody has bothered to redesign it. For people who need prettier displays, there are full graphics displays in a variety of resolutions.

      1. No, there are plenty of applications that don’t need fancy displays, and can’t afford to interface a full color graphics display (uses more power, more RAM, and more processing).

        So, there’s a good market for simple text displays with simple interfaces. I would just like a few small tweaks to make it less ugly. That’s something that doesn’t really have to cost any more with today’s technology, and would keep the interface compatible.

    1. A SPDT DIP-sized switch: CJS-1200TA1
      A SPDT tiny rotary switch: 7813J-1-051E
      A 4-up double-wide SPDT array: CTS’s 206-1245 (each switch corresponds to four pins underneath, two are NO and two are NC)
      A 2-up normal-width SPDT DIP array: CAS-D20TA1
      A 10-up SPDT specifically designed to connect each switch to one common, the other common, or float: KAT1110E

  2. Today (04 sep 2018) i was reading about AI ( Artificial Intelligence). I suddenly realized that HD44780 was a primitive example of the much more sophisticated AI that I was reading about !

    example: the Clk signal to the LCD requires depends entirely on the HD44780 driving it. The 3 control signals from an Arduino that operate the HD44780 do NO include a CLK .

    Once this data has been loaded from the Arduino the HD44780 SLOWLY produces the necessary Clk signals for each of the 5×8, 40 pixels,of an LCD character ; HD44780 loads the 5 vertical pixels of that character without any reference to the Arduino. The HD44780 has circuitry that translate the 8bits/character input, representing 256 possible ASCII inputs, into a the appropriate 40 pixels that will form that character.

    The Arduino is not occupied with the details of sorting out which of the 256 ASCII inputs have been loaded into it by a human operator. While the HD44780 is just starting to be occupied with the details of the ASCII inputs, the Arduino can perform many even 100 other commands functions.

    In the article about AI that i have read the author has used terms such as “read” ,” write”, which can be MISLEADING to the “naive”, because the HD44780 has no physical means to actually perform any of these actions.

    What confusion will the future bring when camera , image analysis, artificial speech annunciators are active ?

Leave a Reply to VoxnullaCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.