This 16-character 2-line parallel liquid crystal display achieves alarge viewing area in a compact package. It uses the common HD44780interface (330k pdf) so sample interface code is widely availablefor a variety of microcontrollers. This LCD is also available with a backlight.
The DDRAM address 0x00 corresponds to the first character of the topline address 0x0F corresponds to the last character of the top lineaddress 0x40 corresponds to the first character of the second line andaddress 0x4F corresponds to the last character of the second line.
You can find sample HD44780 LCD interface code written for a varietyof AVR microcontrollers as part of the Pololu AVR library.
Pin | Symbol | Function |
---|
1 | Vss | ground (0 V) |
2 | Vdd | 5 V logic supply voltage |
3 | Vo | contrast adjustment |
4 | RS | H/L register select signal |
5 | R/W | H/L read/write signal |
6 | E | H/L enable signal |
7-14 | DB0 ? DB7 | H/L data bus for 4- or 8-bit mode |