1. Product Overview
The Ideaspark OLED Display Module is a compact, self-luminous display designed for integration with microcontrollers such as Arduino UNO, Mega, Raspberry Pi, 51 MCU, and STM32. It is available in 0.96-inch (128x64 pixels) and 0.91-inch (128x32 pixels) variants, offering crisp graphical and textual information display without the need for a backlight.


2. Specifications
| Feature | Description |
|---|---|
| Display Size | 0.96 inch or 0.91 inch (diagonal) |
| Resolution | 0.96 inch: 128 x 64 pixels 0.91 inch: 128 x 32 pixels |
| Driver IC | SSD1306 |
| Communication Interface | I2C/IIC Serial (requires 2 I/O ports) |
| Operating Voltage | 3.3V - 5V DC |
| Viewing Angle | > 160° |
| Power Consumption | Normal operation: 0.04W Full screen lit: 0.08W |
| Working Temperature | -30°C to 70°C |
| Display Colors | 0.96 inch: 2 rows yellow, 6 rows blue; White; Blue 0.91 inch: White; Blue |
| Module Size (0.96") | 27mm x 27mm x 4mm |
| Screen Material | Glass (requires good protection) |
| Pinout | GND (Ground), VCC (Power), SCL (I2C Serial Clock), SDA (I2C Serial Data) |


3. Setup Instructions
This section details how to set up your OLED display module with an Arduino Uno/Nano using the I2C interface.
3.1. Install the u8g2 Library
To use the OLED module, you will need to install the u8g2 library in your Arduino IDE:
- Open the Arduino IDE.
- Go to
Sketch > Include Library > Manage Libraries... - In the Library Manager, search for "u8g2".
- Select the "U8g2" library by Oliver Kraus and click "Install". Ensure you install a compatible version (e.g., Version 2.29.13 or later).
3.2. Wiring Connections
Connect the OLED module to your Arduino Uno/Nano as follows:
| OLED Pin | Arduino Uno/Nano Pin |
|---|---|
| VCC | 5V |
| GND | GND |
| SCL | A5 (for Uno), 21 (for Mega) |
| SDA | A4 (for Uno), 20 (for Mega) |


3.3. Uploading Example Code
After wiring, you can upload example code to test the display. The u8g2 library provides various examples. A basic example to display text might look like this (refer to the library's examples for full code):
#include <U8g2lib.h>
// For 0.96 inch 128x64 OLED (I2C)
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);
void setup() {
u8g2.begin();
}
void loop() {
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_ncenB08_tr);
u8g2.drawStr(0,10,"ideaspark OLED");
u8g2.sendBuffer();
delay(1000);
}Ensure the correct constructor for your specific OLED module (0.96" 128x64 or 0.91" 128x32) and communication protocol (I2C/SPI) is used. The provided images show examples for both 0.96" and 0.91" modules.
4. Operating Instructions
The OLED display module is designed for displaying dynamic graphical and textual information. It is self-luminous, meaning each pixel generates its own light, resulting in high contrast and excellent readability, even for small fonts.
- Display Content: The content displayed on the OLED is entirely controlled by the microcontroller code. You can program it to show sensor readings, status messages, custom graphics, and more.
- Font Customization: The SSD1306 driver IC does not have embedded fonts. Users are required to generate fonts using font generation software and integrate them into their microcontroller code. The
u8g2library simplifies this process by providing a wide range of fonts and drawing functions. - Power-Up: Upon receiving power (3.3V-5V DC), the module will initialize. The display will remain blank until programmed by the connected microcontroller.
5. Maintenance
To ensure the longevity and optimal performance of your OLED display module, follow these maintenance guidelines:
- Handle with Care: The screen material is glass and requires good protection. Avoid dropping the module or applying excessive pressure to the display surface.
- Environmental Conditions: Operate the module within the specified working temperature range of -30°C to 70°C. Avoid exposure to extreme temperatures or high humidity.
- Cleaning: If necessary, gently clean the display surface with a soft, dry, lint-free cloth. Do not use abrasive cleaners or solvents.
- Storage: When not in use, store the module in its original plastic box or a similar protective enclosure to prevent physical damage and dust accumulation.
6. Troubleshooting
If you encounter issues with your OLED display module, consider the following troubleshooting steps:
- Display Not Lighting Up:
- Verify all wiring connections (VCC, GND, SCL, SDA) are correct and secure.
- Ensure the power supply to the module is within the 3.3V-5V DC range.
- Check if the Arduino or microcontroller is powered on and the code has been successfully uploaded.
- Confirm the correct I2C address is being used in your code (common addresses are 0x3C or 0x3D).
- Incorrect Display Output / Garbled Text:
- Double-check the
u8g2library constructor in your code matches your specific OLED module (e.g., 0.96" 128x64 vs. 0.91" 128x32). - Ensure the library is correctly installed and updated.
- Verify that the I2C communication is stable.
- Double-check the
- Module Not Detected:
- Run an I2C scanner sketch on your Arduino to confirm the module's I2C address.
- Check for any short circuits or damaged pins on the module or breadboard.
7. User Tips
- Pre-soldered Headers: Some variants of this module come with pin headers pre-soldered, which can simplify integration into breadboards or custom PCBs. Always check the product description for your specific variant.
- I2C Address Configuration: If you need to change the I2C address (e.g., for multiple I2C devices), consult the
u8g2library documentation or the module's datasheet for instructions on how to modify the address, often involving solder jumpers on the PCB. - Power Supply Stability: While the module operates between 3.3V and 5V, a stable power supply is crucial for reliable operation, especially when integrating with other components.
- Software Examples: Utilize the extensive examples provided with the
u8g2library to quickly get started with displaying text, graphics, and animations.
8. Support and Resources
Ideaspark provides technical support and resources to assist you with your OLED display module. This includes:
- Software Library: Access to the
u8g2library and its documentation for programming the display. - Guide Book: A guide book is typically included in the package, offering detailed instructions and examples.
- Online Resources: Refer to the official Ideaspark website or product page for additional tutorials, FAQs, and community forums.
For further assistance, please contact Ideaspark customer support through the platform where you purchased the product.