board-ssd1306 Reference
Monochrome 128x64 OLED display with I2C interface
The default I2C address of the SSD1306 module is 0x3c (60). Some modules have a different address (0x3d), you can change the address by editing diagram.json and setting the i2cAddress
attribute to "0x3d".
Pin names
Name | Description | Arduino Uno pin |
---|---|---|
GND | Ground | GND |
VCC | Supply voltage | 5V |
SCL | I2C clock line | A5 |
SDA | I2C data line | A4 |
Attributes
Name | Description | Default value |
---|---|---|
i2cAddress | I2C address of the display | "0x3c" |
Using in Arduino
You can choose between several SSD1306 Arduino libraries:
- Adafruit SSD1306
- ssd1306
- lcdgfx
- U8glib
- U8g2 (also U8x8)
- SSD1306Ascii
- Tiny4kOLED - for ATtiny85 users
All the above libraries are available on Wokwi.