Components / Displays / 0.96 inch OLED SPI (SSD1306, 7-pin)

0.96 inch OLED SPI (SSD1306, 7-pin)

The same OLED as the I2C version but on SPI, for faster refresh.

TypeMonochrome OLED
Size0.96 inch
Resolution128 × 64
Driver ICSSD1306
DisplaysReviewedMPN SSD1306 128x64 SPIUsed in 3 projects
23.4°CSSD1306
In short

What is the 0.96 inch OLED SPI (SSD1306, 7-pin) and what is it used for?

The same OLED as the I2C version but on SPI, for faster refresh. Makers use it for fast graphics on small screens.

How it works

An SSD1306 controller drives 128 × 64 self-lit OLED pixels from its own frame memory.

Key specifications

Display specValue
TypeMonochrome OLED
Size0.96 inch
Resolution128 × 64
Driver ICSSD1306
Interface4-wire SPI
Supply voltage3.3 to 5 V module

Pinout

GNDGround
VCC3.3 to 5 V
D0SPI clock
D1SPI data (MOSI)
RESReset
DCData or command
CSChip select

How to use it

Use Adafruit_SSD1306 or U8g2 with hardware SPI. SPI updates the screen much faster than I2C, which helps animations. Use 3.3 V logic or a level shifter if the board has no level shifting.

Applications

Alternatives

Buy at

Common questions

What is the 0.96 inch OLED SPI (SSD1306, 7-pin) used for?

In maker projects: fast graphics on small screens.

How does the 0.96 inch OLED SPI (SSD1306, 7-pin) work?

An SSD1306 controller drives 128 × 64 self-lit OLED pixels from its own frame memory.

What voltage does the 0.96 inch OLED SPI (SSD1306, 7-pin) need?

3.3 to 5 V module.

How do I connect the 0.96 inch OLED SPI (SSD1306, 7-pin) to an Arduino or ESP32?

4-wire SPI. Pins: GND (Ground), VCC (3.3 to 5 V), D0 (SPI clock), D1 (SPI data (MOSI)), RES (Reset), DC (Data or command).

What can I use instead of the 0.96 inch OLED SPI (SSD1306, 7-pin)?

SSD1306 OLED Display and 1.3 inch OLED (SH1106, I2C).