WLED/usermods/ssd1306_i2c_oled_u8g2
2019-12-21 18:49:25 -06:00
..
assets usermods: Add SSD1306 display with u8g2 2019-11-28 22:43:46 +01:00
README.md usermods: Add SSD1306 display with u8g2 2019-11-28 22:43:46 +01:00
wled06_usermod.ino Break out SDA and SCL pins into defines. 2019-12-21 18:49:25 -06:00

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.