

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.








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 |
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.
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 |
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
}
The display does not turn on.
The display shows random pixels or does not update.
Text or graphics appear distorted.
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!