SOLVED: Can't get Waveshare display to work

I’ve gotten a 2.9" waveshare e-ink display, the one in the example in the docs (trying to minimize any mistakes).
I’ve hooked it up to a D1 mini.
I’ve uploaded the code to the D1 mini, including a font and everything.
The code is just the ‘Hello World’ example, again keeping everything as basic as possible to start with.
But when I power it up, I don’t see the D1 mini coming online, and the display is not showing anything.
If I disconnect the display it boots up, and it comes online, and I can see the logs in esphome, but it complains about timeout on the display (of course).
I can of course build the d1mini without anything, then it just idles, so the d1mini works in itself.

This is my config:

esphome:
  name: kitchendisplay
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: "SSID"
  password: "PW"

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

font:
  - file: "comic.ttf"
    id: comic
    size: 20
 
spi:
  clk_pin: D0
  mosi_pin: D1

display:
  - platform: waveshare_epaper
    cs_pin: D2
    dc_pin: D3
    busy_pin: D4
    reset_pin: D5
    model: 2.90in
    full_update_every: 30
    lambda: |-
      it.print(0, 0, id(comic), "Hello World!");

Power supply insufficient?!

Had the exact same problem on a nodemcu 8266, would be interested in a solution as well :slight_smile:

It

It should not be that, as an e-Paper display is very powersaving, and Ive had a 3A psu connected to it.

I found out what the problem for me was. D3 and D4 on a D1mini can prevent it from booting depending on them being high.
So I changed D3 to D6 and D4 to D7, and bingo, ‘hello world’ :smiley:

1 Like

thanks for your guide, I can’t connected e-paper for long time, I can solve this problem from your experience.

you Great !!!

1 Like