ESP32-C6-LCD-1.9
| ||
| ||
Overview
Introduction
This product adopts the ESP32-C6FH8 chip, supports 2.4GHz Wi-Fi 6 and BLE 5 Bluetooth functions, has stacked 8MB Flash, and features a built-in 1.9inch LCD display, which can smoothly run GUI interface programs like LVGL. It has onboard QMI8658 six-axis sensors, TF card slot, and lithium battery charging peripherals, and reserves Pico-compatible pin interfaces, with strong compatibility and expandability, suitable for quick development of HMI applications for ESP32-C6.
Features
- Equipped with ESP32-C6 high-performance 32-bit RISC-V processor, up to 160MHz main frequency
- Supports 2.4GHz Wi-Fi 6 (802.11 ax/b/g/n) and Bluetooth 5 (BLE), with onboard antenna
- Built-in 512KB HP SRAM, 16KB LP SRAM, and 320KB ROM, stacked with 8MB Flash
- Onboard 1.9inch LCD screen with a resolution of 170×320, 262K colors for clear color pictures
- Onboard QMI8658 6-axis IMU (3-axis accelerometer and 3-axis gyroscope) for motion attitude detection and extended applications
- Onboard USB Type-C port for power supply, firmware downloading and debugging, making development more convenient
- Onboard 3.7V MX1.25 lithium battery recharge/discharge header
- Onboard TF card slot, supporting external TF card storage for pictures or files
- Onboard Pico-compatible interface, providing rich peripheral interfaces, with strong compatibility and expandability
Onboard Resources
1. ESP32-C6FH8 |
7. Charge indicator |
Interfaces
For more details, please refer to the Schematic Diagram
Dimensions
ESP32-C6-LCD-1.9
ESP32-C6-Touch-LCD-1.9
LCD Parameters
Usage Instructions
Currently there are two development tools and frameworks, Arduino IDE and ESP-IDF, providing flexible development options, you can choose the right development tool according to your project needs and personal habits.
Development Tools
Each of these two development approaches has its own advantages, and developers can choose according to their needs and skill levels. Arduino are suitable for beginners and non-professionals because they are easy to learn and quick to get started. ESP-IDF is a better choice for developers with a professional background or high performance requirements, as it provides more advanced development tools and greater control capabilities for the development of complex projects.
Components Preparation
- ESP32-C6-LCD-1.9 x1
- TF card x 1 (Optional)
- USB cable (Type A male to Type C male) x 1
Working with Arduino
This chapter introduces setting up the Arduino environment, including the Arduino IDE, management of ESP32 boards, installation of related libraries, program compilation and downloading, as well as testing demos. It aims to help users master the development board and facilitate secondary development.
Environment Setup
Download and Install Arduino IDE
- Click to visit the Arduino official website, select the corresponding system and system bit to download
- Run the installer and install all by default
Install ESP32 Development Board
- Before using ESP32-related motherboards with the Arduino IDE, you must first install the software package for the esp32 by Espressif Systems development board
- According to board installation requirement, it is generally recommended to use Install Online. If online installation fails, use Install Offline.
- For the installation tutorial, please refer to Arduino board manager tutorial
Board name | Board installation requirement | Version number requirement |
---|---|---|
ESP32-C6-LCD-1.9/ESP32C6 Dev Module | "Install Offline" / "Install Online" | ≥3.0.7 |
Install Library
- When installing Arduino libraries, there are usually two ways to choose from: Install online and Install offline. If the library installation requires offline installation, you must use the provided library file
For most libraries, users can easily search and install them through the online library manager of the Arduino software. However, some open-source libraries or custom libraries are not synchronized to the Arduino Library Manager, so they cannot be acquired through online searches. In this case, users can only manually install these libraries offline. - For library installation tutorial, please refer to Arduino library manager tutorial
- ESP32-C6-LCD-1.9 library file is stored in Demo at the following path:
..\ESP32-C6-LCD-1.9-Demo\Arduino\libraries
Library Name | Description | Version | Library Installation Requirement |
---|---|---|---|
LVGL | Graphical library | v8.4.0 | "Install Offline" |
Arduino_GFX_Library | Graphics library | v1.5.6 | "Install Online" or "Install Offline" |
Freenove_WS2812_Lib_for_ESP32 | WS2812 driver library | v2.0.0 | "Install Online" or "Install Offline" |
Run the First Arduino Demo
New Project
void setup() { // put your setup code here, to run once: Serial.begin(115200); } void loop() { // put your main code here, to run repeatedly: Serial.println("Hello, World!"); delay(2000); }
- Save the project and select
File
->Save As...
. In the pop-up menu, select the path to save the project, and enter a project name, such as Hello_World, clickSave
Compile and Flash Demos
- Select the corresponding development board, take the ESP32S3 motherboard as an example:
①. Click to select the dropdown menu option Select Other Board and Port;
②. Search for the required development board model esp32s3 dev module and select;
③. Select COM Port;
④. Save the selection.
- Some development boards with specified version numbers support direct model selection, for example, "Waveshare ESP32-S3-LCD-1.69":
- If the ESP32S3 mainboard only has a USB port, you need to enable USB CDC, as shown in the following diagram:
- Compile and upload the program:
①. Compile the program; ②. Compile and download the program; ③. Download successful.
- Open the Serial Monitor window, and the demo will print "Hello World!" every 2 seconds, and the operation is as follows:
Demo
Demo | Basic Description | Dependency Library |
---|---|---|
01_ADC_Test | Read the current voltage value of the system | - |
02_I2C_QMI8658 | Print the original data sent by the IMU | - |
03_SD_Card | Load and display the information of the TF card | - |
04_WS2812_Test | Drive WS2812RGB LED beads | Freenove_WS2812_Lib_for_ESP32 |
05_WIFI_AP | Set to AP mode to obtain the IP address of the access device | - |
06_WIFI_STA | Set to STA mode to connect to WiFi and obtain an IP address | - |
07_Hello_World_GFX | GFX basic demo | Arduino_GFX_Library |
08_LVGL_Test | LVGL demo | LVGL |
01_ADC_Test
Demo description
- The analog voltage connected through the GPIO is converted to digital by the ADC, and then the actual system voltage is calculated and printed to the terminal.
Code analysis
- adc_bsp_init(void) : Initializes ADC1, including creating an ADC one-time trigger unit and configuring channel 0 for ADC1.
- adc_get_value(float *value,int *data) : Reads the value of ADC1 channel 0 and calculates the corresponding voltage value based on the reference voltage and resolution, stores it at the position where the incoming pointer points to, and stores 0 if the read fails.
- adc_example(void* parameter): Initialize ADC1 and then create an ADC task that reads the ADC value every 1 second and calculates the system's voltage based on the raw ADC value.
Result demonstration
- The program compilation download is complete, and opening the serial port monitor will show the printed ADC values and voltage, as shown in the following figure:
- The ADC sampling value is about 1900, and the system voltage is about 4.9V. For a detailed analysis, you can refer to the Schematic Diagram.
02_I2C_QMI8658
Demo description
- Through I2C protocol, initialize the QMI8658 chip, then read and print the corresponding attitude information every 1 second to the terminal.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- qmi8658c_example(void* parameter): The function initializes the QMI8658 device, reading and printing accelerometer data, gyroscope data, and temperature data in an infinite loop, once every second. During the rotation of the board, the gyroscope data increases with greater rotation speed, and the accelerometer calculates the corresponding acceleration based on the current position.
Result demonstration
- Open the serial port monitoring, and you can see the original data output from the IMU (Euler angles need to be converted by yourself), as shown in the following figure:
- Data is output once every second. If you need to modify or refer to it, you can directly access the qmi source file for operations.
03_SD_Card
Demo description
- By using the SPI bus to drive the TF card, after the TF card is successfully mounted, the TF card information is printed to the terminal, and the data is read and written to the
writeTest.txt
file every 1 second.
Hardware connection
- Connect the fat32 format TF card to the board and use a USB cable to connect the board to the computer (refer to demo 01)
Code analysis
- In the
03_SD_Card.ino
file, find the#define sdcard_write_Test
and cancel the macro definition comment, you can test the TF card read and write function.
//#define sdcard_write_Test
04_WS2812_Test
Demo description
- Drive WS2812RGB LED beads to achieve a flowing rainbow effect, this demo is only applicable to ESP32-C6-LCD-1.9.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- First analyze the macro definitions of the file.
#define LEDS_COUNT 2 // Number of WS2812-RGB LED beads #define LEDS_PIN 3 //WS2812-GPIO control pin #define CHANNEL 0 //WS2812 control channel
- Analyze the main functions.
strip.setLedColorData(id, color); //id: The ID of the RGB beads, color: The actual color 0XFF0000 which means red strip.setLedColorData(id, r, g, b); //r, g, b: The actual values of the three primary colors strip.show();//Push the color data to WS2812
05_WIFI_AP
Demo description
- This demo can set the development board as a hotspot, allowing phones or other devices in STA mode to connect to the development board.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- In the file
05_WIFI_AP.ino
, findssid
andpassword
, then a phone or other device in STA mode can connect to the development board using these ssid and password.
const char *ssid = "ESP32_AP"; const char *password = "12345678";
06_WIFI_STA
Demo description
- The development board is used as a terminal role, which can connect to the AP available in the environment, and print the obtained IP information to the terminal after successful connection.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code modification
The project realizes that the chip is connected to WIFI in STA mode and obtains the IP address, before compiling and downloading the firmware, some code needs to be modified, specifically changing the name and password of the WIFI router to those suitable for the environment.
Code analysis
- wifi_init(void): This function is used to initialize the Wi-Fi connection of the ESP32. It sets the ESP32 to Wi-Fi site mode and tries to connect to the specified Wi-Fi network (via the
ssid
andpassword
). If the connection is successful, it prints the local IP address; if the connection fails within a certain period (20 * 500 milliseconds), it prints the connection failure message. At the same time, the function can also set the auto-connection and auto-reconnect functions.
07_Hello_World_GFX
Demo description
- Implement some basic GUI interface on the screen by porting the Arduino_GFX_Library.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- LCD can be driven by configuring the two classes
Arduino_DataBus
andArduino_GFX
.
Arduino_DataBus *bus = new Arduino_HWSPI(6 /* DC */, 7 /* CS */, 5 /* SCK */, 4 /* MOSI */); Arduino_GFX *gfx = new Arduino_ST7789(bus, 14 /* RST */,0 /*rotation*/,0/*IPS*/,170/*w*/,320/*h*/,35/*offsetx1*/,0/*offsety1*/,35/*offsetx2*/,0/*offsety2*/);
08_LVGL_Test
Demo description
- Implement some multifunctional GUI interfaces on the screen by porting LVGL.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
For LVGL, lvgl_conf.h is its configuration file, and below are explanations for some commonly used contents.
/*Color depth: 1 (1 byte per pixel), 8 (RGB332), 16 (RGB565), 32 (ARGB8888)*/ #define LV_COLOR_DEPTH 16//Color depth, a macro definition that must be concerned with porting LVGL #define LV_MEM_CUSTOM 0 #if LV_MEM_CUSTOM == 0 /*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/ #define LV_MEM_SIZE (48U * 1024U) /*[bytes]*/ /*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/ #define LV_MEM_ADR 0 /*0: unused*/ /*Instead of an address give a memory allocator that will be called to get a memory pool for LVGL. E.g. my_malloc*/ #if LV_MEM_ADR == 0 #undef LV_MEM_POOL_INCLUDE #undef LV_MEM_POOL_ALLOC #endif #else /*LV_MEM_CUSTOM*/ #define LV_MEM_CUSTOM_INCLUDE <stdlib.h> /*Header for the dynamic memory function*/ #define LV_MEM_CUSTOM_ALLOC malloc #define LV_MEM_CUSTOM_FREE free #define LV_MEM_CUSTOM_REALLOC realloc #endif /*LV_MEM_CUSTOM*/ //The above section is mainly for LVGL memory allocation, //which defaults to lv_mem_alloc() versus lv_mem_free().
There are also some LVGL demos and file systems that can be set in the conf configuration file.
Code modification
- If you need to rotate the display by 90 degrees, you can find the macro definition of
Direction
in the lcd_config.h file, and choose one of the two.
#define Rotate 1 //Rotation 90 #define Normal 0 //Normal #define Direction Normal
- In order to be compatible with ESP32-C6-LCD-1.9, Touch is not enabled by default in the demo. If you need to enable it, you can find the macro definition of
EXAMPLE_USE_TOUCH
in lcd_config.h file and set it to 1.
#define EXAMPLE_USE_TOUCH 0
- The TF card and screen on the board share SPI. To enable coexistence, you can find the macro definition of
EXAMPLE_USE_SDCARD
in lcd_config.h file and set it to 1.
#define EXAMPLE_USE_SDCARD 0
Result demonstration
- After the demo is flashed, the running result of the device is as follows:
Working with ESP-IDF
This chapter introduces setting up the ESP-IDF environment setup, including the installation of Visual Studio and the Espressif IDF plugin, program compilation, downloading, and testing of demos, to assist users in mastering the development board and facilitating secondary development.
Environment Setup
Download and Install Visual Studio
- Open the download page of VScode official website, choose the corresponding system and system bit to download
- After running the installation package, the rest can be installed by default, but here for the subsequent experience, it is recommended to check boxes 1, 2, and 3
- After the first two items are enabled, you can open VSCode directly by right-clicking files or directories, which can improve the subsequent user experience.
- After the third item is enabled, you can select VSCode directly when you choose how to open it
Install Espressif IDF Plugin
- It is generally recommended to use Install Online. If online installation fails due to network factor, use Install OIffline.
- For more information about how to install the Espressif IDF plugin, see Install Espressif IDF Plugin
Run the First ESP-IDF Demo
New Project
Create Demo
- Using the shortcut F1, enter esp-idf:show examples projects
- Select your current IDF version
- Take the Hello world demo as an example
①Select the corresponding demo
②Its readme will state what chip the demo applies to (how to use the demo and the file structure are described below, omitted here)
③Click to create the demo
- Select the path to save the demo, and require that the demos cannot use folders with the same name
Modify COM Port
- The corresponding COM ports are shown here, click to modify them
- Please select the COM ports according to your device (You can view it from the device manager)
- In case of a download failure, please press the Reset button for more than 1 second or enter download mode, and wait for the PC to recognize the device again before downloading once more
Modify Driver Object
- Select the object we need to drive, which is our main chip ESP32S3
- Choose the path to openocd, it doesn't affect us here, so let's just choose one
Other Status Bar Functions
①.ESP-IDF Development Environment Version Manager, when our project requires differentiation of development environment versions, it can be managed by installing different versions of ESP-IDF. When the project uses a specific version, it can be switched to by utilizing it
②.Device flashing COM port, select to flash the compiled program into the chip
③.Select set-target chip model, select the corresponding chip model, for example, ESP32-P4-NANO needs to choose esp32p4 as the target chip
④.menuconfig, click it to Modify sdkconfig configuration file Project configuration details
⑤.fullclean button, when the project compilation error or other operations pollute the compiled content, you can clean up all the compiled content by clicking it
⑥.Build project, when a project satisfies the build, click this button to compile
⑦.Current download mode, the default is UART
⑧.flash button, when a project build is completed, select the COM port of the corresponding development board, and click this button to flash the compiled firmware to the chip
⑨.monitor enable flashing port monitoring, when a project passes through Build --> Flash, click this button to view the log of output from flashing port and debugging port, so as to observe whether the application works normally
⑩.Debug
⑪.Build Flash Monitor one-click button, which is used to continuously execute Build --> Flash --> Monitor, often referred to as "little flame"
Compile, Flash and Serial Port Monitor
- Click on the all-in-one button we described before to compile, flash and open the serial port monitor
- It may take a long time to compile especially for the first time
- During this process, the ESP-IDF may take up a lot of CPU resources, so it may cause the system to lag
- If it is the first time to flash the program for a new project, you will need to select the download method, and select UART
- This can also be changed later in the Download methods section (click on it to pop up the options)
- As it comes with the onboard automatic download circuit, it can be downloaded automatically without manual operation
- After successful download, it will automatically enter the serial monitor, you can see the chip output the corresponding information and be prompted to restart after 10S
Use the IDF Demos
Open In the Software
- Open VScode software and select the folder to open the demo
- Select the provided ESP-IDF example and click to select the file (located in the /Demo/ESP-IDF path under demo)
Open from Outside the Software
- Select the project directory correctly and open the project, otherwise it will affect the compilation and flashing of subsequent programs
- After connecting the device, select the COM port and model, click below to compile and flash to achieve program control
ESP-IDF Project Details
- Component: The components in ESP-IDF are the basic modules for building applications, each component is usually a relatively independent code base or library, which can implement specific functions or services, and can be reused by applications or other components, similar to the definition of libraries in Python development.
- Component reference: The import of libraries in the Python development environment only requires to "import library name or path", while ESP-IDF is based on the C language, and the importing of libraries is configured and defined through
CMakeLists.txt
. - The purpose of CmakeLists.txt: When compiling ESP-IDF, the build tool
CMake
first reads the content of the top-levelCMakeLists.txt
in the project directory to read the build rules and identify the content to be compiled. When the required components and demos are imported into theCMakeLists.txt
, the compilation toolCMake
will import each content that needs to be compiled according to the index. The compilation process is as follows:
- Component reference: The import of libraries in the Python development environment only requires to "import library name or path", while ESP-IDF is based on the C language, and the importing of libraries is configured and defined through
Demo
Demo | Basic Description | Dependency Library |
---|---|---|
01_ADC_Test | Read the current voltage value of the system | - |
02_I2C_QMI8658 | Print the original data sent by the IMU | - |
03_SD_Card | Load and display the information of the TF card | - |
04_WS2812_Test | Drive WS2812RGB LED beads | - |
05_WIFI_AP | Set to AP mode to obtain the IP address of the access device | - |
06_WIFI_STA | Set to STA mode to connect to WiFi and obtain an IP address | - |
07_LVGL_Test | LVGL demo | LVGL |
08_FactoryProgram | Comprehensive demo | LVGL |
01_ADC_Test
Demo description
- The analog voltage connected through the GPIO is converted to digital by the ADC, and then the actual system voltage is calculated and printed to the terminal.
Code analysis
- adc_bsp_init(void) : Initializes ADC1, including creating an ADC one-time trigger unit and configuring channel 0 for ADC1.
- adc_get_value(float *value,int *data) : Reads the value of ADC1 channel 0 and calculates the corresponding voltage value based on the reference voltage and resolution, stores it at the position where the incoming pointer points to, and stores 0 if the read fails.
- adc_example(void* parameter): Initialize ADC1 and then create an ADC task that reads the ADC value every 1 second and calculates the system's voltage based on the raw ADC value.
Result demonstration
- The program compilation download is complete, and opening the serial port monitor will show the printed ADC values and voltage, as shown in the following figure:
- The ADC sampling value is about 1900, and the system voltage is about 4.9V. For a detailed analysis, you can refer to the Schematic Diagram.
02_I2C_QMI8658
Demo description
- Through I2C protocol, initialize the QMI8658 chip, then read and print the corresponding attitude information every 1 second to the terminal.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- qmi8658c_example(void* parameter): The function initializes the QMI8658 device, reading and printing accelerometer data, gyroscope data, and temperature data in an infinite loop, once every second. During the rotation of the board, the gyroscope data increases with greater rotation speed, and the accelerometer calculates the corresponding acceleration based on the current position.
Result demonstration
After the demo is flashed, the running result of the device is as follows:
- Open the serial port monitoring, and you can see the original data output from the IMU (Euler angles need to be converted by yourself), as shown in the following figure:
- You can see that it is output every 1 second. If you need to modify or refer to it, you can directly go to the qmi source file to modify it
03_SD_Card
Demo description
- By using the SPI bus to drive the TF card, after the TF card is successfully mounted, the TF card information is printed to the terminal, and the data is read and written to the
writeTest.txt
file every 1 second.
Hardware connection
- Connect the fat32 format TF card to the board and use a USB cable to connect the board to the computer (refer to demo 01)
Code analysis
- In the
user_app.c
file, find the#define sdcard_write_Test
and cancel the macro definition comment, you can test the TF card read and write function.
//#define sdcard_write_Test
04_WS2812_Test
Demo description
- Drive WS2812RGB LED beads to achieve a flowing rainbow effect, this demo is only applicable to ESP32-C6-LCD-1.9.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- First analyze the macro definitions of
ws2812_bsp.h
file.
#define LEDS_COUNT 2 // Number of WS2812-RGB LED beads #define LEDS_PIN 3 //WS2812-GPIO control pin
- Analyze the main functions.
void ws2812_Init(void); //Initialize ws2812 uint32_t ws2812_Wheel(uint8_t pos); //Convert 0-255 colors to standard 24-bit RGB color values void ws2812_set_pixel(uint8_t id,uint8_t r,uint8_t g,uint8_t b); //Push the r, g, and b color values to the corresponding WS2812
05_WIFI_AP
Demo description
- This demo can set the development board as a hotspot, allowing phones or other devices in STA mode to connect to the development board.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- In the file
softap_example_main.c
, findSSID
andPASSWORD
, and then your phone or other device in STA mode can use the SSID and PASSWORD to connect to the development board.
#define EXAMPLE_ESP_WIFI_SSID "waveshare_esp32" #define EXAMPLE_ESP_WIFI_PASSWORD "wav123456"
06_WIFI_STA
Demo description
- This example can configure the development board as a STA device to connect to the router and access the system network.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- In the file
esp_wifi_bsp.c
, findssid
andpassword
, then modify them to the SSID and Password of the available router in your current environment.
wifi_config_t wifi_config = { .sta = { .ssid = "PDCN", .password = "1234567890", }, };
07_LVGL_Test
Demo description
- Implement some multifunctional GUI interfaces on the screen by porting LVGL.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- If you need to rotate the display by 90 degrees, you can find the macro definition of
Direction
in the main.c file, and choose one of the two.
#define Rotate 1 //Rotation 90 #define Normal 0 //Normal #define Direction Normal
- In order to be compatible with ESP32-C6-LCD-1.9, Touch is not enabled by default in the demo. If you need to enable it, you can find the macro definition of
EXAMPLE_USE_TOUCH
in main.c file and set it to 1.
#define EXAMPLE_USE_TOUCH 0
- The TF card and screen on the board share SPI. To enable coexistence, you can find the macro definition of
EXAMPLE_USE_SDCARD
in main.c file and set it to 1.
#define EXAMPLE_USE_SDCARD 0
Result demonstration
- After the demo is flashed, the running result of the device is as follows:
08_FactoryProgram
Demo description
- This is a comprehensive project for testing onboard functionality. This example requires a specific IDF version, and versions V5.2.0 and above may not be able to scan for surrounding WiFi. If the test fails due to a high version, you can compile using a lower version or directly use the BIN firmware we provide.
Hardware connection
- Connect the board to the computer using a USB cable (refer to demo 01)
Code analysis
- ESP32-C6-LCD-1.9 switches the pages by clicking the BOOT button, double click to turn on/off the backlight, and long press to test the TF card read/write; ESP32-C6-Touch-LCD-1.9 can be controlled through the BOOT button or Touch.
Result demonstration
- The program flashing is complete, wait for the three primary colors to be displayed, as shown in the figure:
- After the RGB is displayed, it will automatically jump to the clock interface,as shown below:
- Click the BOOT button to switch pages, and you can see that this page contains some onboard hardware information, as shown in the figure:
Flash Firmware Flashing and Erasing
- The current demo provides test firmware, which can be used to test whether the onboard device functions properly by directly flashing the test firmware
- bin file path:
..\ESP32-C6-LCD-1.9-Demo\Firmware
Resources
Schematic Diagram
Demo
Dimensions and Appearance File
Datasheets
ESP32-C6
Other Components
Software Tools
Arduino
- Arduino IDE Official download link
- ESP32-Arduino official documentation
- Arduino-ESP32 offline component package
VScode
Firmware Flashing Tool
Other Resource Links
FAQ
- Long press the BOOT button, press RESET at the same time, then release RESET, then release the BOOT button, at this time the module can enter the download mode, which can solve most of the problems that can not be downloaded.
- First consider the network issue, try switching to another network
- Is there a conductor (e.g. hand) that touches the pin header over a large area?
- Modify LVGL display cache to the full screen size
- Modify the LV_IMG_CACHE_DEF_SIZE option in the configuration to 1000 to achieve some optimization
- Basic Chinese can be displayed, but if it is a rare character, it cannot be displayed
- You can transcode the required rare characters through the transcoding software, and then add them to the project font library
- It's normal for the first compilation to be slow, just be patient
- Plug and unplug the USB
- Some AppData folders are hidden by default and can be set to show.
- English system: Explorer->View->Check "Hidden items"
- Chinese system: File Explorer -> View -> Display -> Check "Hidden Items"
- Windows system:
①View through Device Manager: Press the Windows + R keys to open the "Run" dialog box; input devmgmt.msc and press Enter to open the Device Manager; expand the "Ports (COM and LPT)" section, where all COM ports and their current statuses will be listed.
②Use the command prompt to view: Open the Command Prompt (CMD), enter the "mode" command, which will display status information for all COM ports.
③Check hardware connections: If you have already connected external devices to the COM port, the device usually occupies a port number, which can be determined by checking the connected hardware.
- Linux system:
①Use the dmesg command to view: Open the terminal.
①Use the ls command to view: Enter ls /dev/ttyS* or ls /dev/ttyUSB* to list all serial port devices.
③Use the setserial command to view: Enter setserial -g /dev/ttyS* to view the configuration information of all serial port devices.
Support
Technical Support
If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)