On the previous page, we learned how to find the connector holes that match chip pins. Here is the resulting pinout for the Nanox NDM082 module:
Pinouts for standard 14 pin LCD display (thanks to correction by Spud).
Good news! This matches the industry-standard pinout on most alphanumeric LCD text displays.
Like many LCDs, this supports 4-bit mode. You can read and write using only the top four data pins (Data4 to Data7) in two steps to read/write the full eight bits.
Basically, the protocol works like this:
You can write commands to clear the screen, move to a position on the screen, etc. You can write characters to the current screen position. You can read the LCD status (busy bit, etc). You can read characters from the current screen position.
You must follow a specific initialization sequence at power up. This involves waiting for the LCD to be ready, setting the interface as 4 bit or 8 bit (a couple of times with waits in between), clearing the screen, turning the display on, and so on. The exact sequence is specified in the datasheet, but it follows the same sequence I’ve seen for other displays.
There are still three holes that need to be discussed. Pin 3 on the connector is for contrast. Two other holes are on the front side of the module for the backlight. The next page explains how to hook these up.