Login / Signup
Cart
Your cart is empty
This monochrome white OLED display features a standard SH1106 SPI interface and a 128×64-pixel resolution. With an active area measuring 1.3″ diagonally, it makes a great compact graphical display for applications where simple LED indicators and text output are not enough.
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.
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.
Note: This product is a replacement for the functionally identical Graphical OLED Display: 128x64, 1.3", White, SPI.
Pin | Description |
GND | Ground (0 V) |
VCC | 3.1 V to 5.5 V supply voltage |
CLK | SPI clock (3.3V logic only) |
MOS | SPI data (3.3V logic only) |
RES | Reset (3.3V logic only) |
DC | Data/command select (3.3V logic only) |
CS | SPI chip select (3.3V logic only) |
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.1V to 5.5V. The rest of the pins are not 5V tolerant, so level shifters or voltage dividers are required when interfacing with 5V 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.
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.