Google Chat:---
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
WhatsApp:13424403025




This chapter includes the following sections. Please read as needed:
New to Arduino ESP32 development and looking for a quick start? We have prepared a comprehensive Getting Started Tutorial for you.
Note: This tutorial uses the ESP32-S3-Zero as a reference example, and all hardware code is based on its pinout. Before you start, we recommend checking the pinout of your development board to ensure the pin configuration is correct.
For the ESP32-C6-Touch-LCD-1.28 development board, Arduino IDE requires arduino-esp32 version v3.2.1 or later.
Please refer to the tutorial Install and Configure Arduino IDE to download and install the Arduino IDE and add ESP32 support.
Arduino\libraries directory within the package already contains all the library files required for this tutorial.| Library/File Name | Description | Version | Installation Method |
|---|---|---|---|
| LVGL | Graphics Library | v8.4.0 | "Offline Installation" |
| Arduino_GFX_Library | Low-level graphics drawing library | v1.6.4 | "Offline/Online Installation" |
There are strong dependencies between versions of LVGL and its driver libraries. For example, a driver written for LVGL v8 may not be compatible with LVGL v9. To ensure that the examples can be reproduced reliably, it is recommended to use the specific versions listed in the table above. Mixing different versions of libraries may lead to compilation failures or runtime errors.

The Arduino examples are located in the Arduino/examples directory of the example package.
| Example | Basic Program Description | Dependency Library |
|---|---|---|
| 01_I2C_PCF85063 | Read RTC time and print it | - |
| 02_I2C_QMI8658 | Print the raw data from the IMU | - |
| 03_SD_Card | Load and display TF card information | - |
| 04_WIFI_AP | Set to AP mode, can obtain the MAC address of connected devices | - |
| 05_WIFI_STA | Set to STA mode to connect to Wi-Fi and obtain an IP address | - |
| 06_HelloWorld_GFX | Display HelloWorld on the screen | GFX_Library_for_Arduino |
| 07_LVGL_Demo | LVGL example | LVGL |
Example Description
Expected Behavior
After compiling and uploading the program, open the serial monitor to see the printed RTC time, as shown below:

Example Description
Expected Behavior
Open the serial monitor to view the raw data output from the IMU (Euler angles require conversion), as shown in the figure below:

Example Description
Expected Behavior
Open the serial monitor to see the Size output, which is the actual capacity of the TF card, as shown below:

Example Description
Expected Behavior
After uploading the program, open the serial terminal. When a device successfully connects to the hotspot, the MAC address of that device is printed, as shown:

Example Description
Expected Behavior
After uploading the program, open the serial terminal. When the device successfully connects to the router, it prints the assigned IP address, as shown:

Example Description
Expected Behavior
After flashing the program, you can see various "Hello World" formats displayed on the screen, as shown in the figure:

Example Description
Expected Behavior
After the program is flashed, the device operation result is as follows:

This chapter includes the following sections. Please read as needed:
New to ESP32 ESP-IDF development and looking to get started quickly? We have prepared a general Getting Started Tutorial for you.
Please Note: This tutorial uses the ESP32-S3-Zero as a teaching example, and all hardware code is based on its pinout. Before you start, it is recommended that you check the pinout of your development board to ensure the pin configuration is correct.
For the ESP32-C6-Touch-LCD-1.28 development board, ESP-IDF V5.5.2 or above is required.
The following guide uses Windows as an example, demonstrating development using VS Code + the ESP-IDF extension. macOS and Linux users should refer to the official documentation.
The screenshots in this section use ESP-IDF V5.5.2 as an example. When installing, please select the ESP-IDF version that matches your board's example.
Download the installation manager from the ESP-IDF Installation Manager page. This is Espressif's latest cross-platform installer. The following steps demonstrate how to use its offline installation feature.
Click the Offline Installer tab on the page, then select Windows as the operating system and the ESP-IDF version you need (the version shown in the screenshot is for reference only — choose the version that fits your actual needs).

After confirming your selection, click the download button. The browser will automatically download two files: the ESP-IDF Offline Package (.zst) and the ESP-IDF Installer (.exe).

Please wait for both files to finish downloading.
Once the download is complete, double-click to run the ESP-IDF Installer (eim-gui-windows-x64.exe).
The installer will automatically detect if the offline package exists in the same directory. Click Install from archive.

Next, select the installation path. We recommend using the default path. If you need to customize it, ensure the path does not contain Chinese characters or spaces. Click Start installation to proceed.

When you see the following screen, the ESP-IDF installation is successful.

We recommend installing the drivers as well. Click Finish installation, then select Install driver.

Download and install Visual Studio Code.
During installation, it is recommended to check Add "Open with Code" action to Windows Explorer file context menu to facilitate opening project folders quickly.
In VS Code, click the Extensions icon in the Activity Bar on the side (or use the shortcut Ctrl + Shift + X) to open the Extensions view.
Enter ESP-IDF in the search box, locate the ESP-IDF extension, and click Install.

For ESP-IDF extension versions ≥ 2.0, the extension will automatically detect and recognize the ESP-IDF environment installed in the previous steps, requiring no manual configuration.
The ESP-IDF examples are located in the ESP-IDF directory of the example package.
| Example | Basic Program Description | Dependency Library |
|---|---|---|
| 01_Factory | Factory test program | - |
| 02_QMI8658 | Print the raw data from the IMU | - |
| 03_PCF85063 | Read RTC time and print it | - |
| 04_SD_Card | Load and display TF card information | - |
| 05_WIFI_AP | Set to AP mode to obtain the IP addresses of connected devices | - |
| 06_WIFI_STA | Set to STA mode to connect to Wi-Fi and obtain an IP address | - |
| 07_ESP-Brookesia | brookesia APP example | - |
| 08_LVGL_Demo | LVGL example | LVGL |
Example Description
Expected Behavior



Example Description
Expected Behavior
Open the serial monitor to view the raw data output from the IMU (Euler angles require conversion), as shown in the figure below:

Example Description
Expected Behavior
After compiling and uploading the program, open the serial monitor to see the printed RTC time, as shown below:

Example Description
Expected Behavior
Open the serial monitor to see the TF card read/write test process, as shown below:

Example Description
Expected Behavior
After uploading the program, open the serial terminal. When a device successfully connects to the hotspot, the IP address of that device is printed, as shown:

Example Description
Expected Behavior
After uploading the program, open the serial terminal. When the device successfully connects to the router, it prints the assigned IP address and Wi-Fi information, as shown:

Example Description
LVGL and Espressif's brookesia components to implement APP-like functionality.Expected Behavior


Example Description
Expected Behavior
After the program is flashed, the device operation result is as follows:

Development Board Design File
ESP32-C6 Chip Official Manuals
Datasheets
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com