GxEPD2 ESP32 7.3" 7Color send image from server to E-Ink

Hi,
I am using a 7.3" 7Color waveshare e-ink display (https://www.waveshare.com/7.3inch-e-paper-hat-f.htm) with a ESP-32 WROOM Microprocessor.

I got the GxEPD2 WiFi example running (although only with 3 instead of 7 colors), but it only works on the sample-images or images that I host on a public Github repo (https://raw.githubusercontent.com/MeinMeister/week_plan/main/remote_file.bmp). You can find my image there.
The methods I tried are :

  showBitmapFrom_HTTP_Buffered("192.168.178.31", "/", "remote_file.bmp", 1, 1, 1); // not working, 

and

  showBitmapFrom_HTTP("192.168.178.31", "/", "remote_file.bmp", 1, 1, 1); // not working, 

Whenever I use a locally hosted server (from python atm) I get a dozen of "Connection reset by peer" errors(3rd line and following). HTTP-Return code is 200.
I can view the image in a browser as expected (1st get request, 2nd line)


The display refreshes and stays white after that.
The SerialMonitor output shows no errors:
grafik

I am new to c++ and server - communications and wonder if anybody could help me getting my image (which is a week-planner) displayed on my e-ink display. Obviously it's not the best way to generate the image and upload it to a public github-repo.

The issue that only 3 (black, red and white) instead of all 7 colors are rendered on the display is not my highest priority, but would be nice to fix as well. With the current wiring I managed 7colors on another example.
The wiring is:

And the Konstruktor:

GxEPD2_DISPLAY_CLASS<GxEPD2_DRIVER_CLASS, MAX_HEIGHT(GxEPD2_DRIVER_CLASS)> display(GxEPD2_DRIVER_CLASS(EPD_CS,17, 16, 4));

My image as displayed on the e-ink paper:

Thank you very much!

// select the display class (only one), matching the kind of display panel
#define GxEPD2_DISPLAY_CLASS GxEPD2_BW
//#define GxEPD2_DISPLAY_CLASS GxEPD2_3C
//#define GxEPD2_DISPLAY_CLASS GxEPD2_4C
//#define GxEPD2_DISPLAY_CLASS GxEPD2_7C

Which one did you uncomment?

I always used the one with "7C":

#include <GxEPD2_7C.h>
#define GxEPD2_DISPLAY_CLASS GxEPD2_7C
#define GxEPD2_DRIVER_CLASS GxEPD2_730c_ACeP_730 // Waveshare 7.3" 7-color
#define IS_GxEPD2_7C(x) IS_GxEPD(GxEPD2_7C_IS_, x)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.