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

How to Use 1.5" In OLED Display 128x128: Examples, Pinouts, and Specs

Image of 1.5" In OLED Display 128x128
Cirkit Designer LogoDesign with 1.5" In OLED Display 128x128 in Cirkit Designer

Introduction

The 1.5" OLED Display 128x128 is a compact organic light-emitting diode display with a resolution of 128x128 pixels. It is designed for applications requiring vibrant colors, high contrast, and low power consumption. This display is ideal for use in portable devices, wearables, IoT projects, and other embedded systems where space and power efficiency are critical.

Explore Projects Built with 1.5" In OLED Display 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!
Arduino UNO Controlled OLED Display with 9V Battery and Step-Down Converter
Image of digik: A project utilizing 1.5" In OLED Display 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
ESP32 Devkit V1 and OLED Display Bitmap Viewer
Image of Esp32_monochromeimage: A project utilizing 1.5" In OLED Display 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
Wi-Fi Controlled RGB LED and OLED Display with ESP8266
Image of ESP thermometer reciever: A project utilizing 1.5" In OLED Display 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 UNO with I2C OLED Display Interface
Image of OLED_Display: A project utilizing 1.5" In OLED Display 128x128 in a practical application
This circuit connects an Arduino UNO to a 128x64 OLED display using I2C communication protocol. The Arduino provides power to the display and communicates with it via the SDA and SCL lines connected to the A4 and A5 pins, respectively. The embedded code initializes the display and prints 'Hello, World!' on it.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 1.5" In OLED Display 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 digik: A project utilizing 1.5" In OLED Display 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 Esp32_monochromeimage: A project utilizing 1.5" In OLED Display 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 ESP thermometer reciever: A project utilizing 1.5" In OLED Display 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 OLED_Display: A project utilizing 1.5" In OLED Display 128x128 in a practical application
Arduino UNO with I2C OLED Display Interface
This circuit connects an Arduino UNO to a 128x64 OLED display using I2C communication protocol. The Arduino provides power to the display and communicates with it via the SDA and SCL lines connected to the A4 and A5 pins, respectively. The embedded code initializes the display and prints 'Hello, World!' on it.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Wearable devices (e.g., smartwatches, fitness trackers)
  • IoT dashboards and status indicators
  • Portable medical devices
  • Compact user interfaces for embedded systems
  • Hobbyist and DIY electronics projects

Technical Specifications

The following table outlines the key technical details of the 1.5" OLED Display 128x128:

Parameter Specification
Display Type OLED (Organic Light-Emitting Diode)
Resolution 128x128 pixels
Display Size 1.5 inches (diagonal)
Color Depth 16-bit (65,536 colors)
Interface SPI/I2C
Operating Voltage 3.3V to 5V
Operating Current ~20mA (typical)
Viewing Angle >160°
Operating Temperature -40°C to +85°C
Driver IC SSD1351

Pin Configuration

The pinout of the 1.5" OLED Display 128x128 may vary slightly depending on the manufacturer, but a typical configuration is as follows:

Pin Name Description
1 GND Ground connection
2 VCC Power supply (3.3V or 5V)
3 SCL Serial Clock (SPI/I2C)
4 SDA Serial Data (SPI/I2C)
5 RES Reset pin (active low)
6 DC Data/Command control pin
7 CS Chip Select (active low, used in SPI mode)
8 NC Not connected (may vary depending on the module)

Usage Instructions

Connecting the Display to an Arduino UNO

To use the 1.5" OLED Display 128x128 with an Arduino UNO, follow these steps:

  1. Wiring: Connect the display to the Arduino UNO as shown below:

    • GND → GND
    • VCC → 5V
    • SCL → Pin 13 (SPI Clock)
    • SDA → Pin 11 (SPI MOSI)
    • RES → Pin 8
    • DC → Pin 9
    • CS → Pin 10
  2. Install Libraries: Install the necessary libraries for the SSD1351 driver. You can use the Adafruit SSD1351 library, which is available in the Arduino Library Manager.

  3. Upload Code: Use the following example code to display graphics or text on the OLED:

#include <Adafruit_GFX.h>      // Core graphics library
#include <Adafruit_SSD1351.h> // SSD1351 OLED driver library
#include <SPI.h>              // SPI communication library

// Define OLED display pins
#define OLED_CS   10  // Chip Select pin
#define OLED_DC   9   // Data/Command pin
#define OLED_RST  8   // Reset pin

// Create an instance of the display
Adafruit_SSD1351 display = Adafruit_SSD1351(128, 128, &SPI, OLED_CS, OLED_DC, OLED_RST);

void setup() {
  // Initialize the display
  display.begin();
  display.fillScreen(BLACK); // Clear the screen with black color

  // Display a message
  display.setTextColor(WHITE); // Set text color to white
  display.setTextSize(1);      // Set text size
  display.setCursor(0, 0);     // Set cursor position
  display.println("Hello, OLED!"); // Print text
  display.display();           // Update the display
}

void loop() {
  // Add any animations or updates here
}

Important Considerations

  • Power Supply: Ensure the display is powered within its operating voltage range (3.3V to 5V). Exceeding this range may damage the module.
  • Interface Selection: Some modules support both SPI and I2C interfaces. Check the module's documentation or solder jumpers to configure the desired interface.
  • Reset Pin: Always connect the reset pin (RES) to the microcontroller to ensure proper initialization of the display.

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 (3.3V to 5V).
    • Check if the reset pin (RES) is properly connected.
  2. The display shows random or distorted graphics:

    • Confirm that the correct driver library (e.g., Adafruit SSD1351) is installed.
    • Ensure the SPI or I2C communication pins are correctly connected.
    • Verify that the initialization code matches the display's configuration.
  3. The display is blank after uploading code:

    • Double-check the wiring and pin definitions in the code.
    • Ensure the begin() function is called in the setup to initialize the display.

FAQs

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

Q: How do I switch between SPI and I2C modes?
A: Some modules have solder jumpers or pads to configure the interface. 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 compatible format (e.g., RGB565) and using the appropriate library functions.

Q: What is the maximum refresh rate of this display?
A: The refresh rate depends on the driver IC (SSD1351) and the communication speed. Typically, it supports smooth animations for most applications.

By following this documentation, you can effectively integrate and use the 1.5" OLED Display 128x128 in your projects.