Flickering eink waveshare display

Hello,
I’ve bought a Waveshare Tri-color 1.54 Inch E-Ink Display V2 Rev2.1 and I’m trying to use it with a regular ESP32 devboard. I’ve tried to install a simple yaml like the one on the ESPHome website and the text appear but the image is very corrupted and it flickers continuously.
My issue is very similar to the one here and I’ve tried to integrate what they said but the result is always the same…

This is my actual YAML (I’ve tried a lot of configurations)

esphome:

  name: eink

  platform: ESP32

  board: esp32dev

external_components:

  - source:

      type: git

      url: https://github.com/velaar/esphome

      ref: dev

    components: [ waveshare_epaper, display]

   

# Enable logging

logger:

# Enable Home Assistant API

api:

  encryption:

    key: "xxx"

ota:

  password: "yyy"

wifi:

  ssid: !secret wifi_ssid

  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails

  ap:

    ssid: "Eink Fallback Hotspot"

    password: "YpVFBPZQQTSH"

captive_portal:

   

# Example configuration entry

font:

  - file: 'fonts/Comic Sans MS.ttf'

    id: font1

    size: 18

spi:

  clk_pin: GPIO15

  mosi_pin: GPIO2

  miso_pin: GPIO12

display:

  - platform: waveshare_epaper

    cs_pin: GPIO4

    dc_pin: GPIO5

    busy_pin: GPIO18

    reset_pin: GPIO19

    model: 1.54inv2

    full_update_every: 1

    reset_duration: 2ms

    lambda: |-

      it.print(0, 0, id(font1), "Hello World!");

and this is how I made the connections


Am I missing something? Is there anyone that got this working?

Thank you in advance

Sorry to disappoint, no solution from me. I didn’t even get the b/w version of that display to work reliably, the behaviour was similar to what you described. Curious to hear if something comes up in this thread…

2 Likes

Hello,

I have the same epaper (tri color 1.54in v2). I finally managed to make it work on a D1 mini (esp8266).

Have a look to this thread.