
CALE-IDF 2.7 inch Electronic paper Support GDEW027W3-T01 (capacitive touch screen)
- Categories:News
- Author:
- Origin:
- Time of issue:2022-11-01 01:47
- Views:
(Summary description)
CALE-IDF 2.7 inch Electronic paper Support GDEW027W3-T01 (capacitive touch screen)
(Summary description)
- Categories:News
- Author:
- Origin:
- Time of issue:2022-11-01 01:47
- Views:
CALE-IDF 2.7 inch Electronic paper Support GDEW027W3-T01 (capacitive touch screen)
https://github.com/martinberlin/cale-idf/wiki/Model-gdew027w3T.h-(Touch)
The characteristics of this electronic ink display module are the same as GDEW027W3, and the touch screen of FocalTech system is added. This touch layer is added to the top of the epaper, with I2C communication and additional INT pins, so each touch event will be reduced. This allows you to read the touch event ID and X and Y coordinates from the control motherboard, making it an excellent device for creating UX in ESP32.
- Size: 176 * 264, 2.7 inches
- Controller: IL91874
FPC touch cables are shown in the following table:
| PIN Description
| 1 | GND
| 2 | INT
| 3 | RST non-used
| 4 | VDD 3.3v
| 5 | SCL
| 6 | SDA
To verify that the flat cable is positioned correctly, make sure there is a floor under the Focal Tech micro.
When pin 1 is grounded, the cable will be placed in the correct position.
When using the FPC cable, be careful not to bend it. Finally, it is reasonable to connect everything to the top of the electronic paper display module. If one of the cracks occurs, the touch will not work.
(This happened to me. The electronic ink panel can only be used for display.)
Drawing
Example code for you main/demos/demo-touch-epd-implemented.cpp.
main/CMakeLists.txt Please uncomment
Next,
idf.py menuconfig
It also configures SDA, SCL and INT pins to enable the program to understand the hardware configuration.
The presentation draws four buttons on the screen, which can rotate the touch panel while rotating the display, so you can use your own firmware
You can experience how to implement it.
#include "FT6X36.h"
#include <gdew027w3T.h>
// INTGPIO is touch interrupt, goes low when it detects a touch, which coordinates are read by I2C
FT6X36 ts(CONFIG_TOUCH_INT);
EpdSpi io;
Gdew027w3T display(io, ts);
// Note that due to the touch integration this epaper uses a special method to rotate
void app_main(void)
{
printf("CalEPD version: %s\n", CALEPD_VERSION);
// on true for debug
display.init(false);
// displayRotation includes both epaper + touch rotation
display.displayRotation(display_rotation);
}
Feel free to explore more taking a look in the gdew027w3T class where the method displayRotation looks like this
/**
* Helper method to set both epaper and touch rotation
*/
void Gdew027w3T::displayRotation(uint8_t rotation) {
if (rotation>3) {
printf("INVALID rotation value (valid: 0 to 3, got %d) rotation*90\n",rotation);
return;
}
setRotation(rotation);
Touch.setRotation(rotation);
}
Demonstration Videos
Classmap
Scan the QR code to read on your phone


Address:No.18, Zhonghua West Road, Dalian, China,116033
E-mail: sales@eink-display.com
©2007-2021 Dalian Diamo Electronic Technology Co., Ltd. All Rights Reserved. 辽ICP备08000578号-1 Website construction:www.300.cn dalian.300.cn
Dalian Diamo Electronic Technology Co., Ltd.
辽ICP备08000578号
Website construction:www.300.cn jinzhou.300.cn