Support of E-Ink Displays

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Der_dankbare_User
New user
Posts: 3
Joined: 15 Apr 2018, 16:04

Support of E-Ink Displays

#1 Post by Der_dankbare_User » 15 Apr 2018, 16:14

Hello everybody,

i use some Sonoff devices on Fhem and with EspEasy Version: v2.0-20180218. I want to thank everybody for this perfect part of firmware. Meanwhile there are some displays supported, but there is no E-Ink Display in the device list.

I am looking forward to use some like this: https://www.waveshare.com/product/7.5inch-e-paper-b.htm
with that controller: https://www.waveshare.com/e-paper-esp82 ... -board.htm

Do you think that this displays will be integrated in some version of EspEasy in the future?

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Support of E-Ink Displays

#2 Post by papperone » 15 Apr 2018, 20:05

I do remember there's some request open in GitHub but not sure about when/if ESPEasy will support those displays.
I think that using 6 GPIOs will limit a lot other devices and as well the memory needed for the bigger ones will be too high (as far as I understood).
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

TD-er
Core team member
Posts: 9874
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support of E-Ink Displays

#3 Post by TD-er » 15 Apr 2018, 22:22

I've already a few Waveshare e-ink displays here to implement support for.
So it is pending, but given the amount of work I cannot give you an estimate timeframe.

Note that the bigger screens also have more pixels.
More pixels means more memory needed for the frame buffer and memory is quite limited on the ESP8266.
So maybe the bigger screens can only be supported on the ESP32, which has about the same amount of memory my MSX2 had in 1988, which was a huge step compared to the 1983 MSX1 ;)
The difference between the ESP8266 and the ESP32 is about the same, when comparing memory.

Der_dankbare_User
New user
Posts: 3
Joined: 15 Apr 2018, 16:04

Re: Support of E-Ink Displays

#4 Post by Der_dankbare_User » 17 Apr 2018, 20:57

Thank you for your answers!

Please tell me, if you reached something and good to hear that you try! For me is is not so important to have many Gpio´s left. I just want to drive such a display for showing some data like weather, or so.
That combined with the possibility to of WiFi and low power consumtion would make a nice weatherstation.... Besides, i like the technology!

TD-er
Core team member
Posts: 9874
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support of E-Ink Displays

#5 Post by TD-er » 17 Apr 2018, 21:00

It is indeed magnificent technology.
At my previous job, we had some measurement equipment (self made) which allowed focus at micron precision and a depth of field of 10 micron.
That gives you images like these (Kindle 3)
Image

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: Support of E-Ink Displays

#6 Post by LisaM » 18 Apr 2018, 15:14

Supported in uPyEasy, since there's a micropython driver for it: https://github.com/dhallgb/eInk-micropython
Writing a plugin that uses the driver isn't that hard to do.
Actually almost all display types (oled,tft,e-ink) have micropython drivers...

Der_dankbare_User
New user
Posts: 3
Joined: 15 Apr 2018, 16:04

Re: Support of E-Ink Displays

#7 Post by Der_dankbare_User » 18 Apr 2018, 18:14

@ TD-er: very impressive pic! Thx for sharing!
@ LisaM: The uPyEasy (you developed, right?) is today runnig on ESP32 but not ESP82 right? If so, it should not be a problem to run the display on that device!

JojoS
New user
Posts: 3
Joined: 08 Sep 2018, 13:48

Re: Support of E-Ink Displays

#8 Post by JojoS » 08 Sep 2018, 14:00

Hello,
is there any update or activity on supporting e-ink / epaper displays? I've recenctly bought this waveshare ePaper driver board:
https://www.waveshare.com/e-paper-esp82 ... -board.htm
This is a simple ESP8266 board and waveshare ePaper displays can be connected directly. There is wiki for this driver board and source code for an Arduino project that turns this board into a webserver where an image file can be converted to b/w and uploaded to the display. Upload is using http and some POST requests
Maybe this board is also interensting for the ESPEasy.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Support of E-Ink Displays

#9 Post by grovkillen » 08 Sep 2018, 14:12

It's on the Todo list but we need more sponsors so we can develop full time. 8-)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

JojoS
New user
Posts: 3
Joined: 08 Sep 2018, 13:48

Re: Support of E-Ink Displays

#10 Post by JojoS » 08 Sep 2018, 14:47

thanks for your fast reply.
Yes, it would be nice to have more time for so many projects :)
You should add a donation button on the main homepage, in the wiki its too hidden.
Thanks for your great software and support!

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Support of E-Ink Displays

#11 Post by grovkillen » 08 Sep 2018, 15:12

I know, plan to make a brand new home page that will make everything so much clearer. Thanks for the idea! :)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

woocashewski
Normal user
Posts: 13
Joined: 22 Sep 2018, 19:09
Location: Poland

Re: Support of E-Ink Displays

#12 Post by woocashewski » 25 Sep 2018, 10:13

I'm waiting for this plugin too ;)

so... where's "donation" button? ;)

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Support of E-Ink Displays

#13 Post by grovkillen » 25 Sep 2018, 12:25

It's right above and below your post 8-)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

woocashewski
Normal user
Posts: 13
Joined: 22 Sep 2018, 19:09
Location: Poland

Re: Support of E-Ink Displays

#14 Post by woocashewski » 10 Nov 2019, 11:27

is there some working plugin for e-ink?

Sminter4
Normal user
Posts: 40
Joined: 04 Aug 2021, 23:25
Location: DE

Re: Support of E-Ink Displays

#15 Post by Sminter4 » 19 Nov 2023, 21:08

is there now some working plugin for e-ink?

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Support of E-Ink Displays

#16 Post by Ath » 19 Nov 2023, 21:19

Sminter4 wrote: 19 Nov 2023, 21:08 is there now some working plugin for e-ink?
For e-ink/ePaper displays we have P096, that's still missing from the released documentation, but I have added documentation in a pending PR. That PR is intended to add some more display models (but I wasn't very successful yet in adding that, mostly because of the lack of documentation :().
The currently supported and working e-ink displays are:
- IL3897 (Lolin 250 x 122px)
- UC8151D (212 x 104px)
- SSD1680 (250 x 212px)
And when creating a Custom build with the proper #define, or using a MAX build:
- Waveshare 2.7" (264 x 176px)

NB: Don't expect displays with the matching resolution, but a different controller, to work as intended, these controllers are very picky about the initialization sequence, and without the technical documentation it's nearly impossible to get that right...
/Ton (PayPal.me)

TD-er
Core team member
Posts: 9874
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support of E-Ink Displays

#17 Post by TD-er » 19 Nov 2023, 21:24

Sminter4 wrote: 19 Nov 2023, 21:08 is there now some working plugin for e-ink?
P096, which is included in the "display" build set (and the MAX builds of cours)

Sylv_01
Normal user
Posts: 19
Joined: 25 Aug 2021, 15:58

Re: Support of E-Ink Displays

#18 Post by Sylv_01 » 27 Feb 2024, 15:07

Ath wrote: 19 Nov 2023, 21:19 For e-ink/ePaper displays we have P096, that's still missing from the released documentation, but I have added documentation in a pending PR. That PR is intended to add some more display models (but I wasn't very successful yet in adding that, mostly because of the lack of documentation :().
The currently supported and working e-ink displays are:
- IL3897 (Lolin 250 x 122px)
- UC8151D (212 x 104px)
- SSD1680 (250 x 212px)
And when creating a Custom build with the proper #define, or using a MAX build:
- Waveshare 2.7" (264 x 176px)

NB: Don't expect displays with the matching resolution, but a different controller, to work as intended, these controllers are very picky about the initialization sequence, and without the technical documentation it's nearly impossible to get that right...
Hello, I'm looking for using a Waveshare 2,7" screen with a Wemos D1 Mini, I don't find any documentation on PR, for example where cabling SPI signals in GPIO ?
Have you got some example to send me ?
Thanks in advance, and many thanks for your great job !

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Support of E-Ink Displays

#19 Post by Ath » 27 Feb 2024, 21:04

Sylv_01 wrote: 27 Feb 2024, 15:07 Hello, I'm looking for using a Waveshare 2,7" screen with a Wemos D1 Mini, I don't find any documentation on PR, for example where cabling SPI signals in GPIO ?
Have you got some example to send me ?
Thanks in advance, and many thanks for your great job !
The connections on the e-Paper board are not that difficult to understand, IMHO. The standard SPI connections MISO, MOSI and CLK are shown on the Hardware page, but most displays only need MOSI -> DIN and CLK -> CLK, and the other required connections, RST, DC and CS are configured on the device configuration page (you can select any available GPIO). The BUSY pin isn't required (and doesn't seem to work well for some displays), so can be left at None.
VCC on the display should be connected to 3V3, and GND to GND, of course.
/Ton (PayPal.me)

Sylv_01
Normal user
Posts: 19
Joined: 25 Aug 2021, 15:58

Re: Support of E-Ink Displays

#20 Post by Sylv_01 » 28 Feb 2024, 08:43

Hello, thanks for you reply !
Yesterday evening I have upload the "display" build into my Wemos, and have seen that all SPI bus are pinout availability, is great !
So I bought one of 2,7" e-ink display, now I will try to compile a extra build with P096 and P102 plugins together because I want to use a PZEM004-T with this kind of display (P102 plugin is already in "energy" build and P096 for e-ink is on "display" build...)

Smotek7
Normal user
Posts: 222
Joined: 01 Aug 2020, 16:18
Location: SK

Re: Support of E-Ink Displays

#21 Post by Smotek7 » 11 Jan 2025, 22:48

Will the combination of
ESP32-C3, Waveshare 2.7" display (264 x 176px)
And the standard Display build work for me?
Or will I have to make modifications and create my own build?
This is also a project for the future, I just wanted to order the display.

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Support of E-Ink Displays

#22 Post by Ath » 11 Jan 2025, 23:26

That display should be available in an ESP32 Display build.

be sure not to update the display too often, as a) it'll show a lot of flickering, and b) cause wear on the display, that won't be visible immediately, by only after some time (and lots of updates).
/Ton (PayPal.me)

Smotek7
Normal user
Posts: 222
Joined: 01 Aug 2020, 16:18
Location: SK

Re: Support of E-Ink Displays

#23 Post by Smotek7 » 12 Jan 2025, 00:11

If there is a clock on the display, it will update once a minute. Is that a lot? I have no experience at all.
This will be my first attempt with E-ink.

TD-er
Core team member
Posts: 9874
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support of E-Ink Displays

#24 Post by TD-er » 12 Jan 2025, 00:20

Problem with e-ink is that there are small balls which have some paint on one side.
The way an e-ink display operates is these balls are rotated.
Each rotation will wear off this paint.
I don't know if there is an actual wear stated anywhere.
However I do know that one of such displays which a friend of mine did change as often as 1x per second.
This display was worn out in about a weekend.
So let's assume an order of magnitude of about 100k updates.

1440 minutes per day, so that's less than a year till the pixels used to show the time will fade and show a 'burn in' pattern like you sometimes saw on monitors that had shown the same for long time.

I think you better lower it to once per 5 minutes, or maybe even add some presence detector to only update the display when someone is around.

Smotek7
Normal user
Posts: 222
Joined: 01 Aug 2020, 16:18
Location: SK

Re: Support of E-Ink Displays

#25 Post by Smotek7 » 12 Jan 2025, 12:48

For info, according to waveshare, it recommends:
- refresh at least 180s
- refresh 1,000,000 times (1 million times)

https://www.waveshare.com/wiki/2.7inch_ ... ccordion19

TD-er
Core team member
Posts: 9874
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support of E-Ink Displays

#26 Post by TD-er » 12 Jan 2025, 13:13

Just keep in mind that a full refresh differs from a partial refresh.
Partial refresh is typically done more quickly and thus "more violently" towards the tiny balls in the display.
On the other hand, a full refresh does first 'invert' the newly painted image and then inverts all pixels again.
Thus twice the number of rotation. But at least those rotations are less turbulent to those tiny balls.

Also partial refreshes over different areas can be counted as multiple refreshes which makes this number look better.

The guestimate of 100k was based on the idea we don't know when the display got damaged over the weekend left unattended.
86400 seconds in a day, so a weekend can be as much as 300k, which is in the same order of magnitude as 1'000'000.

Edit:
This is another remark from your link I didn't know:
During the standby process (that is, after the refresh operation), it is recommended that the customer set the e-paper screen to sleep mode, or power off (the power supply part of the e-paper screen can be disconnected with an analog switch) to reduce power consumption and prolong the life of the e-paper screen. (If some e-paper screens are powered on for a long time, the screen will be damaged beyond repair.)

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests