Interfacing 2.4" SSD1309 SPI OLED Display With ESP8266

İbrahim Gündüz
2 min readSep 30, 2023

In this tutorial, we’ll learn how to connect 2.42" SSD13093 SPI OLED display with ESP8266. As a development board, we’ll use ESP8266 NodeMCU board.

SPI Pins in ESP8266 NodeMCU Board

ESP provides two SPI ports. However, the ones on the left side (SD1, CMD, SD0, CLK) cannot be used as it’s reserved for flash communication. So, we’ll connect the OLED display through Hardware SPI pins on the right side (D5, D6, D7, D8).

SSD1309 SPI OLED Display Pinouts

The OLED display requires some extra pin connections like DC, Reset, VCC, and GND pins besides the SPI communication pins. As the OLED screen requires 3.3V VCC voltage, the VCC pin should be connected ESP8266 NodeMCU board’s 3.3V pin and the GND pin to the board’s GND. RST and DC pins would be connected to ESP8266 NodeMCU board as it’s explained below.

SSD1309 SPI OLED Display ESP8266 NodeMCU Board…

--

--