Monochrome 1.3" 128x64 SH1106G SPI OLED Display

Monochrome 1.3" 128x64 SH1106G SPI OLED Display, Adafruit, 5228

1.3" 128x64 monochrome OLED display using the SH1106G controller over SPI. Same panel used in the Adafruit MACROPAD RP2040; note SH1106G requires different initialization than the common SSD1306.

Pinout

Logical pinout · physical placement not verified
MONOCHROME 1.3" 128X64C2PRES#C2NDC#C1PSCLKC1NSDINVBATIREFVSSVCOMHVDDVCCCS#VSS
  • C2P1

    Positive terminal of the flying boost capacitor for the OLED module charge-pump circuit, from the datasheet pin definition.

    Type · Power
  • C2N2

    Negative terminal of the flying boost capacitor for the OLED module charge-pump circuit, from the datasheet pin definition.

    Type · Power
  • C1P3

    Positive terminal of the flying inverting capacitor for the OLED module charge-pump circuit, from the datasheet pin definition.

    Type · Power
  • C1N4

    Negative terminal of the flying inverting capacitor for the OLED module charge-pump circuit, from the datasheet pin definition.

    Type · Power
  • VBAT5

    Power supply for the internal DC/DC converter buffer circuit.

    Type · PowerVoltage · VBAT absolute maximum -0.3 V to 5 V; DC characteristics list internal DC/DC enable supply range from the module datasheet.
  • VSS6

    Ground/reference for the logic circuit.

    Type · GroundVoltage · 0 V reference.
  • VDD7

    Logic supply input for the OLED controller/module.

    Type · PowerVoltage · Logic supply VDD 1.65 V to 3.3 V per datasheet DC characteristics.
  • CS#8

    Active-low SPI chip-select input; MCU communication is enabled only when CS# is pulled low.

    Type · GPIOVoltage · Logic-level input referenced to VDD.
  • RES#9

    Active-low reset input; pulling low initializes the chip, keep high during normal operation.

    Type · GPIOVoltage · Logic-level input referenced to VDD.
  • DC#10

    Data/command control input for the SPI interface; high selects display data, low selects command register transfer.

    Type · GPIOVoltage · Logic-level input referenced to VDD.
  • SCLK11

    Serial clock input for the 4-wire SPI interface.

    Type · SPIVoltage · Logic-level input referenced to VDD.
  • SDIN12

    Serial data input for the SPI interface; data is latched on SCLK and interpreted with D/C#.

    Type · GPIOVoltage · Logic-level input referenced to VDD.
  • IREF13

    Segment current reference for brightness adjustment; datasheet specifies a resistor to VSS and 12.5 µA maximum reference current.

    Type · Analog
  • VCOMH14

    Voltage output high level for COM signals; datasheet specifies a capacitor between VCOMH and VSS.

    Type · Analog
  • VCC15

    Most positive OLED panel supply pin; connect external source when converter is not used, or stabilisation capacitor to VSS when converter is used.

    Type · PowerVoltage · Display supply VCC absolute maximum 0 V to 14 V; typical operation shown as 12 V in datasheet.
  • VSS16

    Second ground/reference pin for the logic circuit.

    Type · GroundVoltage · 0 V reference.

Start wiring

I2C · SPI · 3.3 – 5 V · Breakout

Confirm the data interface matches your host board.

Module pins: C2P, C2N, C1P, C1N, VBAT, VDD, VCC, VSS. Schematik maps them to your board in the app.

OLED

29 other options

About 30 parts: monochrome I2C modules from 0.49 to 1.3 inches, SPI/I2C grayscale and 65K-color RGB panels up to 1.5 inches, a transparent OLED, and ecosystem-specific units for Raspberry Pi, FireBeetle and M5Stack Grove.

View all 29

Related groups

4 groups