Example Code for Arduino-Touch Screen

This example demonstrates how to use the 4.7-inch capacitive touch screen with the E Ink display. Users can learn how to interface the touch screen and handle touch inputs.

Hardware Preparation

  • ESP32 Ink Screen 4.7" ×1
  • 4.7" capacitive touch screen ×1

Software Preparation

Wiring Diagram

Correctly connect the 4.7" capacitive touch screen with the ESP32 E-ink screen 4.7". There is 3M tape on the back of the touch screen, which allows you to directly stick the touch screen on the E-ink display.

Other Preparation Work

Install the Arduino IDE development environment for ESP32

Sample Code

Open the example in File>Examples>EPD47>touchtest of Arduino IDE.

Result

Was this article helpful?

TOP