A 16x2 character LCD can be connected to an Arduino UNO using 4-bit mode. The LCD has 16 pins, where the power pins (VCC, GND) provide supply, and the contrast is controlled using a 10k potentiometer. The RS and EN pins connect to Arduino digital pins to control commands, and four data pins (D4–D7) send the text data from the Arduino to the display. The backlight is powered through a 220Ω resistor. This setup allows the Arduino to display messages, sensor values, or any data on the LCD screen.
Connections:
LCD Pin Name Connect to Arduino UNO
1 GND GND
2 VCC 5V
3 VO (Contrast) Middle pin of 10k potentiometer
4 RS D12
5 RW GND
6 EN D11
11 D4 D5
12 D5 D4
13 D6 D3
14 D7 D2
15 LED+ 5V (through 220Ω resistor)
16 LED- GND