Skip to content
OLED

SH1106 1.3" OLED Display

Larger monochrome OLED, pin-compatible with SSD1306 in most libraries.

The SH1106 looks nearly identical to the SSD1306 — same 1.3-inch monochrome OLED form factor, same 4-pin I2C breakout, same 0x3C default address — but it's a different controller chip with a different internal frame buffer, and code written for one will not display correctly on the other. The SH1106's buffer is 132 pixels wide even though only 128 are visible, so the panel is offset by 2 pixels compared to the SSD1306, and libraries need to account for that offset explicitly.

In practice this means one thing matters more than anything else when working with this display: use a library that explicitly supports SH1106 (Adafruit_SH110X, or U8g2 with the correct constructor), not the Adafruit_SSD1306 library. Swap the constructor and everything else — drawing calls, fonts, buffer-and-flush pattern — works the same way as the SSD1306 you may already be used to.

Specifications

Display128 x 64 visible pixels, monochrome OLED (132-pixel-wide internal buffer)
Operating voltage3.3V - 5V (most breakout modules have an onboard regulator)
InterfaceI2C (this module); SPI variants also exist
I2C address0x3C default on most modules — scan to confirm, some ship at 0x3D
Driver chipSH1106 — NOT interchangeable in software with the visually similar SSD1306
Known quirk132px internal buffer vs 128px visible — needs a 2px horizontal offset that SH1106-specific libraries handle automatically

Pinout

PinNameDescription
1GNDGround
2VCCPower, 3.3V-5V DC depending on the module's onboard regulator
3SCLI2C clock line
4SDAI2C data line

The pinout is electrically identical to the SSD1306 module, so wiring mistakes aren't the usual failure mode here — a garbled or shifted image with correct wiring is almost always a library mismatch, not a hardware fault. Always confirm with Adafruit_SH110X or a U8g2 SH1106 constructor before assuming a display is faulty.

Variants

If a board is unlabeled or the seller's listing is ambiguous, check the physical size before assuming the driver: 1.3" panels are almost always SH1106, while 0.96" panels are almost always SSD1306. When in doubt, try the SH1106 library first — if the image is shifted or garbled, that confirms it's actually an SSD1306 and vice versa.

VariantTemp rangeHum rangeAccuracyProtocolPrice
SH1106 1.3" (128x64)~$3-6
SSD1306 0.96" (128x64)~$2-5

Board Integration

Library

Adafruit SH110Xby Adafruit

Library Manager → search "Adafruit SH110X" → install (also installs Adafruit GFX as a dependency)

Wiring

Component pinBoard pinNote
GNDGND
VCC5V
SCLA5Hardware I2C clock
SDAA4Hardware I2C data

Code

C++

Notes

Do not use the Adafruit_SSD1306 library with this display — same-looking OLED, different controller and pixel buffer offset. Use Adafruit_SH110X or U8g2 instead.