Trying to get SSD1351 oled to work on a Wemos D1 Mini

I’m trying to get a waveshare 128x128 rgb oled (ssd1351) to work with a Wemos D1 mini.
I’m using the code provided in the docs and the v1.15 beta since this has support for this display. But the D1 keeps restarting after showing “could not allocate buffer for display” in the logs.

Does anyone have en idea what I could be doing wrong?

No yaml, no logs.

Hello!

3 month after here i am lol, same problem of boot loop and i got a solution : the pinout on esphome documentation (https://esphome.io/components/display/ssd1351.html) is not good for me : boot loop with this pinout config :

  clk_pin: D5
  mosi_pin: D7
  reset_pin: D0
  cs_pin: D8
  dc_pin: D1  

i have use instead this pinout config :

 clk_pin: D5
  mosi_pin: D7
  reset_pin: D1
  cs_pin: D8
  dc_pin: D2 

thanks to @javier muñoz sáez

who make it works with Arduino IDE : https://www.hackster.io/javier-munoz-saez/esp8266-and-adafruit-colour-oled-0ff435

It works with Esphome but i cant make OTA upload…just with usb flashing it works, no reboot or bootloop anymore :slight_smile:

EDIT : the SPI is slowing down the wemos d1 mini, it doesnt work and crash each time i put some sensors or binary_sensors in esphome…will try with a ESP32 to see…

1 Like

Also could NOT get the ESP8266 with a SSD1351 OLED to work with the config from the ESPhome documentation.
The pins provided by Olivier allow the display to work.

BUT: wifi is then not working any longer. probably related to this issue: https://github.com/esphome/issues/issues/1588

also tried other pins with the SSD1351, but could not get anything to work… :-/

I am having similar problem, is it confirmed that ESP8266 with a SSD1351 do not work together? or have you found any solution

I ended up switching to an ESP32 based board, got it working fine with that.

I did that as well and now is working, thanks a lot!