
21-6
x86 MICROPROCESSORS
21.3 | Interfacing with LCD Displays
21.3.1 | Liquid Crystal Displays (LCDs)
The technical details of LCD displays have been dealt with in Section 9.10. Please refer
to that before reading the following discussion. Now, let us do some display activities
using a 16 × 2 LCD. Refer Fig. 21.4 for the connections between the LCD module and
8051. Data and commands are sent from the ports of 8051. Port 1 is used as the data port,
and pins P2.1 and P2.2 are used for RS and E.
i) VSS and R/W are connected to ground.
ii) VCC is connected to 5 V supply.
iii) VEE is connected through a 10 K pot to the supply for contrast adjustment. ...