Liquid Crystal Display (LCD)
Liquid Crystal Display (LCD)
Liquid Crystal Display (LCD)
When sufficient voltage is applied to the electrodes the liquid crystal molecules
would be aligned in a specific direction. The light rays passing through the LCD would be
rotated by the polarizer, which would result in activating/highlighting the desired characters.
The power supply should be of +5V, with maximum allowable transients of 10mV. To
achieve a better/suitable contrast for the display the voltage (V) at pin 3 should be adjusted
properly. A module should not be removed from a live circuit.
The ground terminal of the power supply must be isolated properly so that voltage is
induced in it. The module should be isolated properly so that stray voltages are not induced,
which could cause a flicking display. LCD is lightweight with only a few, millimetres
thickness since the LCD consumes less power, they are compatible with low power electronic
circuits, and can be powered for long durations. LCD does not generate light and so light is
needed to read the display. By using backlighting, reading is possible in the dark. LCDs have
long life and a wide operating temperature range. Before LCD is used for displaying proper
initialization should be done. LCD is used to display the blood group and blood glucose level.
6.2.1 LCD Pin description
The function of each pins of LCD is described below VCC, VSS and VEE while VDD and
VSS provide +5V and ground, respectively, VEE is used for controlling LCD contrast.
6.2.2 Register select
There are two important registers inside the LCD. The RS pin is used for selection as
follows. If RS=0, the instruction code register is selected, allowing the user to send a
command such as clear display, cursor at home, etc. If RS=1 the data register is selected,
allowing the user to send data to be displayed on the LCD.
6.2.3 Read/Write
R/W input allows the user to write information to the LCD or read information from
it. R/W=1 when reading; R/W=0 when writing.
6.2.4 Enable
The enable pin is used by the LCD to latch information presented on its data pins.
When data is supplied to data pins, a high to low pulse must be applied to this pin in order for
the LCD to latch in the data present at the data pins.
6.2.5 D0 - D7
The 8-bit data pins, D0 – D7, are used to send information to the LCD or read
contents of the LCD’S internal registers. There are also instruction codes that can be sent to
the LCD to clear the display or force the cursor to the home position or blink the cursor.
RS=0 is used to check the busy flag bit to see if the LCD is ready to receive information. The
busy flag is D7 and can be read when R/W=1 and RS=0, as follows: if R/W=1, RS=0.when
D7=1, the LCD is busy taking care of internal operation and will not accept any new
information, when D7=0, the LCD is ready to receive new information.
4 RS Register select
RS=0…Instruction register
RS=1…Data register
5 R/W Read/Write
R/W=1…Read
R/W=0…Write
6 EN Enable