DIYables OLED 128x32

OLEDDisplays
Buy on Amazon
OLED display 128x32 I2C white 0.91 inch for Arduino ESP32 ESP8266 projects Click to zoom
OLED display 128x32 I2C white 0.91 inch for Arduino ESP32 ESP8266 projectsSSD1306 OLED screen 128x32 pixels with I2C interface for microcontroller displays0.91 inch OLED display module showing 4-pin I2C connection VCC GND SCL SDAWhite OLED 128x32 display self-luminous screen for Arduino ESP32 projectsOLED display dimensions 128x32 resolution 12mm x 38mm compact size module

Quick Overview

This DIYables OLED 128x32 display features a 0.91 inch white self-luminous screen with 128x32 pixel resolution and I2C interface. The SSD1306 driver chip ensures easy integration with Arduino, ESP32, ESP8266, and Raspberry Pi using the popular Adafruit SSD1306 library.

The compact 12mm x 38mm module operates on 3V to 5V, making it compatible with both 3.3V and 5V microcontrollers. The OLED technology provides excellent contrast with >160° viewing angle and ultra-low power consumption (0.08W at full brightness), requiring no backlight.

Ideal for displaying text, graphics, sensor data, and status information in embedded projects. The I2C interface simplifies wiring with just 4 pins (VCC, GND, SCL, SDA) at address 0x3C.

Key Features

  • High Resolution — 128x32 pixels for clear text and graphics display
  • Compact Size — 0.91 inch diagonal, 12mm x 38mm x 4.1mm dimensions
  • I2C Interface — Simple 4-pin connection (VCC, GND, SCL, SDA)
  • SSD1306 Driver — Popular driver with extensive library support
  • Self-Luminous — OLED technology requires no backlight
  • Wide Viewing Angle — >160° for excellent visibility from any position
  • Ultra-Low Power — 0.08W at full screen brightness
  • Wide Voltage Range — 3V to 5V operation (3.3V and 5V compatible)
  • White Display Color — High contrast monochrome display
  • Library Support — Compatible with Adafruit SSD1306 library

SPECIFICATION

Specification Value
Product Type OLED Display Module
Resolution 128x32 pixels
Screen Size 0.91 inch diagonal
Dimensions 12mm x 38mm x 4.1mm
Interface I2C/IIC
I2C Address 0x3C (default)
Driver IC SSD1306
Display Color White (monochrome)
Viewing Angle >160°
Power Consumption 0.08W (full screen lit)
Operating Voltage 3V to 5V DC
Working Temperature -30°C to +70°C
Backlight Self-luminous (no backlight required)
Library Support Adafruit SSD1306, U8g2, and compatible libraries
Pin Count 4 pins (VCC, GND, SCL, SDA)

PACKAGE

A package includes an OLED 128x32 0.91 inch, white

INTERFACE

  • VCC pin: the power supply for the LCD, connect this pin to VCC (3.3V to 5V).
  • GND pin: connect this pin to GND (0V).
  • SCL pin: I2C clock signal pin, connect this pin to SCL of microcontroller
  • SDA pin: I2C data signal pin, connect this pin to SDA of microcontroller

Arduino Example Code

Arduino Example Code for OLED 128x32

/* Example Code for DIYables OLED 128x32 ..* Created by DIYables.io ..* This example code is in the public domain ..* Product page: https://diyables.io/products/oled */ #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define SCREEN_WIDTH 128 // OLED display width, in pixels #define SCREEN_HEIGHT 32 // OLED display height, in pixels // declare an SSD1306 display object connected to I2C Adafruit_SSD1306 oled(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1); // bitmap of DIYable-icon image int bitmap_width = 72; // MUST match to bitmap image size int bitmap_height = 32; // MUST match to bitmap image size const unsigned char bitmap_DIYables [] PROGMEM = { // 'DIYables Icon', 72x32 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xf8, 0x07, 0x38, 0x07, 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xfe, 0x07, 0x1c, 0x0e, 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xff, 0x07, 0x1c, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x07, 0x87, 0x0e, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x03, 0xc7, 0x0f, 0x38, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x01, 0xc7, 0x07, 0x38, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x01, 0xc7, 0x03, 0xf0, 0xf0, 0x0f, 0xff, 0xff, 0x8e, 0x01, 0xc7, 0x03, 0xe0, 0xfc, 0x0f, 0xff, 0xff, 0x8e, 0x01, 0xc7, 0x01, 0xe0, 0xfe, 0x0f, 0xff, 0xff, 0x8e, 0x03, 0xc7, 0x01, 0xc0, 0xff, 0x8f, 0xff, 0xff, 0x8e, 0x03, 0x87, 0x01, 0xc0, 0xff, 0x8f, 0xff, 0xff, 0x8e, 0x0f, 0x87, 0x01, 0xc0, 0xff, 0xcf, 0xff, 0xff, 0x8f, 0xff, 0x07, 0x01, 0xc0, 0xff, 0xef, 0xff, 0xff, 0x8f, 0xfc, 0x07, 0x01, 0xc0, 0xff, 0xef, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xfc, 0xfd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xef, 0xff, 0xff, 0x0e, 0x0c, 0x0c, 0xc3, 0x07, 0xff, 0xef, 0xff, 0xfe, 0x0f, 0xec, 0xec, 0x99, 0x7f, 0xff, 0xef, 0xff, 0xfe, 0x0f, 0x04, 0xe4, 0x81, 0x0f, 0xff, 0xcf, 0xff, 0xfc, 0x0e, 0x32, 0xe4, 0x9f, 0xc7, 0xff, 0x8f, 0xff, 0xf8, 0x0e, 0x32, 0x4c, 0x9b, 0x67, 0xff, 0x0f, 0xff, 0xf0, 0x0e, 0x04, 0x0c, 0xc3, 0x0f, 0xfe, 0x0f, 0xff, 0xe0, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x0f, 0xff, 0x80, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x0f, 0xfc, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xff }; void setup() { Serial.begin(9600); // initialize OLED display with address 0x3C for 128x32 if (!oled.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { Serial.println(F("SSD1306 allocation failed")); while (true); } delay(2000); // wait for initializing } void loop() { oled.clearDisplay(); // display bitmap to the center int x = (SCREEN_WIDTH - bitmap_width) / 2; int y = (SCREEN_HEIGHT - bitmap_height) / 2; oled.drawBitmap(x, y, bitmap_DIYables, bitmap_width, bitmap_height, WHITE); oled.display(); delay(2000); }

COMPATIBLE HARDWARE

  • Arduino boards (UNO, Mega, Nano, etc.) — I2C pins (A4/SDA, A5/SCL)
  • Arduino Uno R4 WiFi/Minima — I2C interface
  • ESP32 development boards — I2C pins (default GPIO21/SDA, GPIO22/SCL)
  • ESP8266 boards (NodeMCU, Wemos D1, etc.) — I2C pins (GPIO4/SDA, GPIO5/SCL)
  • Raspberry Pi (all models) — I2C interface
  • Raspberry Pi Pico — I2C support
  • Arduino Nano ESP32 — I2C pins
  • Any 3.3V or 5V microcontroller with I2C interface
  • Compatible with Adafruit SSD1306 library for Arduino/ESP platforms