The board uses USB as the JTAG upload port. When printing serial port information on USB, CDC_ON_BOOT configuration needs to be turned on. If the port cannot be found when uploading the program or the USB has been used for other functions, the port does not appear. Please enter the upload mode manually.
- Press and hold the BOOT button when the power is off, the button is located behind the RST button.
- When the USB is connected, first press and hold the BOOT button, then click reset and then release the BOOT button
- In Arduino Preferences, on the Settings tab, enter the
https://espressif.github.io/arduino-esp32/package_esp32_index.json
URL in theAdditional boards manager URLs
input box. - Click OK and the software will install.
- Search for ESP32 in Tools โ Board Manager and install ESP32-Arduino SDK (V 2.0.5 or above and below V3.0)
- Copy everything from this repository lib folder to Arduino library folder (e.g.
C:\Users\YourName\Documents\Arduino\libraries
) - Select the correct settings in the Tools menu as shown below.
Setting | Value |
---|---|
Board | ESP32 S3 Dev Module |
USB CDC On Boot | Enabled |
CPU Frequency | 240MHz (WiFi) |
Core Debug Level | None |
USB DFU On Boot | Enabled |
Events Run On | Core 1 |
Flash Mode | QIO 80MHz |
Flash Size | 16MB (128Mb) |
JTAG Adapter | Integrated USB JTAG |
Arduino Runs On | Core 1 |
USB Firmware MSC On Boot | Disabled |
Partition Scheme | Huge APP (3MB No OTA/1MB SPIFFS) |
PSRAM | OPI PSRAM |
USB Mode | Hardware CDC and JTAG |
- When opening the Arduino IDE, you will be prompted that there are new libraries that can be updated. Please do not click update. There is no guarantee that it can be compiled, run, etc. after the update. Make sure that the board is running normally before deciding whether to update. You have to Know that problems may occur after updating due to library differences, or the default configuration (such as TFT_eSPI) will be overwritten.
- If it runs abnormally after the update, please follow Article 4 of the Arduino Quick Start to delete the directory in libraries, and drag the folder in lib into the libraries directory again.
- PlatformIO plug-in installation: click on the extension on the left column โ search platformIO โ install the first plug-in
- Click Platforms โ Embedded โ search Espressif 32 in the input box โ select the corresponding firmware installation
- The board uses USB as the JTAG upload port. When printing serial port information on USB_CDC_ON_BOOT configuration needs to be turned on.
If the port cannot be found when uploading the program or the USB has been used for other functions, the port does not appear.
Please enter the upload mode manually.
- Connect the board via the USB cable
- Press and hold the BOOT button , While still pressing the BOOT button, press RST
- Release the RST
- Release the BOOT button
- Upload sketch
- If the above is invalid, burn the firmware to check whether the hardware is normal
- Powering up the T-HMI board via the 5V DC connector does not work
- Looking at the schematic, we know that if you use an external 5V power supply, you need to bring a magnet close to the ReedSwitch and set the PowerOn Pin (GPIO14) to HIGH as soon as the chip starts.
pinMode(14, OUTPUT); digitalWrite(14, HIGH);
- It can start normally when using USB power supply, but it cannot start when connected to the battery alone?
- When using the battery alone, IO10 needs to be set to HIHG to work properly.
pinMode(10, OUTPUT); digitalWrite(10, HIGH);