2.42 Inch White LED OLED Display 7 Pin
- Unit price
- / per
2.42 Inch White OLED Display Module - 128x64 SSD1309 SPI Display
This 2.42 inch white OLED display module is a bright, high-contrast screen for ESP32, Arduino, Raspberry Pi Pico, STM32, and other microcontroller projects. With a crisp 128x64 pixel resolution and an SSD1309 driver, this OLED display is ideal for showing menus, sensor readings, status messages, graphics, icons, and simple user interface screens.
The larger 2.42 inch display size makes this module much easier to read than many smaller OLED screens while still remaining compact enough for embedded electronics, handheld projects, control panels, and prototype devices. The white OLED pixels provide sharp contrast against the dark background, making text and simple graphics clear and easy to see.
Great OLED Display for ESP32 Projects
This display is an excellent match for ESP32 development boards because the ESP32 uses 3.3V logic, which lines up well with this module's 3.3VDC operating requirement. It is a strong choice for WiFi-enabled projects, Bluetooth projects, IoT devices, sensor dashboards, wireless control panels, and compact embedded systems that need a clean, readable display.
Use this OLED with an ESP32 to show live sensor data, network status, menu selections, device settings, temperature readings, voltage readings, project diagnostics, or other real-time information. The SPI interface provides fast and reliable screen updates, making it a better choice than slower display interfaces when you want responsive graphics or frequent data refreshes.
SPI Interface for Fast Microcontroller Display Updates
This 7-pin OLED module is best used as an SPI display. SPI gives the display dedicated control lines for clock, data, chip select, data/command selection, and reset. This makes it well suited for ESP32 projects where speed, stable communication, and reliable display updates are important.
The display can also be used with Arduino-compatible boards, especially 3.3V boards such as the Arduino Due. For 5V Arduino boards such as the Arduino Uno, Nano, or Mega, use proper 3.3V power and logic level shifting to protect the display.
Common Uses
- ESP32 OLED display projects
- WiFi and Bluetooth IoT displays
- Sensor readout screens
- Wireless status displays
- Arduino-compatible display projects
- Raspberry Pi Pico and STM32 projects
- DIY test equipment displays
- Embedded control panels
- Robotics and automation projects
- Portable electronics prototypes
Technical Specifications
| Display Type | OLED Display Module |
| Display Size | 2.42 inch |
| Pixel Color | White |
| Resolution | 128 x 64 pixels |
| Driver IC | SSD1309 |
| Interface | SPI, 7-pin module layout |
| Supply Voltage | 3.3VDC |
| Display Area | 55.02mm x 27.49mm |
| Operating Temperature | -40°C to 70°C |
| Pin Count | 7 pins |
7-Pin SPI OLED Pin Functions
| GND | Ground |
| VCC | 3.3V power input |
| SCL / CLK | SPI clock |
| SDA / DIN | SPI data input |
| RES / RST | Display reset |
| DC | Data / command select |
| CS | Chip select |
ESP32 Wiring Example
The following wiring example uses common ESP32 SPI pins. Your exact ESP32 board may label pins differently, so always verify the pinout for your development board.
| OLED Pin | ESP32 Connection |
| GND | GND |
| VCC | 3.3V |
| SCL / CLK | GPIO 18 |
| SDA / DIN | GPIO 23 |
| RES / RST | GPIO 17 |
| DC | GPIO 16 |
| CS | GPIO 5 |
Starter Code for ESP32
This example uses the U8g2 library in the Arduino IDE. Install U8g2 from the Arduino Library Manager before uploading.
#include <Arduino.h>
#include <U8g2lib.h>
// 2.42 inch 128x64 SSD1309 OLED using 4-wire SPI
// ESP32 wiring:
// CLK = GPIO 18
// DIN = GPIO 23
// CS = GPIO 5
// DC = GPIO 16
// RST = GPIO 17
U8G2_SSD1309_128X64_NONAME0_F_4W_SW_SPI u8g2(
U8G2_R0,
/* clock=*/ 18,
/* data=*/ 23,
/* cs=*/ 5,
/* dc=*/ 16,
/* reset=*/ 17
);
void setup() {
u8g2.begin();
}
void loop() {
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_ncenB14_tr);
u8g2.drawStr(0, 22, "ESP32 OLED");
u8g2.setFont(u8g2_font_6x12_tr);
u8g2.drawStr(0, 42, "SSD1309 SPI");
u8g2.drawStr(0, 58, "128x64 Display");
u8g2.sendBuffer();
delay(1000);
}
Arduino Due Wiring Example
The Arduino Due is also a good match for this display because it uses 3.3V logic. Use the Due's SPI header for hardware SPI instead of the Uno-style D11/D13 SPI pins.
| OLED Pin | Arduino Due Connection |
| GND | GND |
| VCC | 3.3V |
| SCL / CLK | SPI Header SCK |
| SDA / DIN | SPI Header MOSI |
| RES / RST | Digital 8 |
| DC | Digital 9 |
| CS | Digital 10 |
Starter Code for Arduino Due
This example uses hardware SPI on the Arduino Due. Connect the OLED clock and data pins to the Due's SPI header.
#include <Arduino.h>
#include <SPI.h>
#include <U8g2lib.h>
// 2.42 inch 128x64 SSD1309 OLED using 4-wire hardware SPI
// Arduino Due wiring:
// CLK = SPI Header SCK
// DIN = SPI Header MOSI
// CS = Digital 10
// DC = Digital 9
// RST = Digital 8
U8G2_SSD1309_128X64_NONAME0_F_4W_HW_SPI u8g2(
U8G2_R0,
/* cs=*/ 10,
/* dc=*/ 9,
/* reset=*/ 8
);
void setup() {
u8g2.begin();
}
void loop() {
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_ncenB14_tr);
u8g2.drawStr(0, 22, "Arduino Due");
u8g2.setFont(u8g2_font_6x12_tr);
u8g2.drawStr(0, 42, "SSD1309 SPI");
u8g2.drawStr(0, 58, "128x64 Display");
u8g2.sendBuffer();
delay(1000);
}
ESP32 and Arduino Compatibility Notes
This OLED display is especially well suited for ESP32 projects because ESP32 boards use 3.3V logic. Connect the display to the ESP32's SPI pins, provide 3.3V power, and use a compatible display library such as U8g2 or another SSD1309-capable graphics library.
Arduino compatibility depends on the board being used. 3.3V Arduino boards are the easiest match. When using a 5V Arduino board, use a 3.3V power source and logic level conversion on the signal lines. Do not connect this display directly to 5V logic pins.
Bright, Compact Display for Embedded Electronics
The 2.42 inch SSD1309 OLED module is a great choice when you need a readable display that is larger than the typical small OLED screen but still compact enough for modern embedded electronics. It is a practical display option for ESP32 developers, electronics students, Arduino users, repair benches, and anyone adding a simple visual interface to a custom circuit.
2.42 Inch White LED OLED Display 7 Pin
- Unit price
- / per
Adding product to your cart
You may also like
2.42 Inch White OLED Display Module - 128x64 SSD1309 SPI Display
This 2.42 inch white OLED display module is a bright, high-contrast screen for ESP32, Arduino, Raspberry Pi Pico, STM32, and other microcontroller projects. With a crisp 128x64 pixel resolution and an SSD1309 driver, this OLED display is ideal for showing menus, sensor readings, status messages, graphics, icons, and simple user interface screens.
The larger 2.42 inch display size makes this module much easier to read than many smaller OLED screens while still remaining compact enough for embedded electronics, handheld projects, control panels, and prototype devices. The white OLED pixels provide sharp contrast against the dark background, making text and simple graphics clear and easy to see.
Great OLED Display for ESP32 Projects
This display is an excellent match for ESP32 development boards because the ESP32 uses 3.3V logic, which lines up well with this module's 3.3VDC operating requirement. It is a strong choice for WiFi-enabled projects, Bluetooth projects, IoT devices, sensor dashboards, wireless control panels, and compact embedded systems that need a clean, readable display.
Use this OLED with an ESP32 to show live sensor data, network status, menu selections, device settings, temperature readings, voltage readings, project diagnostics, or other real-time information. The SPI interface provides fast and reliable screen updates, making it a better choice than slower display interfaces when you want responsive graphics or frequent data refreshes.
SPI Interface for Fast Microcontroller Display Updates
This 7-pin OLED module is best used as an SPI display. SPI gives the display dedicated control lines for clock, data, chip select, data/command selection, and reset. This makes it well suited for ESP32 projects where speed, stable communication, and reliable display updates are important.
The display can also be used with Arduino-compatible boards, especially 3.3V boards such as the Arduino Due. For 5V Arduino boards such as the Arduino Uno, Nano, or Mega, use proper 3.3V power and logic level shifting to protect the display.
Common Uses
- ESP32 OLED display projects
- WiFi and Bluetooth IoT displays
- Sensor readout screens
- Wireless status displays
- Arduino-compatible display projects
- Raspberry Pi Pico and STM32 projects
- DIY test equipment displays
- Embedded control panels
- Robotics and automation projects
- Portable electronics prototypes
Technical Specifications
| Display Type | OLED Display Module |
| Display Size | 2.42 inch |
| Pixel Color | White |
| Resolution | 128 x 64 pixels |
| Driver IC | SSD1309 |
| Interface | SPI, 7-pin module layout |
| Supply Voltage | 3.3VDC |
| Display Area | 55.02mm x 27.49mm |
| Operating Temperature | -40°C to 70°C |
| Pin Count | 7 pins |
7-Pin SPI OLED Pin Functions
| GND | Ground |
| VCC | 3.3V power input |
| SCL / CLK | SPI clock |
| SDA / DIN | SPI data input |
| RES / RST | Display reset |
| DC | Data / command select |
| CS | Chip select |
ESP32 Wiring Example
The following wiring example uses common ESP32 SPI pins. Your exact ESP32 board may label pins differently, so always verify the pinout for your development board.
| OLED Pin | ESP32 Connection |
| GND | GND |
| VCC | 3.3V |
| SCL / CLK | GPIO 18 |
| SDA / DIN | GPIO 23 |
| RES / RST | GPIO 17 |
| DC | GPIO 16 |
| CS | GPIO 5 |
Starter Code for ESP32
This example uses the U8g2 library in the Arduino IDE. Install U8g2 from the Arduino Library Manager before uploading.
#include <Arduino.h>
#include <U8g2lib.h>
// 2.42 inch 128x64 SSD1309 OLED using 4-wire SPI
// ESP32 wiring:
// CLK = GPIO 18
// DIN = GPIO 23
// CS = GPIO 5
// DC = GPIO 16
// RST = GPIO 17
U8G2_SSD1309_128X64_NONAME0_F_4W_SW_SPI u8g2(
U8G2_R0,
/* clock=*/ 18,
/* data=*/ 23,
/* cs=*/ 5,
/* dc=*/ 16,
/* reset=*/ 17
);
void setup() {
u8g2.begin();
}
void loop() {
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_ncenB14_tr);
u8g2.drawStr(0, 22, "ESP32 OLED");
u8g2.setFont(u8g2_font_6x12_tr);
u8g2.drawStr(0, 42, "SSD1309 SPI");
u8g2.drawStr(0, 58, "128x64 Display");
u8g2.sendBuffer();
delay(1000);
}
Arduino Due Wiring Example
The Arduino Due is also a good match for this display because it uses 3.3V logic. Use the Due's SPI header for hardware SPI instead of the Uno-style D11/D13 SPI pins.
| OLED Pin | Arduino Due Connection |
| GND | GND |
| VCC | 3.3V |
| SCL / CLK | SPI Header SCK |
| SDA / DIN | SPI Header MOSI |
| RES / RST | Digital 8 |
| DC | Digital 9 |
| CS | Digital 10 |
Starter Code for Arduino Due
This example uses hardware SPI on the Arduino Due. Connect the OLED clock and data pins to the Due's SPI header.
#include <Arduino.h>
#include <SPI.h>
#include <U8g2lib.h>
// 2.42 inch 128x64 SSD1309 OLED using 4-wire hardware SPI
// Arduino Due wiring:
// CLK = SPI Header SCK
// DIN = SPI Header MOSI
// CS = Digital 10
// DC = Digital 9
// RST = Digital 8
U8G2_SSD1309_128X64_NONAME0_F_4W_HW_SPI u8g2(
U8G2_R0,
/* cs=*/ 10,
/* dc=*/ 9,
/* reset=*/ 8
);
void setup() {
u8g2.begin();
}
void loop() {
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_ncenB14_tr);
u8g2.drawStr(0, 22, "Arduino Due");
u8g2.setFont(u8g2_font_6x12_tr);
u8g2.drawStr(0, 42, "SSD1309 SPI");
u8g2.drawStr(0, 58, "128x64 Display");
u8g2.sendBuffer();
delay(1000);
}
ESP32 and Arduino Compatibility Notes
This OLED display is especially well suited for ESP32 projects because ESP32 boards use 3.3V logic. Connect the display to the ESP32's SPI pins, provide 3.3V power, and use a compatible display library such as U8g2 or another SSD1309-capable graphics library.
Arduino compatibility depends on the board being used. 3.3V Arduino boards are the easiest match. When using a 5V Arduino board, use a 3.3V power source and logic level conversion on the signal lines. Do not connect this display directly to 5V logic pins.
Bright, Compact Display for Embedded Electronics
The 2.42 inch SSD1309 OLED module is a great choice when you need a readable display that is larger than the typical small OLED screen but still compact enough for modern embedded electronics. It is a practical display option for ESP32 developers, electronics students, Arduino users, repair benches, and anyone adding a simple visual interface to a custom circuit.
You may also like
You may also like
Recommended products
Most orders arrive in 2-3 days
Our staff will go the extra mile to find your solution
A favorite of the Seattle area since 1989
PCI DSS compliant checkout