A liquid crystal display (LCD) is an electronic display unit that is generally used in computers, TVs, smartphones, and cameras. A 16x2 LCD is a basic LCD module that is generally used in electronics or DIY projects. As the name suggests, a 16x2 LCD consists of 16 columns and 2 rows. This means that it has two lines, on each of which we can display a maximum of 16 characters. A 16x2 LCD consists of 16 pins labeled from VSS to K, as shown in the following photo:
Each pin on the LCD can be described as follows:
Pin number | Name | How it works |
1 |
VSS (GND) |
Ground pin. |
2 |
VCC |
The VCC pin requires 5V of power in order to turn on the LCD module. |
3 |
Vo |
Using this pin, we can adjust the contrast of LCD. We can connect it to GND for maximum contrast. If you want to vary the contrast, connect it to the data pin of a potentiometer. |
4 |
RS (Register ... |