Hi all
I got the ePaper 2.13 Shield — WEMOS documentation a while ago and have started fiddling with it and a D1 mini. No matter how I connect it to the D1 it never changes from the welcoming image with the heart and all, and no it’s not a taped on image. Then I ran across a few posts requesting support in Esphome for the shield and it made me wounder what the current support status is? Is there any point of me to continue with my fiddling?
Code below, pretty basic taken from Esphome site.
Corrent, I pasted the code from the website. I have indeed tried all of the 2.13 models. Shouldn’t the display at least show something when it’s powered?
No - e-paper will only change when you write to it. Applying power doesn’t update the display.
It should update after 1s according to update_interval.
update_interval (Optional, Time): The interval to re-draw the screen. Defaults to 1s, use never to only manually update the screen via component.update.
Is it the single color or 3 color display? The docs say only single color is supported.
This appears to be the model you have?
2.13in-ttgo - T5_V2.3 tested. Also works for Wemos D1 Mini ePaper Shield
Correct. 2.13in-ttgo should be my model of choise, it’s a 3 color display.
The logs give me Timeout while displaying image at the interval I set for the update_interval.
Here is the precise code I use at the moment and the corresponding log. I’m beginning to wonder if I use the correct pin for the display? Does the Wemos D1 Mini have dedicated pins for SPI and such?
[E][waveshare_epaper:119]: Timeout while displaying image!
[C][spi:101]: SPI bus:
[C][spi:102]: CLK Pin: GPIO16
[C][spi:104]: MOSI Pin: GPIO5
[C][spi:106]: Using HW SPI: NO
[D][sensor:126]: 'DisplayUptime': Sending state 9.47700 s with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[D][sensor:126]: 'WiFi Strength': Sending state -56.00000 dBm with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[C][uptime.sensor:031]: Uptime Sensor 'DisplayUptime'
[C][uptime.sensor:031]: Device Class: 'duration'
[C][uptime.sensor:031]: State Class: 'total_increasing'
[C][uptime.sensor:031]: Unit of Measurement: 's'
[C][uptime.sensor:031]: Accuracy Decimals: 0
[C][uptime.sensor:031]: Icon: 'mdi:timer-outline'
[E][waveshare_epaper:119]: Timeout while displaying image!
[C][waveshare_epaper:221]: Waveshare E-Paper
[C][waveshare_epaper:221]: Rotations: 0 °
[C][waveshare_epaper:221]: Dimensions: 128px x 250px
[C][waveshare_epaper:233]: Model: 2.13in (TTGO)
[C][waveshare_epaper:251]: Full Update Every: 30
[C][waveshare_epaper:252]: Reset Pin: GPIO14
[C][waveshare_epaper:253]: DC Pin: GPIO0
[C][waveshare_epaper:254]: Busy Pin: GPIO2
[C][waveshare_epaper:255]: Update Interval: 1.0s
[E][waveshare_epaper:119]: Timeout while displaying image!
[C][mdns:103]: mDNS:
[C][mdns:104]: Hostname: displaytest
[E][waveshare_epaper:119]: Timeout while displaying image!
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: xxxxxxx
[C][ota:097]: Using Password.
[W][ota:102]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[D][sensor:126]: 'DisplayUptime': Sending state 14.66000 s with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[C][api:138]: API Server:
[C][api:139]: Address: xxxxxxx
[C][api:143]: Using noise encryption: NO
[D][sensor:126]: 'WiFi Strength': Sending state -38.00000 dBm with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[C][wifi_signal.sensor:009]: WiFi Signal 'WiFi Strength'
[C][wifi_signal.sensor:009]: Device Class: 'signal_strength'
[C][wifi_signal.sensor:009]: State Class: 'measurement'
[C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm'
[C][wifi_signal.sensor:009]: Accuracy Decimals: 0
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[D][sensor:126]: 'DisplayUptime': Sending state 19.80400 s with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[D][sensor:126]: 'WiFi Strength': Sending state -36.00000 dBm with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[D][sensor:126]: 'DisplayUptime': Sending state 24.89200 s with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[D][sensor:126]: 'WiFi Strength': Sending state -36.00000 dBm with 0 decimals of accuracy
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[E][waveshare_epaper:119]: Timeout while displaying image!
[D][sensor:126]: 'DisplayUptime': Sending state 29.99000 s with 0 decimals of accuracy
I’m not sure how to best present my wiring. Picture shows the wiring on the display and code below is the corresponding pins on the D1. Thus particular code, without the reset and busy pin runs without error messages but still nothing changes on the display
Did you ever got it to work? I’ve been trying to setup the same screen and esp combination with ESPHome but still without luck. Maybe it has something to do with the resolution?
When choosing the 2.13in-ttgo model I see the dimensions 128px x 250px. But I think that should be 104px x 212px.
No, I did not. I was thinking about fiddling with some Ardunio code just to at least get a “hello world” but I left it in the box. At least it’s good to know someone else has the same problem and it’s just not me who has a broken device.