OLED (I2C) - 128X64 0.96 inch Display Module

SKU: VX1002
0.96 inch 128x64 I2C OLED display module, front view showing the GND, VCC, SCL and SDA pin labels

OLED (I2C) - 128X64 0.96 inch Display Module

SKU: VX1002
Regular price $7.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • In stock, ready to ship
  • Inventory on the way

Add $100.00 more for free shipping

Tax included. Shipping calculated at checkout.

10+ in stock

You'll also need

Choose a quantity and add it to your cart.

Breadboard 400 holes
$4.4910+ in stock
Breadboard Jumper Wire - 140pcs
$11.9910+ in stock

A 0.96 inch, 128 × 64 pixel OLED display with an SSD1306 driver and a four-wire I2C connection.

The OLED (I2C) 128X64 0.96 inch Display Module shows text and simple graphics from an Arduino, ESP32 or Raspberry Pi using only GND, VCC, SCL and SDA. It runs from a 3 V to 5 V supply and leaves your other pins free.

Display
128 × 64 OLED
Driver
SSD1306
Interface
I2C, 4 pins
Supply
3 V to 5 V DC

Why choose it

  • Only four wires — I2C needs just SDA and SCL plus power, so the rest of your pins stay free and other I2C devices can share the same two wires.
  • Works on 5 V and 3.3 V boards — the 3 V to 5 V supply range suits both Arduino UNO and ESP32 without extra parts.
  • Low power — 0.08 W with the full screen lit, and the display needs no backlight.

Specifications

Display
Display type OLED, monochrome
Resolution 128 × 64 pixels
Driver IC SSD1306
Active area 21.74 × 11.2 mm (approx.)
Panel dimensions 26.70 × 19.26 × 1.85 mm (approx.)
Electrical
Interface I2C (IIC)
Supply voltage 3 V to 5 V DC
Power, full screen lit 0.08 W
Drive duty 1/64
Operating temperature −30 °C to +70 °C
Connection
Pins 4: GND, VCC, SCL, SDA
I2C address (7-bit) 0x3C (the SSD1306 also allows 0x3D)

Compatibility

Platform Works Notes
Arduino UNO / Nano (5 V) ✓ Yes Power from 5V. I2C pins are A4 (SDA) and A5 (SCL).
ESP32 / ESP8266 (3.3 V) ✓ Yes Power from 3V3. ESP32 default I2C pins are GPIO21 (SDA) and GPIO22 (SCL).
Raspberry Pi ✓ Yes Power from the 3.3 V pin. I2C pins are GPIO2 (SDA) and GPIO3 (SCL).
Software ✓ Yes Arduino IDE with the Adafruit SSD1306 and Adafruit GFX Library libraries.

In the box

Included
  • 1 × 0.96 inch 128 × 64 OLED display module (I2C)

Applications

  • Show sensor readings such as temperature or distance on a small project.
  • Build a clock, timer or counter display.
  • Add a status screen to an ESP32 or Arduino project.

Tutorial

What you'll build: Connect the OLED module with four wires and show “Hello!” and a short message on the screen. About 20 minutes.

Choose your board

Board Logic voltage Pins used Language Best for
Arduino UNO 5 V A4 (SDA), A5 (SCL) C++ (Arduino IDE) First-time users
ESP32 3.3 V GPIO21 (SDA), GPIO22 (SCL) C++ (Arduino IDE) Wi-Fi and Bluetooth projects

New to this? Start with the Arduino UNO.

How it works

The screen is made of 128 × 64 tiny lit dots called pixels. The SSD1306 chip on the module controls them, and your board talks to that chip over I2C.

  • GND — the return path for electricity. Every GND must be joined.
  • VCC — the power wire. This module accepts 3 V to 5 V.
  • I2C (SDA + SCL) — two wires: SDA carries the data and SCL is the clock that keeps both sides in step.
  • I2C address — the number that tells the board which device to talk to. This module uses 0x3C or 0x3D.
  • Library — ready-made code (Adafruit SSD1306 and Adafruit GFX) that draws text and shapes for you.
Arduino UNO Tutorial

You need: Arduino UNO R3, USB cable (a data cable, not charge-only), this OLED module, 4 female-to-female jumper wires (or male-to-female if you use a breadboard).

Wiring diagram: 0.96 inch OLED module to Arduino UNO. GND to GND, VCC to 5V, SCL to A5, SDA to A4 Arduino UNOLogic level 5 VGND5VA5 / SCLA4 / SDA0.96" OLED moduleGNDVCCSCLSDAModule pin order, left to right on the board: GND, VCC, SCL, SDA

■ Power ■ GND ■ SDA (data) ■ SCL (clock) ⌒ = wires cross, not connected

# Arduino UNO pin Module pin Wire Notes
1 GND GND Dark Ground (the return path).
2 5V VCC Red Power. The module accepts 3 V to 5 V.
3 A5 (SCL) SCL Yellow I2C clock.
4 A4 (SDA) SDA Blue I2C data.

On the UNO R3, SDA and SCL are also printed as two extra pins near the USB socket. They are the same pins as A4 and A5.

Watch out: Unplug the USB cable before you move any wire. Check the pin labels printed on your module (GND, VCC, SCL, SDA) before connecting power, and never swap VCC and GND.

1
Install the Arduino IDE
Download and install the Arduino IDE. Open it once it finishes installing.
2
Install two libraries
Click Sketch → Include Library → Manage Libraries. Search for Adafruit SSD1306 (by Adafruit) and click Install (library page). Then search for Adafruit GFX Library (by Adafruit) and click Install (library page). If the IDE asks to install dependencies, choose Install all.
3
Find the I2C address
Connect the board to your computer. Choose Tools → Board → Arduino AVR Boards → Arduino Uno, then choose the port under Tools → Port. Paste the scanner below into a new sketch, click Upload, then open Tools → Serial Monitor and set it to 115200 baud (the speed the computer and board talk at).
▸ Example 1 — I2C scanner (finds the module address)
#include <Wire.h>

void setup()
{
  Wire.begin();
 
  Serial.begin(115200);
  Serial.println("\nI2C Scanner");
}
 
 
void loop()
{
  byte error, address;
  int nDevices;
 
  Serial.println("Scanning...");
 
  nDevices = 0;
  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Wire.endTransmission to see if
    // a device did acknowledge to the address.
    Wire.beginTransmission(address);
    error = Wire.endTransmission();
 
    if (error == 0)
    {
      Serial.print("I2C device found at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.print(address,HEX);
      Serial.println("  !");
 
      nDevices++;
    }
    else if (error==4)
    {
      Serial.print("Unknown error at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.println(address,HEX);
    }    
  }
  if (nDevices == 0)
    Serial.println("No I2C devices found\n");
  else
    Serial.println("done\n");
 
  delay(5000);           // wait 5 seconds for next scan
}

✓ Check: The Serial Monitor shows I2C device found at address 0x3C ! and then done. If it shows 0x3D, use 0x3D in the next sketch.

4
Upload the Hello! sketch
Paste the sketch below, click Upload, and wait for “Done uploading”.
▸ Example 2 — Hello! on the OLED
// Wiring: GND->GND, VCC->5V, SCL->A5, SDA->A4
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

const int SCREEN_WIDTH = 128;   // display width in pixels
const int SCREEN_HEIGHT = 64;   // display height in pixels
const uint8_t SCREEN_ADDRESS = 0x3C;   // ✏️ you can change this: use 0x3D if the scanner shows 0x3D

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);   // -1 = no reset pin

void setup() {
  Serial.begin(115200);   // speed of the Serial Monitor
  delay(500);

  // Start the display. SSD1306_SWITCHCAPVCC = make the panel voltage on the module itself.
  if (!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
    Serial.println("SSD1306 display not found - check wiring");
    for (;;);   // stop here
  }
  Serial.println("OK - epartners.co.nz test");

  display.clearDisplay();               // wipe the screen buffer
  display.setTextColor(SSD1306_WHITE);  // draw lit pixels
  display.setTextSize(2);               // ✏️ you can change this: 1 = small, 2 = medium, 3 = large
  display.setCursor(0, 0);              // top-left corner
  display.println("Hello!");
  display.setTextSize(1);
  display.println();
  display.println("128 x 64 OLED");
  display.println("I2C address 0x3C");
  display.display();                    // send the buffer to the screen (always needed)
}

void loop() {
  // nothing to repeat in this example
}

✓ Check: The OLED shows “Hello!”, “128 x 64 OLED” and “I2C address 0x3C”, and the Serial Monitor (115200 baud) prints OK - epartners.co.nz test once.

ESP32 Tutorial

You need: ESP32 DevKitC (ESP32-WROOM-32) board, USB data cable, this OLED module, 4 female-to-female jumper wires (or male-to-female if you use a breadboard).

Wiring diagram: 0.96 inch OLED module to ESP32 DevKitC. GND to GND, VCC to 3V3, SCL to GPIO22, SDA to GPIO21 ESP32 DevKitCLogic level 3.3 VGND3V3GPIO22 / SCLGPIO21 / SDA0.96" OLED moduleGNDVCCSCLSDAModule pin order, left to right on the board: GND, VCC, SCL, SDA

■ Power ■ GND ■ SDA (data) ■ SCL (clock) ⌒ = wires cross, not connected

# ESP32 pin Module pin Wire Notes
1 GND GND Dark Ground (the return path).
2 3V3 VCC Red Power from 3.3 V. Do not use 5 V (VIN) here.
3 GPIO22 (SCL) SCL Yellow I2C clock (default I2C pin).
4 GPIO21 (SDA) SDA Blue I2C data (default I2C pin).

Watch out: ESP32 pins are 3.3 V only. Power the module from 3V3, and unplug the USB cable before you move any wire. Check the pin labels printed on your board before connecting.

1
Install the Arduino IDE
Download and install the Arduino IDE. Open it once it finishes installing.
2
Install two libraries
Click Sketch → Include Library → Manage Libraries. Search for Adafruit SSD1306 (by Adafruit) and click Install (library page). Then search for Adafruit GFX Library (by Adafruit) and click Install (library page). If the IDE asks to install dependencies, choose Install all.
3
Add the ESP32 boards to the IDE
Open File → Preferences (Arduino IDE → Settings on a Mac). In “Additional boards manager URLs” paste https://espressif.github.io/arduino-esp32/package_esp32_index.json, then click OK. Open Tools → Board → Boards Manager, search for esp32 by Espressif Systems and click Install (official install guide).
4
Choose the board and port
Connect the ESP32 with the USB cable. Choose Tools → Board → esp32 → ESP32 Dev Module, then choose the port under Tools → Port.
5
Find the I2C address
Paste the scanner below, click Upload, then open the Serial Monitor at 115200 baud. If the upload fails, set Tools → Upload Speed → 115200 and upload again. The scanner works with the module on the default pins (GPIO21 and GPIO22).
▸ Example 1 — I2C scanner (finds the module address)
#include <Wire.h>

void setup()
{
  Wire.begin();
 
  Serial.begin(115200);
  Serial.println("\nI2C Scanner");
}
 
 
void loop()
{
  byte error, address;
  int nDevices;
 
  Serial.println("Scanning...");
 
  nDevices = 0;
  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Wire.endTransmission to see if
    // a device did acknowledge to the address.
    Wire.beginTransmission(address);
    error = Wire.endTransmission();
 
    if (error == 0)
    {
      Serial.print("I2C device found at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.print(address,HEX);
      Serial.println("  !");
 
      nDevices++;
    }
    else if (error==4)
    {
      Serial.print("Unknown error at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.println(address,HEX);
    }    
  }
  if (nDevices == 0)
    Serial.println("No I2C devices found\n");
  else
    Serial.println("done\n");
 
  delay(5000);           // wait 5 seconds for next scan
}

✓ Check: The Serial Monitor shows I2C device found at address 0x3C ! and then done. If it shows 0x3D, use 0x3D in the next sketch.

6
Upload the Hello! sketch
Paste the sketch below, click Upload, and wait for “Done uploading”. If it stays on “Connecting…”, hold the BOOT button on the board until uploading starts.
▸ Example 2 — Hello! on the OLED
// Wiring: GND->GND, VCC->3V3, SCL->GPIO22, SDA->GPIO21
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

const int SCREEN_WIDTH = 128;   // display width in pixels
const int SCREEN_HEIGHT = 64;   // display height in pixels
const uint8_t SCREEN_ADDRESS = 0x3C;   // ✏️ you can change this: use 0x3D if the scanner shows 0x3D

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);   // -1 = no reset pin

void setup() {
  Serial.begin(115200);   // speed of the Serial Monitor
  delay(500);

  // Start the display. SSD1306_SWITCHCAPVCC = make the panel voltage on the module itself.
  if (!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
    Serial.println("SSD1306 display not found - check wiring");
    for (;;);   // stop here
  }
  Serial.println("OK - epartners.co.nz test");

  display.clearDisplay();               // wipe the screen buffer
  display.setTextColor(SSD1306_WHITE);  // draw lit pixels
  display.setTextSize(2);               // ✏️ you can change this: 1 = small, 2 = medium, 3 = large
  display.setCursor(0, 0);              // top-left corner
  display.println("Hello!");
  display.setTextSize(1);
  display.println();
  display.println("128 x 64 OLED");
  display.println("I2C address 0x3C");
  display.display();                    // send the buffer to the screen (always needed)
}

void loop() {
  // nothing to repeat in this example
}

✓ Check: The OLED shows “Hello!”, “128 x 64 OLED” and “I2C address 0x3C”, and the Serial Monitor (115200 baud) prints OK - epartners.co.nz test once.

Troubleshooting

Board Problem Likely cause Fix
All Screen stays black VCC and GND swapped, or a loose wire Unplug USB, check the four wires against the pin table, then reconnect.
All Scanner shows “No I2C devices found” SDA and SCL swapped, or a loose wire Swap the SDA and SCL wires and press the jumper ends in firmly.
All Sketch prints “SSD1306 display not found” Wrong I2C address in the sketch Run the scanner and copy the address it shows into SCREEN_ADDRESS.
All Text appears but is cut off or in the wrong place Screen size set wrongly Keep SCREEN_WIDTH at 128 and SCREEN_HEIGHT at 64.
All Nothing appears after display.println() display.display() was not called Add display.display() after your drawing commands.
Arduino UNO No port appears under Tools → Port Charge-only USB cable, or the USB driver is missing Use a data USB cable and install the USB driver for your board.
ESP32 Upload fails or stops part-way Upload speed too high for the USB cable Tools → Upload Speed → 115200, then upload again.
ESP32 Stuck on “Connecting…” Board not in upload mode Hold the BOOT button until uploading starts.

Try next: Print a sensor reading on the screen instead of fixed text, or use display.drawRect() and display.drawCircle() from the Adafruit GFX library to draw shapes.

Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.

Good to know
  • Check the pin labels printed on the module (GND, VCC, SCL, SDA) before you connect power, and never swap VCC and GND.
  • Power the module from 3.3 V on 3.3 V boards (ESP32, Raspberry Pi) and from 5 V on Arduino UNO and Nano.
  • Several I2C devices can share SDA and SCL as long as each one has a different address.

Datasheet

Key figures from the manufacturer's datasheet for the SSD1306, the display driver on this module.

SSD1306 OLED driver
Display resolution 128 × 64 dots
Display RAM 128 × 64-bit SRAM display buffer
Logic supply (VDD) 1.65 V to 3.3 V
Panel driving supply (VCC) 7 V to 15 V
Operating temperature −40 °C to +85 °C
Interfaces 8-bit 6800 / 8080 parallel, 4-wire SPI, 3-wire SPI, I2C
I2C slave address (7-bit) 0111100 or 0111101, selected by SA0
Maximum segment source current 100 µA
Maximum common sink current 15 mA

Download the SSD1306 datasheet (PDF)

▸ Preview the datasheet

If the preview does not load on your device, use the download link above.

Source: Solomon Systech, SSD1306 128 × 64 Dot Matrix OLED/PLED Segment/Common Driver with Controller, Rev 1.1.

Resources

Which one should I choose?

Product Key difference Best for
This product: 0.96 inch OLED, 128 × 64, I2C 128 × 64 pixels, 0.96 inch, SSD1306 driver More text lines and small graphics
OLED (I2C) 0.91 inch 128 × 32 Display Module 128 × 32 pixels, 0.91 inch Slim, compact status displays
WeMos OLED (I2C) 64 × 48 Display Shield 64 × 48 pixels, shield format WeMos D1 mini boards

FAQ

▸ Does this OLED work with Arduino UNO and ESP32?

Yes. The module accepts 3 V to 5 V DC, so power it from 5V on an Arduino UNO or from 3V3 on an ESP32. Both boards connect with the same four wires: GND, VCC, SCL and SDA.

▸ What is the I2C address?

Most modules with the SSD1306 driver answer at 0x3C. Run the I2C scanner in the Tutorial to read your address. If it shows 0x3D, change SCREEN_ADDRESS in the sketch to 0x3D.

▸ Which libraries do I need?

Install Adafruit SSD1306 and Adafruit GFX Library from the Arduino IDE Library Manager. The Tutorial shows the exact steps.

▸ Is the display colour?

No. It is a monochrome display, so each pixel is either lit or off.

▸ Can I use it with other I2C modules at the same time?

Yes. I2C devices share the SDA and SCL wires as long as each device has a different address.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed