
This circuit connects a 0.96" OLED display to an IoT board. The OLED display is powered by the 3.3V and GND pins of the IoT board, and communicates with the board via I2C using the SDA and SCL pins.

The 0.96" OLED Dual Colour I2C Display is a compact and versatile display module designed for embedded systems. It features a 128x64 pixel resolution and supports dual-color output, typically yellow for the top portion and blue for the bottom. This display uses OLED (Organic Light Emitting Diode) technology, which provides high contrast, wide viewing angles, and low power consumption. Communication is handled via the I2C interface, making it easy to integrate with microcontrollers such as Arduino, Raspberry Pi, and others.

This circuit connects a 0.96" OLED display to an IoT board. The OLED display is powered by the 3.3V and GND pins of the IoT board, and communicates with the board via I2C using the SDA and SCL pins.

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.

This circuit connects an ESP32 microcontroller to a 0.96" OLED display via I2C communication protocol. The ESP32's pins D22 and D21 are used as the serial clock (SCK) and serial data (SDA) lines, respectively, to interface with the OLED's corresponding SCK and SDA pins. The OLED is powered by the 3.3V output from the ESP32, and both devices share a common ground. The embedded code initializes the display and prints 'Hello, ESP32!' on the screen.

This circuit consists of an Arduino Nano microcontroller connected to a 0.96" OLED display. The Arduino Nano provides power to the OLED display and communicates with it using the I2C protocol via the A4 (SDA) and A5 (SCK) pins.
| Parameter | Value |
|---|---|
| Display Type | OLED |
| Screen Size | 0.96 inches |
| Resolution | 128x64 pixels |
| Color Output | Dual color (Yellow and Blue) |
| Interface | I2C |
| Operating Voltage | 3.3V - 5V |
| Current Consumption | ~20mA (varies with brightness) |
| Viewing Angle | >160° |
| Operating Temperature | -40°C to +85°C |
| Dimensions | 27mm x 27mm x 4mm |
| Pin | Name | Description |
|---|---|---|
| 1 | GND | Ground connection |
| 2 | VCC | Power supply (3.3V or 5V) |
| 3 | SCL | I2C Clock Line |
| 4 | SDA | I2C Data Line |
To use the 0.96" OLED Dual Colour I2C Display with an Arduino UNO, follow these steps:
Wiring:
GND pin of the display to the GND pin on the Arduino.VCC pin of the display to the 5V pin on the Arduino.SCL pin of the display to the A5 pin on the Arduino (I2C clock line).SDA pin of the display to the A4 pin on the Arduino (I2C data line).Install Required Libraries:
Sketch > Include Library > Manage Libraries.Adafruit GFX LibraryAdafruit SSD1306Upload Example Code: Use the following example code to display text on the OLED:
// Include necessary libraries
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// Define the OLED display width and height
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
// Create an SSD1306 display object
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
void setup() {
// Initialize the display
if (!display.begin(SSD1306_I2C_ADDRESS, 0x3C)) {
// Display initialization failed
Serial.println(F("SSD1306 allocation failed"));
for (;;); // Halt execution
}
// Clear the display buffer
display.clearDisplay();
// Set text size and color
display.setTextSize(1); // Small text size
display.setTextColor(SSD1306_WHITE);
// Display text
display.setCursor(0, 0); // Set cursor to top-left corner
display.println(F("Hello, OLED!"));
display.println(F("Dual Color Display"));
display.display(); // Render the text on the screen
}
void loop() {
// Nothing to do here
}
0x3C. If the display does not work, check the address using an I2C scanner sketch.The display does not turn on:
GND and VCC.Text or graphics are not displayed:
Adafruit GFX and Adafruit SSD1306) are installed.SCL and SDA) are correctly connected to the Arduino.Flickering or unstable display:
Can I use this display with a 3.3V microcontroller? Yes, the display supports both 3.3V and 5V logic levels.
How do I change the I2C address? Some OLED modules have solder pads on the back to change the I2C address. Refer to the module's datasheet for details.
Can I display images or custom graphics?
Yes, you can use the Adafruit GFX library to draw shapes, bitmaps, and custom graphics.
What is the lifespan of the OLED display? The typical lifespan is around 10,000 to 50,000 hours, depending on usage and brightness settings.
By following this documentation, you can effectively integrate and use the 0.96" OLED Dual Colour I2C Display in your projects.