Hi WegzZ,
Try to use it with library GxEPD2, where it is supported, but untested. It has a very long refresh time ~30s.
Hi WegzZ,
Try to use it with library GxEPD2, where it is supported, but untested. It has a very long refresh time ~30s.
Hi,Jean-Marc Zingg
I hope a beautiful day for you,
Yesterday I ordered 5.83 inch GoodDisplay with serial of : GDEW058Z21 and used it with the ESP32 but unfortunately the library you made is supporting the B&W version :
//#include <GxGDEW0583T7/GxGDEW0583T7.cpp> // 5.83" b/w
could you tell me what to do ? I really want to use the red Color.
Thanks in Advance,
WegzZ:
Hi,Jean-Marc ZinggI hope a beautiful day for you,
Yesterday I ordered 5.83 inch GoodDisplay with serial of : GDEW058Z21 and used it with the ESP32 but unfortunately the library you made is supporting the B&W version :
//#include <GxGDEW0583T7/GxGDEW0583T7.cpp> // 5.83" b/w
could you tell me what to do ? I really want to use the red Color.Thanks in Advance,
GxEPD2, GxEPD2_583c.h and post #100
Hi,
I am wondering if the 1.43 in flexible display made by good display would be a candidate for being added to one of the above libraries. I would like to incorporate this into a project but I am unsure of the difficulty that is required to control it. From my research it looks this product is fundamentally different than the other displays supported in the GxEPD libraries. Has anyone had any experience with using these displays?
Hi,
The Good Display SPI e-paper displays came into the reach of Arduino hobby users, when Good Display decided to sell the DESTM32-S2 adapter board of their DESTM32-S1 evaluation board separately (as I had suggested to them). Then came Waveshare with their SPI e-paper display boards, which made these displays easy to use.
For the mentioned 1.43 flexible display an adapter board with controller would be needed, and a demo code example to start with. If this combination could be a candidate for GxEPD or GxEPD2 is unknown; I don't expect. It might be better usable with a dedicated library or driver class.
Jean-Marc
Hi Jean-Mark ,
I have bought the GDEW042Z1 from GOOD_DISPLAY and I Have some sensors that I need to show their values on the e-paper , the problem that the screen always blink as I change every value ,
I used the example screen but no way to solve it ...
my code i used in partial update was in the examples you provided but the example also blink the whole display:
it would be great if you helped to change text in this area without blinking
thanks,
----------------------------------------------------------------------------------
#include <GxEPD2_BW.h>
#include <GxEPD2_3C.h>
#include <Fonts/FreeMonoBold9pt7b.h>
GxEPD2_3C<GxEPD2_420c, GxEPD2_420c::HEIGHT> display(GxEPD2_420c(/*CS=5*/ SS, /*DC=*/ 17, /*RST=*/ 16, /*BUSY=*/ 4));
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.println("setup");
display.init(115200);
first update should be full refresh
helloWorld();
// partial refresh mode can be used to full screen,
delay(1000);
helloEpaper();
Serial.println("setup done");
}
void loop()
{
}
void helloWorldCallback(const void*)
{
uint16_t x = (display.width() - 160) / 2;
uint16_t y = display.height() / 2;
display.fillScreen(GxEPD_WHITE);
display.setCursor(x, y);
display.println("Hello World!");
}
void helloWorld()
{
//Serial.println("helloWorld");
uint16_t x = (display.width() - 160) / 2;
uint16_t y = display.height() / 2;
display.setRotation(1);
display.setFont(&FreeMonoBold9pt7b);
display.setTextColor(GxEPD_BLACK);
display.setFullWindow();
display.drawPaged(helloWorldCallback, 0);
Serial.println("helloWorld done");
}
void helloEpaperCallback(const void*)
{
uint16_t x = (display.width() - 160) / 2;
uint16_t y = display.height() * 3 / 4;
display.fillScreen(GxEPD_WHITE);
display.setCursor(x, y);
display.println("Hello wegzz!");
}
void helloEpaper()
{
Serial.println("helloEpaper");
uint16_t x = (display.width() - 160) / 2;
uint16_t y = display.height() * 3 / 4;
display.setRotation(1);
display.setFont(&FreeMonoBold9pt7b);
display.setTextColor(display.epd2.hasColor ? GxEPD_RED : GxEPD_BLACK);
display.setPartialWindow(0, y - 14, display.width(), 20);
display.drawPaged(helloEpaperCallback, 0);
Serial.println("helloEpaper done");
}
Hi WegzZ,
Unfortunately you can't be helped with your 3-color display. This is the physical process needed to refresh a colored e-paper display, and it is driven by a wavetable stored in the controller on the e-paper panel, the lengthy slab you can see near the flexible connector.
For your display the refresh time is about 16 seconds, and you see the red color refreshed towards the end of the refresh phase.
Only the small b/w e-papers that officially have partial update have "fast partial update" with a special wavetable for this (only possible for monochrome), plus the 4.2" b/w with an unofficial fast partial update waveform table, now also available in the official demo.
In GxEPD2 you find the measured refresh times of the e-paper displays I have, e.g. for 4.2" 3-color:
static const uint16_t full_refresh_time = 16000; // ms, e.g. 15771891us
static const uint16_t partial_refresh_time = 16000; // ms, e.g. 15771891us
Please edit your post and put the code into code tags, the </> command icon.
Hi everybody,
Very usefull library for epaper. Congratulation for your work
Just for your information, I made a monitor with esp8266+DESTM-S2+epaper and a 3d model for it.
You can find it here : Another Wemos ESP8266 2.9" e-paper Enclosure by b1g0n3 - Thingiverse

Francois
Hi Jean-Marc,
I am working on a project where I am planning to use E-paper display (B/W) with arduino Mega. I have interfaced another e-paper display already with Atmega2560 already but due to some limitation of that I have to switch to the e-paper display of good-display company. On their website they are providing code for STM and as far as I understood from this thread you have done it with ESP for memory. Atmega2560 have 8KB of RAM so can we/ have you interface it with arduino Mega?
If yes can you share the code?
Thank you.
Hi Crazy Man,
Arduino MEGA / Atmega2560 is an uncommon board for use with e-paper for me. So I did not handle the special case of a Arduino MEGA with e.g. a 200x200 pixel b/w e-paper display in my library GxEPD. The display buffer for this would just fit into available RAM: 200*200/8 bytes. GxEPD handles all AVR Arduinos using paged drawing.But you can use GxEPD with Arduino MEGA.
These e-papers work with 3.3V supply and need 3.3V data signals. Use at least series resistors on data lines.
With the library GxEPD2 you can specify the page height used for paged drawing in the application code as template parameter, so you can decide how much RAM should be used for paged drawing or full buffered drawing, and how much left for your application.
Take a look at the readme.md files of these libraries, to learn about paged drawing.
You did not tell which e-paper display you intend to use, so I can't provide more help for now.
Post again with additional questions; this should get you started. Good Luck!
Jean-Marc
Hi Jean-Marc,
I will be using good-display e-paper model GDEW0213V7LT.
here's the link http://www.good-display.com/products_detail/productId=405.html
I know the memory is the main constraint for E-paper that's why I have selected Atmega2560, and I have already made standalone Atmega2560 PCB for using it with E-paper with the driver circuitry and also tested with one E-paper display which needed 5512 bytes successfully.
I will take look into your library.
Thank you for your help. ![]()
I will be using good-display e-paper model GDEW0213V7LT.
Unfortunately this e-paper is not supported by any of my libraries; I do not have this new display.
It has a different resolution than the 2.13" b/w display GDE0213B1 I have and support.
The resolution parameters and maybe other setup parameters will be different.
You can try to adapt the display classes for the GDE0213B1 to your GDEW0213V7LT. Or try to persuade Good Display Support to provide one of these to me.
Jean-Marc
Sure, I'll try that and post what happened.
Thank you.
Hi everybody,
For a project I need a big Epaper screen with partial refresh so I was suggested to use the 6" one of Good Display, unfortunately it works in parallel and it is not well documented to be used with Arduino boards.
I know that some people is working on that and I wrote to the company to make this porting to Arduino easier, this was the answer.
Good day.
This is Chris from Good Display team, thanks for your inquiry.
Regarding to our 6" with partaial refesh epaper, you will see more information as below:
http://www.good-display.com/products_detail/productId=113.html
Current for the sample code we can provide is only support ARM, but i will inform our R & D dept.
Can you develop the board refer to the code that we provided? Also may i know do you have tested our epaper?Any question, contact me anytime.
So I answer that I can't develop my own code, but some people is working on that and that I would buy this display if well supported etc...
He answered me again (very kindly).
Good day.
Appreciate that you can share so much information with us, this will be very helpfull.
This week on Wednesday, we will have a meeting to discuss about Arduino.
For the demo code, i suggest you try to learn from one of our agent Wareshare, they have Arduino board, the epaper on sale all provide by us.Will update any news here.
I think that the this very kind and willing company is coming towards the Arduino world in the future.
Very welcome!
I have added the following to the Waveshare e-paper topic:
Addition for this topic:
Maybe you could ask Waveshare if they have any plans for additional parallel interface e-paper displays. Their 4.3" b/w e-paper display with serial connection uses the 4.3" parallel interface e-paper; in fact, their board is a complete STM32 system. So they have the knowledge and resources to do this, but would maybe need to know the market potential. The Arduino community might be very interested, if the source would be provided open, to allow to modify the on-board application.
From my experience, the 6" parallel e-paper provides much better contrast and picture quality than the 4.3".
I now have a 7 days evaluation license for Keil 5, and my next step is to check the original demo code on my DESTM32-T system, as my initial version of the ported code hangs at an unexpected place.
Jean-Marc
I will forward your question to them and wait for the answer ![]()
ZinggJM:
Very welcome!I have added the following to the Waveshare e-paper topic:
I now have a 7 days evaluation license for Keil 5, and my next step is to check the original demo code on my DESTM32-T system, as my initial version of the ported code hangs at an unexpected place.
Jean-Marc
Hello everybody,
I'll try to introduce e-paper for ma domotic station but i have a problem... it doesn't work ![]()
I use a Blue Pill with DESTM32-S2 and HINK-E042A07 (HINK-E042A07 )
I use GxEPD_SPI_TestExample sketch and uncomment the lines below:
#include <GxGDEW042Z15/GxGDEW042Z15.cpp> // 4.2" b/w/r
#define BOARD_SPI1_NSS_PIN PA4
#define BOARD_SPI1_MOSI_PIN PA7
#define BOARD_SPI1_MISO_PIN PA6
#define BOARD_SPI1_SCK_PIN PA5
I'm sur to my hardware connection between DESTM32-s2 and blue pill..
On the serial i have "Busy Timeout" message.
Do you have any idea why it doesn't work please ?
Hi Maxvi33,
Yes, I have an idea, but I simply don't know if it is relevant.
GxEPD is for display panels from Dalian Good Display, and in the file GxGDEW042Z15.cpp you have chosen you see the controller it is intended for.
I have no idea if the controller SSD1619 of your display is compatible, nor if the pinout of the FCP connector is ok for DESTM32-S2. And I am not motivated to look at the details of the two specs to find out.
So you have to find out yourself if your e-paper should be compatible with the one from Good Display.
But maybe some other user of GxEPD has the time and will to do that.
Added: and you could post your wiring; did you connect BS to GND?
Jean-Marc
Hi,ZinggJM
I'm using the 4.2 display 400x300 GDEW042T2 and I'm trying to fix the size of the picture with the dpi but i lost , can you provide the best settings that i can do for the best result on this screen.
Also img2lcd is a software for windows only do you have any alternatives for MAC OSX? or any website that you tried yourself and it works ?
Thank you so much
Hi WegzZ,
I'm using the 4.2 display 400x300 GDEW042T2 and I'm trying to fix the size of the picture with the dpi but i lost , can you provide the best settings that i can do for the best result on this screen.
I don't understand your question; is it related to img2lcd? I have no experience with img2lcd, but someone reported that Waveshare has an example of use on their Wiki pages.
And someone posted about a webpage with a similar name, but I have not found that post again.