logo

8 Multiplexed OLED /w ESP32 and U8g2 [2/2]

tobozo

tobozo

9 followers

time2 yr agoview6 views

All displays have the same I2C address, the multiplexer takes care of addressing them separately and in sequence.

This demo is now using U8g2 as a graphic library, because it allows multiple instances (three different OLED models) without complaining about the buffer size.

https://github.com/olikraus/u8g2

  • MH-ET-LIVE ESP32 MINUKIT
  • TCA9548A I2C multiplexer
  • SSD1306 (64x48, 128x64, 128x32)

Posted upon request from https://www.reddit.com/user/spooonguard (see https://www.reddit.com/r/esp8266/comments/79o0qo/ssd1306_galore_with_esp32_and_tca9548a_i2c/ ).

Gist code based on this demo https://gist.github.com/tobozo/6d1ad419823148a638832eaefa79fc63

Loading comments...