Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use OLED 1,5" 128x128: Examples, Pinouts, and Specs

Image of OLED 1,5" 128x128
Cirkit Designer LogoDesign with OLED 1,5" 128x128 in Cirkit Designer

Introduction

The OLED 1.5" 128x128 is a small, high-resolution organic light-emitting diode display with a resolution of 128x128 pixels. It is ideal for displaying graphics, text, and animations in compact electronic devices. This display offers high contrast, wide viewing angles, and low power consumption, making it suitable for a variety of applications.

Explore Projects Built with OLED 1,5" 128x128

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32 Devkit V1 and OLED Display Bitmap Viewer
Image of Esp32_monochromeimage: A project utilizing OLED 1,5" 128x128 in a practical application
This circuit consists of an ESP32 Devkit V1 microcontroller connected to a 1.3" OLED display via I2C communication. The ESP32 initializes the OLED display and renders a predefined bitmap image on it.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled OLED Display with 9V Battery and Step-Down Converter
Image of digik: A project utilizing OLED 1,5" 128x128 in a practical application
This circuit features an Arduino UNO connected to a 128x64 OLED display via I2C communication lines (SDA and SCL), with the Arduino providing control signals to the display. A 9V battery powers the circuit through a 12v to 5v step-down power converter, which supplies a regulated 5V to both the Arduino and the OLED display. The embedded code on the Arduino is configured to blink an onboard LED with a 1-second interval.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Controlled RGB LED and OLED Display with ESP8266
Image of ESP thermometer reciever: A project utilizing OLED 1,5" 128x128 in a practical application
This circuit features an ESP8266 microcontroller interfaced with a 128x64 OLED display via I2C for visual output and an RGB LED controlled through current-limiting resistors. The ESP8266 provides power and control signals to both the display and the LED, enabling visual feedback and status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino 101 OLED Display Animation Project
Image of wokwi animater test: A project utilizing OLED 1,5" 128x128 in a practical application
This circuit consists of an Arduino 101 microcontroller connected to a 0.96" OLED display via I2C communication. The Arduino runs a program that initializes the OLED and continuously displays an animated sequence of frames on the screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with OLED 1,5" 128x128

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Esp32_monochromeimage: A project utilizing OLED 1,5" 128x128 in a practical application
ESP32 Devkit V1 and OLED Display Bitmap Viewer
This circuit consists of an ESP32 Devkit V1 microcontroller connected to a 1.3" OLED display via I2C communication. The ESP32 initializes the OLED display and renders a predefined bitmap image on it.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of digik: A project utilizing OLED 1,5" 128x128 in a practical application
Arduino UNO Controlled OLED Display with 9V Battery and Step-Down Converter
This circuit features an Arduino UNO connected to a 128x64 OLED display via I2C communication lines (SDA and SCL), with the Arduino providing control signals to the display. A 9V battery powers the circuit through a 12v to 5v step-down power converter, which supplies a regulated 5V to both the Arduino and the OLED display. The embedded code on the Arduino is configured to blink an onboard LED with a 1-second interval.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP thermometer reciever: A project utilizing OLED 1,5" 128x128 in a practical application
Wi-Fi Controlled RGB LED and OLED Display with ESP8266
This circuit features an ESP8266 microcontroller interfaced with a 128x64 OLED display via I2C for visual output and an RGB LED controlled through current-limiting resistors. The ESP8266 provides power and control signals to both the display and the LED, enabling visual feedback and status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of wokwi animater test: A project utilizing OLED 1,5" 128x128 in a practical application
Arduino 101 OLED Display Animation Project
This circuit consists of an Arduino 101 microcontroller connected to a 0.96" OLED display via I2C communication. The Arduino runs a program that initializes the OLED and continuously displays an animated sequence of frames on the screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Wearable devices
  • Portable electronics
  • IoT dashboards
  • Embedded systems
  • Graphical user interfaces for microcontroller-based projects

Technical Specifications

Below are the key technical details of the OLED 1.5" 128x128 display:

Parameter Value
Display Type OLED (Organic Light-Emitting Diode)
Resolution 128x128 pixels
Screen Size 1.5 inches
Interface SPI / I2C
Operating Voltage 3.3V - 5V
Operating Current ~20mA (typical)
Viewing Angle >160°
Pixel Color Depth Monochrome or RGB (varies by model)
Driver IC SSD1327
Operating Temperature -40°C to +85°C

Pin Configuration

The OLED 1.5" 128x128 typically comes with a 7-pin interface. Below is the pinout description:

Pin Name Description
1 GND Ground connection
2 VCC Power supply (3.3V or 5V)
3 SCL Serial Clock (I2C) or SPI Clock (SCK)
4 SDA Serial Data (I2C) or SPI Data (MOSI)
5 RES Reset pin (active low)
6 DC Data/Command control (used in SPI mode)
7 CS Chip Select (used in SPI mode)

Note: Some models may have slight variations in pin configuration. Always refer to the datasheet for your specific module.

Usage Instructions

Connecting the OLED to an Arduino UNO

The OLED 1.5" 128x128 can be connected to an Arduino UNO using either the I2C or SPI interface. Below is an example of how to connect the display in SPI mode:

OLED Pin Arduino UNO Pin
GND GND
VCC 5V
SCL Pin 13 (SCK)
SDA Pin 11 (MOSI)
RES Pin 8
DC Pin 9
CS Pin 10

Example Code

Below is an example Arduino sketch to initialize and display text on the OLED using the Adafruit SSD1327 library:

#include <Adafruit_GFX.h>       // Graphics library for OLED
#include <Adafruit_SSD1327.h>   // Driver library for SSD1327

// Define OLED display dimensions
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 128

// Define SPI pins
#define OLED_CS   10  // Chip Select
#define OLED_DC    9  // Data/Command
#define OLED_RESET 8  // Reset

// Create an instance of the display
Adafruit_SSD1327 display(SCREEN_WIDTH, SCREEN_HEIGHT, &SPI, OLED_DC, OLED_RESET, OLED_CS);

void setup() {
  // Initialize serial communication for debugging
  Serial.begin(9600);
  Serial.println("Initializing OLED...");

  // Initialize the OLED display
  if (!display.begin(SSD1327_I2C_ADDRESS, OLED_RESET)) {
    Serial.println("SSD1327 initialization failed!");
    while (1); // Halt execution if initialization fails
  }

  // Clear the display buffer
  display.clearDisplay();

  // Set text size and color
  display.setTextSize(1);         // Smallest text size
  display.setTextColor(SSD1327_WHITE); // White text

  // Display a message
  display.setCursor(0, 0);        // Start at top-left corner
  display.println("Hello, OLED!");
  display.display();              // Send buffer to display
}

void loop() {
  // Nothing to do here
}

Important Considerations

  1. Power Supply: Ensure the OLED is powered within its operating voltage range (3.3V - 5V). Exceeding this range may damage the display.
  2. Library Compatibility: Use the Adafruit SSD1327 library or any compatible library for your driver IC.
  3. Pull-up Resistors: If using I2C, ensure pull-up resistors (typically 4.7kΩ) are present on the SDA and SCL lines.
  4. Contrast Settings: Adjust the contrast settings in the library if the display appears too dim or too bright.

Troubleshooting and FAQs

Common Issues

  1. The display does not turn on.

    • Verify all connections are secure and match the pinout.
    • Ensure the power supply voltage is within the specified range.
    • Check if the reset pin (RES) is properly connected.
  2. The display shows random pixels or does not update.

    • Ensure the correct communication protocol (SPI/I2C) is selected in the code.
    • Verify that the correct driver IC (SSD1327) is specified in the library.
  3. Text or graphics appear distorted.

    • Double-check the resolution settings in the code (128x128).
    • Ensure the display buffer is cleared before updating the screen.

FAQs

Q: Can I use this OLED with a 3.3V microcontroller?
A: Yes, the OLED is compatible with both 3.3V and 5V logic levels.

Q: How do I switch between SPI and I2C modes?
A: Some OLED modules have solder jumpers on the back to select the communication mode. Refer to the module's datasheet for instructions.

Q: Can I display images on this OLED?
A: Yes, you can display images by converting them into a bitmap format and using the appropriate library functions.

Q: What is the typical lifespan of this OLED?
A: The typical lifespan is around 30,000 to 50,000 hours, depending on usage and brightness settings.

By following this documentation, you should be able to successfully integrate and use the OLED 1.5" 128x128 display in your projects!