Circuit

Connecting LCD Display (LCD1602) to the Raspberry Pi Pico

We will be using parallel interface in 4bit mode. Remaining Pins like D0 to D3 won't be connected.

LCD Pin Wire ESP32 Pin Notes
GND
GND Ground
VCC
Vin 5V Power Supply
SCL
GPIO 18 Connects the clock signal (SCL) for I2C communication.
SDA
GPIO 23 Connects the data signal (SDA) for I2C communication.

lcd1602

If you've seen the circuit in the Pico book, you’ll notice how many pins are required for the parallel interface, making the wiring congested. Using I2C variant simplifies the setup and makes it much easier.