If a designer has used 2x16 dot matrix LCD (Liquid crystal display) in his application, then most probably the designer must have used a display based on HD44780 controller chip. When we say 2x16, it meant, 2 rows with 16 characters per line. While there are other line counts and character count possible, let us restrict our discussion to 2x16.
The functionality of HD44780 is to isolate the LCD driving functionality and provide a simple interface to data drivers likes microcontrollers. The controller has a display RAM which helps to compensate for the speed differences between external controller and the display.
Below is the block diagram of the HD44780 controller from its' datasheet:
- CL (Latch)
- SEG (Segment)
- COM (Common)
HD44780 has two registers:
- Data Register (DR)
- Instruction Register (IR)
HD44780 also has two registers:
- Display Data RAM (DDRAM)
- Character Generator RAM (CGRAM)
/The Data Register (DR) writes the DDRAM and CGRAM. Data written into the DR from the MPU is automatically written into
DDRAM or CGRAM by an internal operation.
The pin connectivity of 2x16 LCD to interface to controller is as below:
0 Comments