Graphical OLED Display: 128×64, 1.3", White, SPI, top view with dimensions.
Graphical OLED Display: 128×64, 1.3", White, SPI, bottom view.
Graphical OLED Display: 128×64, 1.3", White, SPI, shown as it ships with protective film covering.
This small module consists of a 128×64 white OLED (organic light-emitting diode) display and all the electronics needed to control it over SPI using a standard SH1106 interface (1MB pdf). The LEDs can be individually turned on or off to show monochrome graphics and text. Despite its compact size, the OLED display has good contrast because each pixel lights up individually, and since there is no backlight, unlit pixels can be very dark.
- Pixel color: white
- Resolution: 128×64 pixels
- Pixel pitch: 0.23 mm (110 DPI)
- Active display area: 1.3″ diagonal (1.16″ × 0.58″ or 29.4 mm × 14.7 mm)
- Dimensions: 1.4″ × 1.32″ (35.4 mm × 33.5 mm); see the dimension diagram (182k pdf) for more details
- Supply voltage: 3.1 V to 5.5 V on VCC (NOTE: the logic pins are 5V tolerant)
- Supply current: 40 mA typical with all pixels on (current draw depends on how much of the display is lit)
- Four mounting holes intended for M3 or #4 screws
||Ground (0 V)
||3.1 V to 5.5 V supply voltage
||SPI clock (3.3V logic only)
||SPI data (3.3V logic only)
||Reset (3.3V logic only)
||Data/command select (3.3V logic only)
||SPI chip select (3.3V logic only)
Using the display
This display module has seven pins on a row of 0.1″-pitch through holes, which work with standard 0.1″ (2.54 mm) male headers and 0.1″ female headers (available separately). It also has four mounting holes designed for use with #4 or M3 screws.
The module is powered through its GND and VCC pins, and it includes an on-board regulator that lets it work with VCC supply voltages from 3.1 V to 5.5 V. The rest of the pins are 5V tolerant, so level shifters or voltage dividers are required when interfacing with 5 V systems.
The driver/controller IC on this OLED screen is an SH1106 configured to operate in “4-wire SPI” mode. Four control inputs—CLK, MOS, DC, and CS—are used in normal operation, and a fifth pin, RES, can be used to reset the display. For more information, see the SH1106 datasheet (1MB pdf).
Graphical OLED Display: 128×64, 1.3", White, SPI, controlled by an A-Star 328PB Micro running at 3.3V.
Sample code and libraries are widely available for interfacing the SH1106 with a variety of microcontrollers. One library that we recommend is U8g2, which works with Arduino and has also been ported to other platforms. As an example, you can use the U8g2 constructor
U8G2_SH1106_128X64_NONAME_1_4W_SW_SPI to control the display with a one-page buffer and software SPI; see the U8g2 documentation for other options.
The SH1106 is similar to and electrically compatible with the common SSD1306 controller, but differences in the two chips’ command sets mean that code written for one will generally require changes to work with the other.
People often buy this product together with: