In compliance with high industry standards

Browse our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteria

How to connect 7.5" E-Paper Display & ESP32

Display Applications using Arduino IDE

E-Paper Display ESP32



E-Paper or electronic papers, are display devices that copies the appearance of ordinary ink on paper. Unlike conventional flat panel displays that emit light, electronic paper displays reflect light like paper. This may make them more comfortable to read, and provide a wider viewing angle than most light-emitting displays.
In this blog, we are going to download the GxEPD library, wire the E-Paper with the ESP32, and finally test some examples using the Arduino IDE!



How to: Industrial ESP32 PLC

web server using SPIFFS


How to use the ESP32 industrial
PLC Dual Core

How to make partition scheme in ESP32 industrial PLC

How to work with the 5GHz Wi-Fi module of the ESP32

How to control an ESP32 industrial controller via Bluetooth

How to program the 10 I/Os ESP32 industrial PLC via WiFi


  • 7.5 inch e-Paper Display (800x400 resolution, SPI interface, B/W)

  • ESP32 devkit board

  • WaveShare e-Paper adapter

  • WaveShare e-Paper Driver HAT with connector for SPI interface

  • USB micro to program ESP32

  • Arduino IDE



In this tutorial, we are going to download the GxEPD library, whose author and mantainer is Jean-Marc Zingg. The GxEPD library is a simple E-Paper display library with common base class and separate IO class for Arduino.

  • For SPI e-paper displays from Dalian Good Display

  • SPI e-paper boards from Waveshare

  • GxEPD2 is better suited for new users or new projects!

So, first of all, click here to get the library from Github as follows:

Odoo image and text block

Arduino IDE

After the library is downloaded, there are at least two ways of installing the GxEPD library.

1. Open the Arduino IDE, click on the top menu Sketch >> Include Library >> Add .ZIP Library... and import the GxEPD library you just downloaded.

2. Open the Arduino IDE, go to Sketch >> Include Library >> Manage Libraries >> type "GxEPD" >> Install.

Once the library is installed, you will be able to test some examples from the library!

If we go to File >> Examples >> GxEPD and click on the first GxEPD_Example, a new window will be displayed. If you take a look at the example, you will see that there is a different mapping for several hardware. Just find out your board and wire it to your e-Paper from WaveShare. In our case, we are going to do it like this line of the example:

Odoo image and text block
Odoo image and text block

7.5inch e-Paper Display

Under the mapping section of the example in the Arduino IDE, you will see an include section. You must uncomment the one that fits to your e-Paper screen. In our case, we are going to remove the // to uncomment the include:

#include <GxGDEW075T7/GxGDEW075T7.h>      // 7.5" b/w 800x480

After that, you will be ready to test the example!:
Go to Tools >> Board >> Select the ESP32.
And Tools >> Port >> Select the port where you connect your ESP32

Upload your sketch. and enjoy the testing!

It is your turn!

Now it is your turn! Try with some other examples from the GxEPD library, and get the most out of it! 

Do you have an 1.28" LCD module and want to connect it to a Raspberry? Click here to know how!

Looking for your ideal PLC?

Take a look at this product comparison with other industrial controllers Arduino.

We are comparing inputs, outputs, communications and other features with the ones of the relevant brands.

Industrial PLC controller comparison >>

Do you want more information?

Just fill the form!

Tell me more!