SSD1309 2.42" OLED 128x64 (SPI) with ESP32

Supply 3.3-5 V Bus SPI
GNDVCCSCKSDARESDCCS

Pins and ESP32 wiring

PinRoleESP32 pinNotes
GNDGroundGNDPin order varies between boards: match by the printed label.
VCCPower3V33.3 V or 5 V (on-board regulator on most boards)
SCKSPI clockD18SPI clock. Some boards print SCL: still SPI, not I2C
SDASPI MOSID23SPI data (MOSI), not I2C
RESInput (the ESP32 drives it)D25Reset. Needed: the SSD1309 will not start without a reset pulse
DCInput (the ESP32 drives it)D26Data / command select
CSSPI chip selectD5

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

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.