I2C OLED Display Guide: Wire the SSD1306 to Arduino or ESP32

An I2C OLED display with the SSD1306 driver needs 4 wires: GND, VCC, SCL, and SDA. It runs on 3.3V to 5V with Arduino, ESP32, and ESP8266 boards. The 0.96 inch module costs $7.49 at 128 by 64 pixels. The 0.91 inch module costs $9.99 at 128 by 32 pixels.

Shipped fast and securely from our secure facility in New York, providing fast, high quality USA shipping.

How does I2C wiring work?

Wire SDA and SCL to the I2C pins, and VCC and GND to power.

The bus needs 4 wires total for the display and the board.

The 0.96 inch module address is selectable between 0x3C and 0x3D.

Which size: 0.96 or 0.91 inch?

The 0.96 inch module has 128 by 64 pixels in 3 colors.

The 0.91 inch module has 128 by 32 pixels in white.

Both use the SSD1306 driver and the same 4-pin interface.

Which library drives the display?

Drive either module with the Adafruit SSD1306 library or U8g2.

Initialize the library with the size and the I2C address.

Both libraries support the 128 by 64 and 128 by 32 sizes.

What if the screen stays dark?

Check the address first: try 0x3C, then 0x3D.

Check SDA and SCL are not swapped, and check the voltage.

An I2C scanner sketch lists every device on the bus.

What did we check on the bench?

We matched the 4 pins and the 3.3V to 5V range to both listings.

We matched the address select and soldered headers to the 0.96 inch listing.

We matched the prices to the live store prices on November 12, 2026.

Quick comparison

ModuleSizePixelsPrice
0.96 inch OLED0.96 inch128 by 64$7.49
0.91 inch OLED0.91 inch128 by 32$9.99
ESP32 OLED board0.96 inch built in128 by 64$14.99

Steps

  1. Connect GND to ground and VCC to power.
  2. Connect SDA and SCL to the I2C pins.
  3. Install the Adafruit SSD1306 or U8g2 library.
  4. Initialize the library with the size and address.
  5. Upload and confirm text appears on the display.

Frequently asked questions

What I2C address does the display use?

0x3C or 0x3D. The 0.96 inch module address is selectable on the back of the board.

Is 5V safe for these modules?

Yes. Both listings state 3.3V to 5V.

Which libraries drive the SSD1306?

The Adafruit SSD1306 library or the U8g2 library.

What colors do the modules come in?

The 0.96 inch module comes in yellow-blue, white, or blue. The 0.91 inch module is white.

Parts used

0.96 Inch OLED Display Module, SSD1306, I2C, 128×64, for Arduino / ESP32 / ESP8266, $7.49

1 Pack 0.91 Inch I2C IIC OLED Display Module 128×32 Pixel, White, $9.99

HiLetgo ESP32 OLED WiFi Bluetooth Development Board, 0.96 Inch Display, ESP-WROOM-32, $14.99

Sensor Modules

ESP32 and ESP8266

Arduino Compatible Boards

Connectors and Wiring

Related buying guides on Quality RC Parts

I2C OLED Display Guide: Wire the SSD1306 to Arduino or ESP32

ESP32 Boards with Built-In Displays: TFT vs OLED Compared

TFT LCD Displays for Arduino and ESP32 Projects Guide

Browse all the guides on the Quality RC Parts Drone Guides hub, or start at the Quality RC Parts store.

Sources

Quality RC Parts stocks parts in New York, USA and ships in-stock orders in 1-2 business days.

Last updated: 2026-11-12.

MTSUAV

Plugins built by store owners, for store owners.

© 2026 MTSUAV — Independent Drone Research

Hands-on. Never theoretical.