Waveshare e-paper displays with SPI

GDEH0213B72, GDEW029T5, see GxEPD2/MyEPDs_UpdateInfos.pdf at master · ZinggJM/GxEPD2 · GitHub
I don't have the 2.6".

Thank you! The one I have at home is 2.7" e-Paper HAT from Waveshare. Is that the same panel as GDEW027W3 wich in your list has a 0.4 s of partial update time? I googled for that reference and it points me to a Good Display panel. They are pretty exactly the same form and dimensions, but I am not sure if they are really the same panel with the same driver inside (ILI91874). Can you confirm if the Waveshare and the GoodDisplay are the same?

Yes, this is the same panel. The SPI panels Waveshare sells are from Good Display.

Note that the time in my list is the measured refresh time, busy active time. Total update time is slightly longer. And I do not recommend to use faster update repeat periods than 2 seconds except for the 1.54 200x200 b/w, which works well with period of 1 second. Note that the published lifetime specified is 1 Mio updates, but my 1.54 has done over 10 Mio updates.

Thank you again. This is perfect, I can use the one I already have and no need to buy a different one. I assume there is the need to use a voltage level converter when using an Arduino UNO or Nano with that Display HAT.

It depends on the connector you use, with the actual version. The Pi connector is for 3.3V, but the other connector goes through a level converter, see the backside picture.

https://www.waveshare.com/product/mini-pc/raspberry-pi/hats/2.7inch-e-paper-hat.htm

Mine must be older because it does not carry the level converter. Anyway a friend will lend me a nano clone with cortex m0, so I will not need the level converter. Thanks for your time.

Dear All,

I have started implementing this nice code for another system based on nrf52 chip. The library for 2.7 waveshare (black) is working nicely, but often after the "deep sleep" or "power off" the panel gets noisy or deteriorated. I think the picture below explains it the best.

Anyone had the same problem? I played with all settings and changed LUT tables, but could not find the real problem.

Best, BEA

Screenshot.png

@bemek,

you didn't get an answer so far, so this doesn't seem to be a widespread issue.

Your picture doesn't tell us anything about the e-paper display you have.

If you post a link to where you got it, this could become clearer.

The processor and board and the connection to the display is also relevant. And of course the library you use.

I bought fairly recently the Waveshare 2.9inch E-Ink display module and I've tried to find answers to following questions without success and would appreciate any help here.

  1. How do I know if my Module/HAT is the version supporting 5V voltage so it can be connected directly to Arduino UNO without a logic converter?

  2. The user manual recommends full refresh every now and then to avoid damaging the display. What is a reasonable interval? If I do two partial refreshes per second is it enough to do a full refresh every minute or every 10 minutes?

  3. How do I change between the partial and full refresh using the demo library? Any other way than using epd.Init(lut_full_update) and epd.Init(lut_partial_update) commands?

  1. How do I know if my Module/HAT is the version supporting 5V voltage so it can be connected directly to Arduino UNO without a logic converter?

Compare the backside of your display with the picture of the backside on the Waveshare website. You will see if your display has the level converter.

  1. The user manual recommends full refresh every now and then to avoid damaging the display. What is a reasonable interval? If I do two partial refreshes per second is it enough to do a full refresh every minute or every 10 minutes?

From my experience every 2 hours should be enough. But with the 2.9" b/w I wouldn't do more than one partial update every 2 seconds.

  1. How do I change between the partial and full refresh using the demo library? Any other way than using epd.Init(lut_full_update) and epd.Init(lut_partial_update) commands?

Yes, I think so. But I have no experience with the Waveshare demo.

Hi, Waveshare on their wiki state that "only some of the two-color e-paper support partial refresh".
On Waveshare's website, partial refresh time is stated only for smaller displays. And for larger ones, it is - "N/A".

Will it be possible to make partial refresh with GxEPD2 lib on that display - 640x384, 7.5inch E-Ink display HAT (https://www.waveshare.com/7.5inch-e-Paper-HAT.htm)?

"only some of the two-color e-paper support partial refresh"

is correct, in the sense that only some have "fast partial update", which means differential update.

There are 4 different cases:

  • the 1.54" 200x200 3-color display has no partial update at all; it has no partial window addressing capability.

  • some displays have partial window addressing, but refresh flashes the whole screen, e.g. the 5.38" and 7.5" displays

  • some have partial update but no differential update, e.g. 3-color displays

  • only the smaller b/w displays do have differential update.

see also: https://github.com/ZinggJM/GxEPD2/blob/master/MyEPDs_UpdateInfos.pdf

Fast partial update also requires the availability of waveform look-up tables for differential update.
And availability of that feature in the library or demo application.

I contacted Waveshare and received following answers to my questions:

  1. How do I know if my Module/HAT is the version supporting 5V voltage so it can be connected directly to Arduino UNO without a logic converter?

The 5V version have two chips on the PCB

  1. The user manual recommends full refresh every now and then to avoid damaging the display. What is a reasonable interval? If I do two partial refreshes per second is it enough to do a full refresh every minute or every 10 minutes?

We recommend users full update the e-Paper every 10-20 partial refresh times.

@ZinggJM

Hi!

I am trying to connect the ED060SCT 6" via the Waveshare e-Paper IT8951 Driver HAT to an NodeMCU-P32S (ESP32 devboard)

The board works when I test it using the Raspberry Pi with the Hat, but I can't seem to get the demo code to work using the SPI on the ESP32.

I've put all the information up on a github:

Do you have any idea what I might be doing wrong?

Also as a side note.. I read that you only support boards/displays you have. I would like to use the 9.7inch in a project soon and your library is great. If waveshare won't send you one, can I buy one and send it to you?

Many thanks and thanks again for your work on this library!

@setpixel,

I found links to your processor board:

https://www.aliexpress.com/item/32931064478.html

and one with pinout description:

https://www.aliexpress.com/item/33027898949.html

The pin inked CLK is for the SPI connection for FLASH, not for VSPI used by the SPIClass.

C:\Users\xxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\variants\nodemcu-32s\pins_arduino.h:

static const uint8_t SS    = 5;
static const uint8_t MOSI  = 23;
static const uint8_t MISO  = 19;
static const uint8_t SCK   = 18;

So you need to connect SCK to SCK pin 18.

If waveshare won't send you one, can I buy one and send it to you?

I didn't ask Waveshare if I could get a free sample. I don't expect. Someone else could try to persuade them.
You are welcome to sponsor me with that display - would need with matching IT8951 Driver HAT - I'll PM you my address.
Note that the IT8951 Driver HAT comes programmed or parameterized for the specific e-paper.

Jean-Marc

Thank you for the amazing @ZinggJM library.

I use in my third project "Barometer ePapper"
I created a universal PCB for ESP LOLIN D32

PCB Source:
https://drive.google.com/drive/folders/1GqnOp_M0aT9-g1GN6txYRvwOGRHW0If1

I use with ePaper 7.5
Ps: ESP LOLIN D32 has integrated voltage divider
100k + 100K for battery measurement.

Separate ESP in Sleep Taking 0.09mA with ePaper 0.018mA


image storage online

Hi,

I am always reading about the effect of temperature on the image quality and most of the EPD datasheets refer to some temperature sensor commands.

  1. Does someone has experienced different behavior of the displayed image in different temperature environments? (0 to 40 degree Celsius)

  2. Does the EPD calibrate its internal temperature state automatically or do I have to read and write the internal temperature value each time via SPI?

  3. Is there any reference code which already implements the temperature configuration?

  4. Why should I use an external temperature sensor when there is already a build in sensor?

Best regards

Hi 51M0N95,

For detailed information you would need to ask the manufacturer of the display panels, Good Display for the e-papers of this topic.

  1. I do not have this experience, as I use them only in the room temperature range.

  2. yes, the controller adapts the vcom value according to temperature; some specs have tables.
    reading the internal sensor value would be difficult, DIN might work as SDIO, but you would need an SPI class that can use SDIO instead of MOSI and MISO.

  3. internal compensation is automatic. I haven't seen any code for external sensor.

  4. should not be needed, the internal sensor is at the optimal place, external sensor might be more exact.

Jean-Marc

Hi @Jean-Marc,

thanks for your detailed response. :slight_smile:

  1. yes, the controller adapts the vcom value according to temperature
  1. internal compensation is automatic.

So I don't have to do any temperature reade/write command for calibration. Nice!
But where do you know this from? I could not find any information about this automatic function.

Another issue/question:
4. I have some blurry 1.54 three color EPDs. With blurry I mean: I can clearly see that besides a black or red pixel the neighbored pixels, which should be white, get the same color, too. If I try the same hardware with another EPD the result is fine.
Does someone have experience in LUT configuration? Or are there any other parameter which I can play with?

Please post a picture and the link to your display.