WLED/usermods/ssd1306_i2c_oled_u8g2
..
assets
README.md
wled06_usermod.ino

README.md

SSD1306 128x32 OLED via I2C with u8g2

This usermod allows to connect 128x32 Oled display to WLED controlled and show the next information:

  • Current SSID
  • IP address if obtained
    • in AP mode and turned off lightning AP password is shown
  • Current effect
  • Current palette
  • On/Off icon (sun/moon)

Hardware

Hardware connection

Requirements

Functionality checked with:

  • commit 095429a7df
  • Wemos d1 mini
  • PlatformIO
  • Generic SSD1306 128x32 I2C OLED display from aliexpress

Platformio

Add U8g2@~2.27.2 dependency to lib_deps_external under [common] section in platformio.ini:

# platformio.ini
...
[common]
...
lib_deps_external =
  ...
  U8g2@~2.27.2
...

Arduino IDE

Install library U8g2 by oliver in Tools | Include Library | Manage libraries menu.