SSD1306 OLED 0.96" 128x64 (SPI, 7 pins) with ESP32
Supply 3.3-5 V
Bus SPI
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| GND | Ground | GND | |
| VCC | Power | 3V3 | |
| D0 | SPI clock | D18 | SPI clock (SCK) |
| D1 | SPI MOSI | D23 | SPI data (MOSI) |
| RES | Input (the ESP32 drives it) | D25 | Reset |
| DC | Input (the ESP32 drives it) | D26 | Data / command select |
| CS | SPI chip select | D5 | SPI chip select |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- Solomon Systech SSD1306 datasheet, 4-wire SPI interface: D0 = SCLK, D1 = SDIN, D/C#, CS#, RES#
Try it in 3D in BoardPilot
Related parts
APA102 / SK9822 LED strip (clock + data)E-paper 1.54" 200x200 (SPI)E-paper 2.13" 250x122 (SPI)E-paper 2.9" 296x128 (SPI)E-paper 4.2" 400x300 (SPI)GC9A01 1.28" round IPS 240x240 (SPI)
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.