SSD1306 drivers for the ESP-IDF framework…

January 8, 2018 | ESP32 | By: Mark VandeWettering

If I was going to port my ISS code to the ESP32 using the ESP-IDF framework, I’d need a driver for the SSD1306 OLED display.  It does seem like some people have been down this path before.  I haven’t tried any of the following, but a little quick googling revealed some promising links:

https://github.com/yanbe/ssd1306-esp-idf-i2c
https://github.com/imxieyi/esp32-i2c-ssd1306-oled
https://github.com/nkolban/esp32-snippets/tree/master/hardware/displays/U8G2

The last is perhaps most interesting, as the UG8 library is commonly used in Arduino sketches.

Comments

Comment from Oliver
Time 1/9/2018 at 12:56 pm

The Arduino port of the ESP32 framework is also supported by U8g2 directly. Just install U8g2 via library manager.

Comment from Ben
Time 1/12/2018 at 11:17 am

Thanks for the links! The first one worked on my ESP32 to at least emit a Hello World, although the display had some corruption until I added external pull-up resistors, as noted in the readme.

I’ve found the ESP-IDF framework reasonably easy to work with, while it’s not quite as easy as Arduino for rapid development, it’s as good as any other embedded framework I’ve worked with, and easy to recover from a bad flash.