Skip to content
displays / oled-ssd1306.md

0.96" SSD1306 OLED

Tiny I²C/SPI monochrome OLED with the Solomon Systech SSD1306 controller. Crisp dark blacks, no backlight. 128×64 pixels is standard; 128×32 variant exists.

In stock Solomon Systech 1 files · 1.8 MB

Specs

Spec Value
Controller SSD1306
Resolution 128×64 (or 128×32)
Colors 1-bit mono (white or blue/yellow split)
Bus I²C or SPI (jumper-selectable on most modules)
I²C address 0x3C (or 0x3D)
Voltage 3.3 V (5 V tolerant on most modules with onboard LDO)
Active current ~20 mA
Sleep current ~10 µA

Wiring (I²C, Arduino Uno)

Module Arduino
VCC 3.3 V or 5 V
GND GND
SCL A5
SDA A4

Code

#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

Adafruit_SSD1306 oled(128, 64, &Wire, -1);

void setup() {
  oled.begin(SSD1306_SWITCHCAPVCC, 0x3C);
  oled.clearDisplay();
  oled.setTextSize(2);
  oled.setTextColor(SSD1306_WHITE);
  oled.setCursor(0, 0);
  oled.println("circuit\n.rocks");
  oled.display();
}
void loop() {}

Libraries: Adafruit GFX Library + Adafruit SSD1306 (Library Manager).

Schematic

SSD1306 application circuit on page 8 of the datasheet PDF. Modules add a 3.3 V LDO, a level shifter, I²C pull-ups, and a charge-pump cap.

Last updated: 2026-05-13 · Source on GitHub