HD44780 is one of the most popular LCD controllers used in many LCD modules in industrial
and commercial applications and also by hobbyists. The module is monochrome and
comes in different shapes and sizes. Modules with character lengths of 8, 16, 20, 24, 32, and
40 can be selected. Depending on the model chosen, the display provides a 14-pin or a 16-pin
connector to interface to the external world. Table 4.15 shows the pin configuration and pin
functions of a typical 14-pin LCD.
and commercial applications and also by hobbyists. The module is monochrome and
comes in different shapes and sizes. Modules with character lengths of 8, 16, 20, 24, 32, and
40 can be selected. Depending on the model chosen, the display provides a 14-pin or a 16-pin
connector to interface to the external world. Table 4.15 shows the pin configuration and pin
functions of a typical 14-pin LCD.
VSS is the 0 V supply or ground. VDD pin should be connected to the positive supply. Although
the manufacturers specify a 5-V DC supply, the modules will usually work with as low as 3 V
or as high as 6 V.
the manufacturers specify a 5-V DC supply, the modules will usually work with as low as 3 V
or as high as 6 V.
Pin 3 is named as VEE, and this is the contrast control pin. This pin is used to adjust the contrast
of the display and it should be connected to a DC supply. A potentiometer is usually
connected to the power supply with its wiper arm connected to this pin and the other leg of
the potentiometer connected to the ground. This way, the voltage at the VEE pin and hence the
contrast of the display can be adjusted as desired.
of the display and it should be connected to a DC supply. A potentiometer is usually
connected to the power supply with its wiper arm connected to this pin and the other leg of
the potentiometer connected to the ground. This way, the voltage at the VEE pin and hence the
contrast of the display can be adjusted as desired.
Pin 4 is the Register Select (RS), and when this pin is LOW, data transferred to the LCD is treated
as commands. When RS is HIGH, character data can be transferred to and from the module.
as commands. When RS is HIGH, character data can be transferred to and from the module.
Pin 5 is the Read/Write (R/W) pin. This pin is pulled LOW to write commands or character
data to the LCD module. When this pin is HIGH, character data or status information can be
read from the module.
data to the LCD module. When this pin is HIGH, character data or status information can be
read from the module.
Pin 6 is the Enable (EN) pin that is used to initiate the transfer of commands or data between
the module and the microcontroller. When writing to the display, data is transferred only on
the HIGH to LOW transition of this pin. When reading from the display, data becomes available
after the LOW to HIGH transition of the enable pin, and this data remains valid as long
as the enable pin is at logic HIGH.
Pins 7–14 are the eight data bus lines (D0–D7). Data can be transferred between the microcontroller
and the LCD module either using a single, 8-bit byte or as two, 4-bit nibbles. In the
latter case, only the upper four data lines (D4–D7) are used. The 4-bit mode has the advantage
that fewer I/O lines are required to communicate with the LCD.
1 VSS Ground
2 VDD +ve supply
3 VEE Contrast
4 RS Register select
5 R/W Read/write
6 EN Enable
7 D0 Data bit 0
8 D1 Data bit 1
9 D2 Data bit 2
10 D3 Data bit 3
11 D4 Data bit 4
12 D5 Data bit 5
13 D6 Data bit 6
14 D7 Data bit 7
2 VDD +ve supply
3 VEE Contrast
4 RS Register select
5 R/W Read/write
6 EN Enable
7 D0 Data bit 0
8 D1 Data bit 1
9 D2 Data bit 2
10 D3 Data bit 3
11 D4 Data bit 4
12 D5 Data bit 5
13 D6 Data bit 6
14 D7 Data bit 7
No comments:
Post a Comment