Schematex
breadboard·Fritzing visual conventions (no ISO standard)·education, maker, iot·complexity 2/3·since v0.4.0

ESP32 + SSD1306 OLED I²C

ESP32 DevKit driving a 128×64 OLED display over I²C — four wires (3V3 / GND / SDA / SCL). The standard "first display" project for ESP32 learners.

For the ESP32 / IoT learner

Open in Playground →
schematex§ source-defined
ESP32 + SSD1306 OLED I²C Breadboard wiring diagram generated by Schematex ESP32 + SSD1306 OLED I²C 5 10 15 20 25 30 5 10 15 20 25 30 a a f f b b g g c c h h d d i i e e j j 3V3ENGPIO36GPIO39GPIO34GPIO35GPIO32GPIO33GPIO25GPIO26GPIO27GPIO14GPIO12GNDGPIO13VINGPIO23GPIO22GPIO1GPIO3GPIO21GNDGPIO19GPIO18GPIO5GPIO17GPIO16GPIO4GPIO0GPIO2GPIO15ESP32 DevKit GNDVCCSCLSDAOLED 128×64
17 lines · 351 chars
✓ parsed·0.0 ms·0 B
100%

The SSD1306 OLED is the canonical first display project for an ESP32. Four wires get a 128×64 pixel monochrome display running over I²C. Two things differ from the equivalent Arduino Uno setup:

3.3 V supply, not 5 V. The ESP32 runs at 3.3 V on every pin including its supply rail. Wiring an OLED to the Uno's 5 V will work, but mixing in 5 V signals from a Uno into the same I²C bus as the ESP32 will damage the ESP32. Stay on the 3V3 rail.

Default I²C pins are GPIO21 (SDA) and GPIO22 (SCL). The Adafruit / Espressif convention is green for SDA and white for SCL — preserved here. These pins are remappable in firmware via Wire.begin(sda, scl) if you need them elsewhere.

Breadboard syntax