ESP32/2.13" 250x122 3-color Epaper Module using ZinggJM/GxEPD2
Display on
2.13" 250x122 3-color E-paper (SSD1680)
with
ESP32-DevKitC V4
using ZinggJM/GxEPD2 Library (in arduino-esp32 framework).
Visit
WeAct Studio 2.13/2.9 Inch Epaper Module EPD in GitHub
(https://github.com/WeActStudio/WeActStudio.EpaperModule). It provide info and example code for WeAct Epaper Modules. We are
going to use EpaperModuleTest_Arduino_ESP32 Example later, it use GxEPD2
library to control e-paper.
Visit Github
ZinggJM/GxEPD2 (https://github.com/ZinggJM/GxEPD2). To download library in ZIP:
Click on Code > Download ZIP
Open
Arduino IDE, to install download library:
Sketch > Include Library
> Add ZIP Library
Select the downloaded ZIP file
Connection
To run the examples below, we follow the connection in WeAct
Example:
e-paper ESP32 GPIO
------------------
1 BUSY GP15
2 RES GP2
3 D/C GP0
4 CS GP5
5 SCL GP18
6 SDA GP23
7 GND GND
8 VCC 3V3
Try WeAct Example
Then copy WeAct Example, EpaperModuleTest_Arduino_ESP32.
For 3-color 2.13'' EPD Module 122x250 SSD1680, use:
GxEPD2_3C<GxEPD2_213_Z98c, GxEPD2_213_Z98c::HEIGHT> display(GxEPD2_213_Z98c(/*CS=5*/ 5, /*DC=*/ 0, /*RST=*/ 2, /*BUSY=*/ 15)); // GDEY0213Z98 122x250, SSD1680
Try example from GxEPD2 library
In Arduino IDE
Open Examples > GxEPD2 >
GxEPD2_Example
Edit GxEPD2_display_selection.h to define display
following EpaperModuleTest_Arduino_ESP32 example.
updated@2023-03-30:
GxEPD2 is available in Arduino Library List now, that means you can install it in Arduino IDE's Library Manager directly.
Related:
~ Using another library Adafruit_EPD
~ Min. exercises to display on 2.13" 250x122 3-color E-paper with ESP32-S3, using GxEPD2 vs Adafruit_EPD
~ Display on 1.54" 200x200 e-Paper (SSD1681) with Raspberry Pi Pico using GxEPD2 library, in Arduino framework.
Comments
Post a Comment