Difference between revisions of "ESP32 TFT LCD with Camera(3.5'')"

From MakerFabsWiki
Jump to: navigation, search
(Features)
(FAQ)
(59 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 
== Introduction ==
 
== Introduction ==
The ESP32 Touch Camera use ILI9488 screen, which comes with resistive or capacitive screens. Hava an OV2640 camera and SD card slot. It can be used as a webcam, an electronic album, or a digital camera. Support for Arduino and MicroPython. <br>
+
The 3.5" 320x480 TFT LCD driver is ILI9488, it uses SPI for communication with ESP32, the SPI main clock could be up to 60M~80M, make the display smooth enough for videos; and the camera OV2640 with pixel 2M, with this camera, you can make applications such as remote photography, face recognition…. While the camera not used, you can freely use all these pins with the breakout connectors, to connect the ESP32 display with sensors/ actuators, suitable for IoT applications. <br>
  
'''Model: [https://www.makerfabs.com/makepython-esp32.html MAKT32]'''<br>
+
'''Model: [https://www.makerfabs.com/esp32-3.5-inch-tft-touch-resistive-with-camera.html Resistive: ESPTFT35RE]'''<br>
[[File:MakePython ESP32.jpg|500px]]<br>
+
'''Model: [https://www.makerfabs.com/esp32-3.5-inch-tft-touch-capacitive-with-camera.html Capacitive: ESPTFT35CA]'''<br>
 +
[[File:ESP32 TFT LCD with Camera A02.jpg|500px]]<br>
  
 
== Features ==
 
== Features ==
  
 +
*Integrated ESP32 Wrover 2.4G WiFi and Bluetooth<br>
 
*Wi-Fi Protocols: 802.11b/g/n(802.11n up to 150Mbps),A-MPDU and A-MSDU aggregation and 0.4us guard interval support<br>
 
*Wi-Fi Protocols: 802.11b/g/n(802.11n up to 150Mbps),A-MPDU and A-MSDU aggregation and 0.4us guard interval support<br>
 
*Wi-Fi Frequency range: 2.402GHz - 2.483Ghz<br>
 
*Wi-Fi Frequency range: 2.402GHz - 2.483Ghz<br>
Line 12: Line 15:
 
*Bluetooth Radio: NZIF receiver with-97 dBm sensitivity, Class-1/class-2 and class-3 transmitter, AFH<br>
 
*Bluetooth Radio: NZIF receiver with-97 dBm sensitivity, Class-1/class-2 and class-3 transmitter, AFH<br>
 
*Bluetooth Audio: CVSD and SBC<br>
 
*Bluetooth Audio: CVSD and SBC<br>
*CPU: Two low-power Xtensa® 32-bit LX6, ESP32-D0WDQ6<br>
+
*Arduino Compatible: You can play it with Arduino IDE<br>
*CPU clock frequency: 80MHz to 240MHz<br>
+
*OV2640: A 1/4inch CMOS UXGA (1632*1232) image sensor manufactured by OmniVision<br>
*Module interface: SD card,UART,SPI,SDIO,I2C,LED PWM,Motor PWM,I2S,IR,pulse,GPIO,capacitive touch sensor,ADC,DAC<br>
+
*OV2640 supports output images up to 2 million pixels<br>
*On-chip sensor: Hall sensor<br>
+
*LCD 3.5 inch Amorphous-TFT-LCD (Thin Film Transistor Liquid Crystal Display) for mobile-phone or handy electrical equipment<br>
*On-chip Internal RAM: 520KB<br>
+
*LCD Driver: ILI9488<br>
*Integrated crystal: 40MHz crystal<br>
+
*LCD Resolution: 320*480<br>
*Integrated SPI flash: 4MB<br>
+
*NS2009: A 4-wire resistive touch screen control circuit with I2C interface, which contains A 12-bit resolution A/D converter<br>
*ESP32 Module: ESP32 WROOM(NO PSRAM), ESP32 WROVER (8MB PSRAM)<br>
+
*FT6236 Series ICs are single-chip capacitive touch panel controller IC with a built-in 16 bit enhanced Micro-controller unit (MCU)<br>
*Power supply: 5V, integrate 5V-to-3.3V LDO<br>
+
*Power supply: 5V, Type-C USB<br>
*Operating current: Average 80 mA<br>
+
*Micro SD card slot on the board<br>
*Minimum current delivered by power supply: 500 mA<br>
+
*Board size: 66mm * 85mm<br>
*Recommended operation temperature range: --40℃ ~ +85℃<br>
 
*Moisture sensitivity level(MSL): Level 3<br>
 
  
*Input 5.0V Type-C USB<br>
 
*Board size: ??*??mm<br>
 
*LCD: 3.5inch ILI9488<br>
 
*OV2640 is a 1/4 inch CMOS UXGA (1632*1232) image sensor manufactured by OmniVision<br>
 
*Micro SD card slot on board<br>
 
*NS2009 is A 4-wire resistive touch screen control circuit with I2C interface, which contains A 12-bit resolution A/D converter<br>
 
*The FT6X36 Series ICs are single-chip capacitive touch panel controller IC with a built-in 16 bit enhanced Micro-controller unit (MCU)<br>
 
  
== Pin Definitions ==
+
== Diagram ==
[[File:MakePython ESP32_1.JPG|700px]]<br>
+
[[File:ESP32 TFT LCD with Camera_9.JPG|500px]]<br>
Notice:<br>
+
Pin Assignment<br>
①IO34, IO35, IO36, IO39 input only.<br>
+
[[File:ESP32 TFT LCD with Camera_9a.JPG|500px]]<br>
②GPIO12 is internally pulled high in the module and is not recommended for use as a touch pin.<br>
+
Note:IO34/IO35/IO36/IO39 input only.<br>
 +
Dimension<br>
 +
[[File:ESP32 TFT LCD with Camera_a100.png|500px]]<br>
 +
Note:unit is mm.
  
 
==Usage==
 
==Usage==
'''[https://github.com/Makerfabs/Makepython-ESP32 Github:Makepython-ESP32]'''
+
Warning: Don't operate when in power supply on<br>
 +
'''[https://github.com/Makerfabs/Project_Touch-Screen-Camera Github:Project_Touch_Screen_Camera]'''
  
===Development Tool===
+
===Software setup===
 +
'''NOTE: In order for the project to work normally, please install the same version.'''<br>
 +
1.Install the Arduino IDE V1.8.10.<br>
 +
2.Install the ESP32 boards supporting V1.0.4<br>
 +
*After Arduino IDE installed, there is no package to support ESP32, we need to install the ESP32 package in Arduino IDE to continue.<br>
 +
*Select “File>Preferences>settings>Additional Boards Manager URLs” to fill the link: https://dl.espressif.com/dl/package_esp32_index.json<br>
 +
[[File:ESP32 TFT LCD with Camera_11.PNG|700px]]<br>
 +
*Click “Tools>Board>Boards Manager” to search for and install the ESP32 library:<br> 
 +
[[File:ESP32 TFT LCD with Camera_12.PNG|700px]]<br>
 +
3.Install Adafruit GFX library V1.10.4<br>
 +
:Click “Tools> Manager Libraries” to search for and install Adafruit GFX library.<br>
 +
[[File:ESP32 TFT LCD with Camera_14.PNG|700px]]<br>
 +
4.Install LovyanGFX library V0.3.4<br>
 +
:Click “Tools> Manager Libraries” to search for and install LovyanGFX library.<br>
 +
[[File:ESP32 TFT LCD with Camera_25.PNG|700px]]<br>
 +
5.Select and setting the parameter in the Tools menu, as the picture:<br>
 +
[[File:ESP32 TFT LCD with Camera_13.PNG|700px]]<br>
  
1.1Installing uPyCraft IDE<br>
+
===Draw on LCD===
*Click this link to download uPyCraft IDE for Windows:
 
https://randomnerdtutorials.com/uPyCraftWindows<br> 
 
  
1.2Connection<br>
+
1. You can get the code from here: '''[https://github.com/Makerfabs/Project_Touch-Screen-Camera Core]'''<br>
Connect MakePython ESP32 to your computer through an USB cable, follow the steps:<br>
+
2. Open the file “\Project_Touch-Screen-Camera-master\touch_draw_v2\touch_draw_v2.ino”. Select the screen type used and comment out the ones that are not used.<br>
*Tools > Board and select the esp32:
+
<pre>
[[File:MakePython ESP32_2.JPG|700px]]<br>
+
#include <Wire.h>
*Go to Tools > Serial and select the com port your ESP is connected to(download the USB driver at: [https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers CP210x USB])<br>
+
#include "SPI.h"
*Press the Connect button to establish a serial communication with your board.<br>
+
#include <LovyanGFX.hpp>
[[File:MakePython ESP32_3.JPG|700px]]<br>
+
#include "makerfabs_pin.h"
  
===MakePython ESP32 Projects===
+
//Choice your touch IC
 +
#define NS2009_TOUCH    //Resistive screen driver
 +
//#define FT6236_TOUCH  //Capacitive screen driver
 +
</pre>
 +
[[File:ESP32 TFT LCD with Camera_26.PNG|500px]]<br>
 +
3. Verify it and upload.<br>
 +
[[File:ESP32 TFT LCD with Camera_15.PNG|500px]]<br>
 +
If failed to upload the code as the picture, please upload again and try to press the Flash switch when the code is uploading.<br>
 +
[[File:ESP32 TFT LCD with Camera_16.PNG|700px]]<br>
 +
4. After done uploading, repower the ESP32 and you will get the drawing board.<br>
 +
[[File:ESP32 TFT LCD with Camera_17.GIF]]<br>
  
Project_1: Ultrasonic Ranging<br>
+
===Display the picture===
  
We use the HC-SR04 Module at:<br>
+
1. You can get the code from here:'''[https://github.com/Makerfabs/Project_Touch-Screen-Camera Core]'''<br>
https://www.makerfabs.com/hc-sr04-ultrasonic-range-measurement-module.html<br>
+
2. Copy the picture you want to show to the SD card. Insert the SD card into the board.<br>
[[File:MakePython ESP32_4.JPG|700px]]<br>
+
3. Open the file “\Project_Touch-Screen-Camera-master\SD2TFT\SD2TFT.ino”. The name of the showed picture must be filled in the string array, such as the below code.<br>
*Sensor Connection<br>
+
<pre>String img_file[5] =
*Connect the simple sensor to ESP32 boards as following:<br>
+
    {
{| cellspacing="0" cellpadding="5" border="1"
+
        "/1.bmp",               
|-
+
        "/2.bmp",
| align="center" width="150" | '''HC-SR04 Pins'''
+
        "/3.bmp",
| align="center" width="200" | '''MakePython ESP32 Pins'''
+
        "/4.bmp",
 +
        "/5.bmp"};</pre>
 +
4. Verify and upload the code, you will get a digital photo frame.<br>
 +
[[File:ESP32 TFT LCD with Camera_18.GIF]]<br>
  
|- style="font-size: 90%"
+
===Camera===
| align="center" | VCC
 
| align="center" | 5V
 
|- style="font-size: 90%"
 
| align="center" | Trig
 
| align="center" | IO13
 
|- style="font-size: 90%"
 
| align="center" | Echo
 
| align="center" | IO12
 
|- style="font-size: 90%"
 
| align="center" | GND
 
| align="center" | GND
 
|}
 
  
Connect MakePython ESP32 to your computer through an USB cable.<br>
+
1. You can get the code from here: '''[https://github.com/Makerfabs/Project_Touch-Screen-Camera Core]'''<br>
*Download the ssd1306.py and hcsr04.py driver library from here:[https://github.com/Makerfabs/Makepython-ESP32 Code]<br>
+
2. Open the file “\Project_Touch-Screen-Camera-master\Camera_v2\Camera_v2.ino”. Choose the screen type and modify the code.<be>
*File > open and select the ssd1306.py and hcsr04.py<br>
+
<pre>
[[File:MakePython ESP32_5.JPG|700px]]<br>
+
//#define NS2009_TOUCH  //Resistive screen driver
*Click on the right to DownloadAndRun [[File:MakePython ESP32_6.JPG|20px]]<br>
+
#define FT6236_TOUCH //Capacitive screen driver
*Download the sample code: [https://github.com/Makerfabs/Makepython-ESP32 hc_sr04.py]<br>
 
*File > open and select the hc_sr04.py, then click DownloadAndRun<br>
 
Show:<br>
 
[[File:MakePython ESP32_7.JPG|700px]]<br>
 
 
 
 
 
Project_2:  Web Server Control LED<br>
 
 
 
1.Connect LED<br>
 
 
 
Connect the long LED pin to the end of the 330R resistor, the other end of the resistance is connected to 3.3v,the short pin of the LED lamp is connected to the IO5 of ESP32. As follows:<br>
 
[[File:MakePython ESP32_8.JPG|500px]]<br>
 
  
2.Connect WiFi<br>
+
#ifdef NS2009_TOUCH
 +
#include "NS2009.h"
 +
const int i2c_touch_addr = NS2009_ADDR;
 +
#define get_pos ns2009_pos
 +
#endif
  
Click to download the [https://github.com/Makerfabs/Makepython-ESP32 Socket_LED.py] file.<br>
+
#ifdef FT6236_TOUCH
open the file and modify the 'SSID' and 'PASSWORD' to local WIF and password:<br>
+
#include "FT6236.h"
<pre>
+
const int i2c_touch_addr = TOUCH_I2C_ADD;
SSID = "Makerfabs"    #Modify here with SSID
+
#define get_pos ft6236_pos
PASSWORD = "20160704"  #Modify here with PWD
+
#endif
 
</pre>
 
</pre>
[[File:MakePython ESP32_9.JPG|700px]]<br>
+
3. Verify and upload the code, you will get a camera.<br>  
 
+
[[File:ESP32 TFT LCD with Camera_20.JPG|500px]]<br>
After saving and clicking run, you can see network config, followed by the IP/netmask/gw/DNS address of the interface:<br>
 
 
 
[[File:MakePython ESP32_10.JPG|700px]]<br>
 
 
 
 
 
3.control LED<br>
 
 
 
  
Enter the IP address printed from the serial port in any browser, with any computer in the same WIFI, to control the LED on/off:<br>
+
== Indoor Environment Expansion board ==
  
[[File:MakePython ESP32_11.JPG|700px]]<br>
+
This is an expansion board for measuring CO2, TVOC, Temperature, and Humidity. The board is design for ESP32 TFT LCD with Camera(3.5')(also for 3.2' one). For using, plug the board into the ESP32 TFT LCD board directly, program the ESP32. The ESP32 TFT LCD will turn to a meter for monitoring the environment.<br>
 +
'''Model: [https://www.makerfabs.com/esp32-touch-indoor-environment-expansion.html Indoor Environment Expansion]'''<br>
 +
[[File:ESP32 TFT LCD with Camera_21.JPG|500px]]<br>
  
 +
=== Features ===
 +
*SGP30 Air Quality Sensor, measuring TVOC and CO2.
 +
*DHT11 temperature and humidity sensor.
 +
*Active buzzer.
 +
===Hardware===
  
When you click 'ON' with the mouse, the LED will turn on, and when you click off, the LED will turn off:<br>
+
*[https://www.makerfabs.com/wiki/images/d/d6/3.5_Environment_Expansion_Schematic.pdf Schematic]<br>
  
 +
=== Using ===
 +
*Plug the expansion board into the ESP32 TFT LCD board.
 +
*Loading the program obtained from [https://github.com/Makerfabs/Project_Touch-Screen-Camera/tree/master/Environment%20Expansion%20Board GitHub].
 +
*Reset the ESP32, and wait a minute.
 +
*The LCD will display the measure of CO2, Temperature, Humidity.
 +
*When the CO2 level is high over 1000, the buzzer on board rings.
 +
[[File:ESP32 TFT LCD with Camera_22.JPG|500px]]<br>
  
[[File:MakePython ESP32_12.JPG|600px]]<br>
+
===Display CO2 historical level===
 +
*Plug the expansion board into the ESP32 TFT LCD board.
 +
*Loading the [https://github.com/Makerfabs/Project_Touch-Screen-Camera/tree/master/example/p-line-chart program].
 +
*Reset the ESP32 board, the ESP32 will start to record the CO2 level and TVOC level, and draw the historical values to line.
 +
[[File:ESP32 TFT LCD with Camera_23.JPG|500px]]<br>
  
 
== FAQ  ==
 
== FAQ  ==
You can list your questions here or contact with '''support@makerfabs.com''' for technology support.
+
'''You can list your question here or contact support@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.'''<br>
 +
*Q1: Why the display fails to respond sometimes I touch.<br>
 +
:A1: The touching interface is loose, please reconnect it.<br>
 +
*Q2:Can't upload the code<br>
 +
:A2:Let ESP32 in download mode by pressing the RESET key after hold the FLASH key when you're uploading the code.<br>
  
 
== Resources ==
 
== Resources ==
*[https://www.makerfabs.com/wiki/images/f/f9/MakePython_ESP32_V1.1.pdf  v1.1 Schematic]
 
*[https://www.makerfabs.com/desfile/files/esp32-wroom-32_datasheet_en.pdf ESP32 wroom datasheet]
 
 
*[https://www.makerfabs.com/desfile/files/esp32-wrover_datasheet_en.pdf ESP32 wrover datasheet]
 
*[https://www.makerfabs.com/desfile/files/esp32-wrover_datasheet_en.pdf ESP32 wrover datasheet]
 +
*[https://github.com/Makerfabs/Project_Touch-Screen-Camera Github: Project_Touch-Screen-Camera]
 +
*[https://github.com/Makerfabs/Project-ESP32-LVGL  Github: Project-ESP32-LVGL]
 +
*[https://www.makerfabs.com/wiki/images/6/67/ESP32_TFT_Touch_with_camera%283.5%27%27_ili9488%29_sch.pdf Schematic]

Revision as of 02:06, 6 June 2022

Introduction

The 3.5" 320x480 TFT LCD driver is ILI9488, it uses SPI for communication with ESP32, the SPI main clock could be up to 60M~80M, make the display smooth enough for videos; and the camera OV2640 with pixel 2M, with this camera, you can make applications such as remote photography, face recognition…. While the camera not used, you can freely use all these pins with the breakout connectors, to connect the ESP32 display with sensors/ actuators, suitable for IoT applications.

Model: Resistive: ESPTFT35RE
Model: Capacitive: ESPTFT35CA
ESP32 TFT LCD with Camera A02.jpg

Features

  • Integrated ESP32 Wrover 2.4G WiFi and Bluetooth
  • Wi-Fi Protocols: 802.11b/g/n(802.11n up to 150Mbps),A-MPDU and A-MSDU aggregation and 0.4us guard interval support
  • Wi-Fi Frequency range: 2.402GHz - 2.483Ghz
  • Bluetooth Protocols: Bluetooth v4.2 BR/EDR and BLE specification
  • Bluetooth Radio: NZIF receiver with-97 dBm sensitivity, Class-1/class-2 and class-3 transmitter, AFH
  • Bluetooth Audio: CVSD and SBC
  • Arduino Compatible: You can play it with Arduino IDE
  • OV2640: A 1/4inch CMOS UXGA (1632*1232) image sensor manufactured by OmniVision
  • OV2640 supports output images up to 2 million pixels
  • LCD 3.5 inch Amorphous-TFT-LCD (Thin Film Transistor Liquid Crystal Display) for mobile-phone or handy electrical equipment
  • LCD Driver: ILI9488
  • LCD Resolution: 320*480
  • NS2009: A 4-wire resistive touch screen control circuit with I2C interface, which contains A 12-bit resolution A/D converter
  • FT6236 Series ICs are single-chip capacitive touch panel controller IC with a built-in 16 bit enhanced Micro-controller unit (MCU)
  • Power supply: 5V, Type-C USB
  • Micro SD card slot on the board
  • Board size: 66mm * 85mm


Diagram

ESP32 TFT LCD with Camera 9.JPG
Pin Assignment
ESP32 TFT LCD with Camera 9a.JPG
Note:IO34/IO35/IO36/IO39 input only.
Dimension
ESP32 TFT LCD with Camera a100.png
Note:unit is mm.

Usage

Warning: Don't operate when in power supply on
Github:Project_Touch_Screen_Camera

Software setup

NOTE: In order for the project to work normally, please install the same version.
1.Install the Arduino IDE V1.8.10.
2.Install the ESP32 boards supporting V1.0.4

  • After Arduino IDE installed, there is no package to support ESP32, we need to install the ESP32 package in Arduino IDE to continue.
  • Select “File>Preferences>settings>Additional Boards Manager URLs” to fill the link: https://dl.espressif.com/dl/package_esp32_index.json

ESP32 TFT LCD with Camera 11.PNG

  • Click “Tools>Board>Boards Manager” to search for and install the ESP32 library:
     

ESP32 TFT LCD with Camera 12.PNG
3.Install Adafruit GFX library V1.10.4

Click “Tools> Manager Libraries” to search for and install Adafruit GFX library.

ESP32 TFT LCD with Camera 14.PNG
4.Install LovyanGFX library V0.3.4

Click “Tools> Manager Libraries” to search for and install LovyanGFX library.

ESP32 TFT LCD with Camera 25.PNG
5.Select and setting the parameter in the Tools menu, as the picture:
ESP32 TFT LCD with Camera 13.PNG

Draw on LCD

1. You can get the code from here: Core
2. Open the file “\Project_Touch-Screen-Camera-master\touch_draw_v2\touch_draw_v2.ino”. Select the screen type used and comment out the ones that are not used.

#include <Wire.h>
#include "SPI.h"
#include <LovyanGFX.hpp>
#include "makerfabs_pin.h"

//Choice your touch IC
#define NS2009_TOUCH    //Resistive screen driver
//#define FT6236_TOUCH  //Capacitive screen driver

ESP32 TFT LCD with Camera 26.PNG
3. Verify it and upload.
ESP32 TFT LCD with Camera 15.PNG
If failed to upload the code as the picture, please upload again and try to press the Flash switch when the code is uploading.
ESP32 TFT LCD with Camera 16.PNG
4. After done uploading, repower the ESP32 and you will get the drawing board.
ESP32 TFT LCD with Camera 17.GIF

Display the picture

1. You can get the code from here:Core
2. Copy the picture you want to show to the SD card. Insert the SD card into the board.
3. Open the file “\Project_Touch-Screen-Camera-master\SD2TFT\SD2TFT.ino”. The name of the showed picture must be filled in the string array, such as the below code.

String img_file[5] =
    {
        "/1.bmp",                
        "/2.bmp",
        "/3.bmp",
        "/4.bmp",
        "/5.bmp"};

4. Verify and upload the code, you will get a digital photo frame.
ESP32 TFT LCD with Camera 18.GIF

Camera

1. You can get the code from here: Core
2. Open the file “\Project_Touch-Screen-Camera-master\Camera_v2\Camera_v2.ino”. Choose the screen type and modify the code.<be>

//#define NS2009_TOUCH  //Resistive screen driver
#define FT6236_TOUCH //Capacitive screen driver

#ifdef NS2009_TOUCH
#include "NS2009.h"
const int i2c_touch_addr = NS2009_ADDR;
#define get_pos ns2009_pos
#endif

#ifdef FT6236_TOUCH
#include "FT6236.h"
const int i2c_touch_addr = TOUCH_I2C_ADD;
#define get_pos ft6236_pos
#endif

3. Verify and upload the code, you will get a camera.
ESP32 TFT LCD with Camera 20.JPG

Indoor Environment Expansion board

This is an expansion board for measuring CO2, TVOC, Temperature, and Humidity. The board is design for ESP32 TFT LCD with Camera(3.5')(also for 3.2' one). For using, plug the board into the ESP32 TFT LCD board directly, program the ESP32. The ESP32 TFT LCD will turn to a meter for monitoring the environment.
Model: Indoor Environment Expansion
ESP32 TFT LCD with Camera 21.JPG

Features

  • SGP30 Air Quality Sensor, measuring TVOC and CO2.
  • DHT11 temperature and humidity sensor.
  • Active buzzer.

Hardware

Using

  • Plug the expansion board into the ESP32 TFT LCD board.
  • Loading the program obtained from GitHub.
  • Reset the ESP32, and wait a minute.
  • The LCD will display the measure of CO2, Temperature, Humidity.
  • When the CO2 level is high over 1000, the buzzer on board rings.

ESP32 TFT LCD with Camera 22.JPG

Display CO2 historical level

  • Plug the expansion board into the ESP32 TFT LCD board.
  • Loading the program.
  • Reset the ESP32 board, the ESP32 will start to record the CO2 level and TVOC level, and draw the historical values to line.

ESP32 TFT LCD with Camera 23.JPG

FAQ

You can list your question here or contact support@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.

  • Q1: Why the display fails to respond sometimes I touch.
A1: The touching interface is loose, please reconnect it.
  • Q2:Can't upload the code
A2:Let ESP32 in download mode by pressing the RESET key after hold the FLASH key when you're uploading the code.

Resources