SSD1306 OLED Display
Controller family for small monochrome OLED panels.
What is the SSD1306 OLED Display and what is it used for?
Controller family for small monochrome OLED panels. Makers use it to show sensor readings.
Compact status interfaces
Displays present information; controllers, pinouts, interfaces and voltage levels vary by module.
Key specifications
| Display spec | Value |
|---|---|
| Type | Monochrome OLED |
| Size | 0.96 inch (common) |
| Resolution | 128 × 64 pixels (128 × 32 also sold) |
| Driver IC | SSD1306 |
| Interface | I2C (4-pin modules) or SPI (7-pin modules) |
| I2C address | 0x3C (some modules 0x3D) |
| Supply voltage | Usually 3.3 to 5 V via onboard regulator; check your module |
Pinout
How to use it
Share the I2C bus with your sensors. Some modules swap the VCC and GND pin order, so read the labels before wiring.
#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 oled(128, 64, &Wire, -1);
void setup() {
oled.begin(SSD1306_SWITCHCAPVCC, 0x3C);
oled.clearDisplay();
oled.setTextColor(SSD1306_WHITE);
oled.println("Hello");
oled.display();
}
void loop() {}Applications
Builds that use it
Desk climate monitor
Humidity display with OLED
Four sensors on one I²C bus
Light level dashboard
Wi-Fi status display
I²C address explorer
Heart rate monitor with OLED
GPS speedometer and location display
Alternatives
- 1602 Character LCDText-only, larger and cheaper, needs more pins or an I2C backpack
- ILI9341 TFT ModuleColour TFT, 320 × 240, SPI
Common questions
What is the SSD1306 OLED Display used for?
In products: compact status interfaces. In maker projects: show sensor readings.
How does the SSD1306 OLED Display work?
Displays present information; controllers, pinouts, interfaces and voltage levels vary by module.
What voltage does the SSD1306 OLED Display need?
Usually 3.3 to 5 V via onboard regulator; check your module.
How do I connect the SSD1306 OLED Display to an Arduino or ESP32?
I2C (4-pin modules) or SPI (7-pin modules). Pins: VCC (Supply), GND (Ground), SCL (I2C clock), SDA (I2C data).
What can I use instead of the SSD1306 OLED Display?
1602 Character LCD and ILI9341 TFT Module.
