Skip to main content
Monochrome 128x64 OLED display with I2C interface SSD1306
The default I2C address of the SSD1306 module is 0x3c (60). Some modules have a different address (0x3d), which can be changed by editing diagram.json and setting the i2cAddress attribute to “0x3d”.

Pin names

GND
pin
Ground connectionArduino Uno pin: GND
VCC
pin
Supply voltageArduino Uno pin: 5V
SCL
pin
I2C clock lineArduino Uno pin: A5
SDA
pin
I2C data lineArduino Uno pin: A4

Attributes

i2cAddress
string
default:"0x3c"
I2C address of the display. Can be set to “0x3d” for modules with alternate addressing.

Using in Arduino

You can choose between several SSD1306 Arduino libraries:
All the above libraries are available on Wokwi.

Simulator examples

Build docs developers (and LLMs) love