LCD 16x2 (parallel, 16 pins) with ESP32

Supply 5 V Bus GPIO
VSSVDDV0RSRWED0D1D2D3D4D5D6D7AK

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VSSGroundGND
VDDPowerVINNeeds 5 V: use VIN
V0Not wired to the ESP32—Contrast: to the middle of a 10 kΩ potentiometer
RSInput (the ESP32 drives it)D25Register select
RWGroundGNDTie to GND (write only), so the LCD never drives 5 V into the ESP32
EInput (the ESP32 drives it)D26Enable
D0Not wired to the ESP32—Not used in 4-bit mode
D1Not wired to the ESP32—Not used in 4-bit mode
D2Not wired to the ESP32—Not used in 4-bit mode
D3Not wired to the ESP32—Not used in 4-bit mode
D4Input (the ESP32 drives it)D27
D5Input (the ESP32 drives it)D32
D6Input (the ESP32 drives it)D33
D7Input (the ESP32 drives it)D23
ANot wired to the ESP32—Backlight anode: to 5 V (most modules have a resistor)
KNot wired to the ESP32—Backlight cathode: to GND

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

This module is sold for 5 V. Its outputs may be 5 V: use a level shifter or a voltage divider on ESP32 inputs.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.