| 0.96-inch | 1.3-inch |
|---|---|
![]() |
![]() |
![]() |
![]() |
A compact, high-contrast OLED display module based on the SH1106 driver IC. Supports both 0.96-inch and 1.3-inch panels with 132×64 resolution. Communicates over I2C, making it easy to integrate with Arduino, ESP32, Raspberry Pi, and other microcontroller platforms.
0.96-inch OLED Schematic
1.3-inch OLED Schematic
0.96-inch OLED 3D
1.3-inch OLED 3D
SH1106 Datasheet (PDF)
| Parameter | Value |
|---|---|
| Display Driver | SH1106 |
| I2C Addres | 0x3C (default) |
| Resolution | 132 × 64 pixels |
| Interface | I2C (IIC) |
| Operating Voltage | 5V (module), 3.3V logic tolerant |
| Panel Type | Common Cathode OLED |
| Connector | PH2.0 4-pin |
| Available Sizes | 0.96" / 1.3" |
| Pin | Description |
|---|---|
| SCL | I2C Clock |
| SDA | I2C Data |
| VCC | 5V Power Supply |
| GND | Ground |
| OLED Module | Arduino Uno |
|---|---|
| SDA | A4 |
| SCL | A5 |
| GND | GND |
| VCC | 5V |
This module is fully compatible with the U8g2 library by olikraus.
- Open Arduino IDE
- Go to Sketch → Include Library → Manage Libraries
- Search for U8g2 and install the latest version
#include <Arduino.h>
#include <U8g2lib.h>
#include <Wire.h>
// SH1106 132x64 I2C
U8G2_SH1106_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, U8X8_PIN_NONE);
void setup() {
u8g2.begin();
}
void loop() {
u8g2.firstPage();
do {
u8g2.setFont(u8g2_font_ncenB08_tr);
u8g2.drawStr(0, 12, "Hello World!");
u8g2.drawStr(0, 28, "SH1106 OLED");
u8g2.drawStr(0, 44, "128x64 I2C");
u8g2.drawFrame(0, 0, 128, 64);
} while (u8g2.nextPage());
}Notes
- Use U8G2_SH1106_132X64_1_HW_I2C for hardware I2C.
- If your module uses a different address, change it in the constructor.
- For software I2C, use U8G2_SH1106_132X64_1_SW_I2C.
This project is released under the MIT License. You are free to use, modify, and distribute this documentation and example code.
U8g2 Library
Adafruit SH110X Library
SH1106 driver IC documentation
For issues, questions, or contributions, please open an Issue or Pull Request on GitHub.



