Google Chat:---
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
WhatsApp:13424403025
The ESP32-C6-Touch-AMOLED-1.64 is a microcontroller development board that supports 2.4GHz Wi-Fi 6 and Bluetooth BLE 5. It features a 1.64inch high-definition AMOLED display, capable of smoothly running GUI programs such as LVGL. The board is equipped with an IMU, TF card slot, and lithium battery charging functionality, offering rich peripheral resources. Additionally, it exposes USB, UART, I2C, and multiple MUX_GPIO interfaces, providing flexible expansion capabilities. It is an ideal choice for rapid development of HMI applications based on the ESP32-C6.
| SKU | Product |
|---|---|
| 34055 | ESP32-C6-Touch-AMOLED-1.64 |
| 34056 | ESP32-C6-Touch-AMOLED-1.64-M |


| Display Panel | AMOLED | Display Size | 1.64inch |
| Resolution | 280×456 pixels | Display Colors | 16.7M |
| Brightness | 350cd/m² | Contrast Ratio | 60000:1 |
| Communication Interface | QSPI | Driver IC | CO5300 |
| Touch IC | Supported | Driver IC | FT6146 |

This chapter contains 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-AMOLED-1.64 development board, Arduino IDE requires arduino-esp32 version v3.2.0 or later.
Please refer to the tutorial Installing and Configuring 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 | "Install Offline” |
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 demos are located in the Arduino/examples directory of the demo package.
| Demo | Basic Program Description | Dependency Library |
|---|---|---|
| 01_ADC_Test | Read the current system voltage value | - |
| 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 WiFi and obtain an IP address | - |
| 06_LVGL_Test | LVGL demo | LVGL |
Demo Description
Hardware Connection
Code Analysis
adc_bsp_init(void): Initializes ADC1, including creating an ADC one-shot trigger unit and configuring Channel 0 of ADC1.adc_get_value(float *value,int *data): Reads the value from Channel 0 of ADC1, calculates the corresponding voltage based on the reference voltage and resolution, and stores it at the location pointed to by the passed pointer. Stores 0 if the read fails.adc_example(void* parameter): After initializing ADC1, creates an ADC task. This task reads the ADC value every second and calculates the system voltage from the raw ADC reading.Operation Result
After the program is compiled and downloaded, you can view the printed ADC values and voltage output by opening the Serial Monitor, as shown in the following image:
When connected via USB, the measured voltage is the system voltage, around 4.65V. For detailed analysis, please refer to the schematic.

Demo Description
Hardware Connection
Code Analysis
qmi8658c_example(void* parameter): This function initializes the QMI8658 device. In an infinite loop, it reads and prints accelerometer, gyroscope, and temperature data every 1 second. As the board rotates faster, the gyroscope data increases accordingly. The accelerometer calculates the corresponding acceleration based on its current orientation.Operation Result
Open the Serial Monitor to see the printed raw data from the IMU (Euler angles need to be converted by yourself), as shown in the figure below:
Data is output every 1 second. For modifications or reference, you can directly access the qmi source file.

Demo Description
Hardware Connection
Operation Result
Click to open the Serial Monitor device. You can see the output TF card information; practical_size indicates the actual capacity of the TF card, as shown below:

Demo Description
Hardware Connection
Code Analysis
ssid and password in the 05_WIFI_AP.ino file. Then mobile phones or other devices in STA mode can use this ssid and password to connect to the development board.Operation Result
After flashing the program, open the serial terminal. If the device is successfully connected to the hotspot, the MAC address of the device will be output, as shown in the figure:

Demo Description
Hardware Connection
Code Analysis
wifi_init(void): This function initializes the Wi-Fi connection of the ESP32. It sets the ESP32 to Wi-Fi station mode and attempts to connect to the specified Wi-Fi network (via ssid and password). If successful, it prints the local IP address; if it fails to connect within a certain period (20 * 500 ms), it prints a connection failure message. The function can also enable auto-connect and auto-reconnect features.Operation Result
The chip successfully connects to Wi-Fi in STA mode, and after clicking on the Serial Monitor, you can see the obtained IP address, as shown in the figure.

Demo Description
Hardware Connection
Code Analysis
#define EXAMPLE_Rotate_90 in the lcd_bsp.c file and uncomment it. Software rotation performance is inferior to hardware rotation.Operation Result
The LVGL example has relatively high requirements for RAM and ROM, so the program must be configured according to the environment setup requirements. After flashing, the device's operation effect is as follows:

To help users quickly understand the various functions of the product, we provide a factory test example to familiarize customers with the use of each interface. Besides the ESP32-C6-Touch-AMOLED-1.64 host and the included cables, the following items are required to run the example:
If the port is not recognized, please enter Boot mode:
After the download is complete, restart the board to run the program.
The example programs are located in the Firmware directory of the demo package
Select the factory firmware to flash: esp32_c6_touch_amoled_1_64_factory.bin
After flashing, the screen effect is as shown:

Features Wi-Fi scanning and network configuration. Click WIFI on the interface, then wifi config to scan a QR code for network configuration
Adjusts the backlight
Displays the battery ADC voltage
If a TF card is inserted, the TF card capacity will be displayed
Product about page, where you can view the MAC address

This example demonstrates obtaining local weather data online. An internet connection is required; otherwise, weather information cannot be retrieved.
The current program is set to fetch weather information every 5 seconds

This example demonstrates obtaining and displaying gyroscope data

This example demonstrates image display functionality
Image resources are built into the program. Swipe left or right to switch images

This chapter contains 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.
Please refer to Install ESP-IDF Development Environment.
For the ESP32-C6-Touch-AMOLED-1.64 development board, ESP-IDF version 5.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.
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 choose your desired version from the filter bar.

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.
| Demo | Basic Description | Dependency Library |
|---|---|---|
| 01_ADC_Test | Get the lithium battery voltage value and display it on the screen | - |
| 02_I2C_QMI8658 | Print the raw data from the IMU | - |
| 03_SD_Card | Load and display TF card information, and perform read/write tests | - |
| 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 WiFi and obtain an IP address | - |
| 06_LVGL_Test | LVGL example | - |
| 07_brookesia_app | Brookesia picture APP example | - |
Demo Description
Hardware Connection
Code Analysis
bsp_display_start(): Initialize the screen, touch, and LVGLbsp_display_backlight_on(): Turn on the backlightbat_adc_init(): Initialize ADC1, including creating an ADC single-shot trigger unit and configuring ADC1 channel 0.Operation Result
After compiling and downloading the program, connect the battery. The battery voltage will be displayed on the screen as shown in the figure below:

Demo Description
Hardware Connection
Code Analysis
bsp_qmi8658_drv_init(): Initialize qmi8658qmi8658_is_data_ready(): Check if data is readyqmi8658_read_sensor_data(): Read gyroscope dataOperation Result
After the program is flashed, the device operation result is as follows:

Demo Description
Hardware Connection
Code Analysis
bsp_sdcard_mount(): Initialize the TF card via the SPI interfacetf_card_test(): Read/write file testOperation Result
Click on the Serial Monitor to see the output TF card information:

Demo Description
Hardware Connection
Code Analysis
SSID and PASSWORD in the softap_example_main.c file. Then mobile phones or other devices in STA mode can use this SSID and PASSWORD to connect to the development board.Operation Result
Click on the Serial Monitor. If a device successfully connects to the hotspot, the IP address of that device will be output:

Demo Description
Hardware Connection
Code Analysis
SSID and PASSWORD in the station_example_main.c file, and modify them to the SSID and Password of an available router in the current environment.Operation Result
After flashing the program, open the Serial Terminal. If the device successfully connects to the hotspot, the obtained IP address will be output, as shown in the figure:

Demo Description
Hardware Connection
Code Analysis
bsp_display_start(): Initialize the screen, touch, and LVGLbsp_display_backlight_on(): Turn on the backlightlv_demo_widgets(): Load the LVGL demo programOperation Result
After the program is flashed, the device operation result is as follows:

Demo Description
LVGL and Espressif's brookesia component. This example only loads the picture APP.Hardware Connection
Code Analysis
Configure the LVGL lock for Brookesia
LvLock::registerCallbacks([](int timeout_ms) {
esp_err_t ret = bsp_display_lock(timeout_ms);
ESP_UTILS_CHECK_FALSE_RETURN(ret == ESP_OK, false, "Lock failed (timeout_ms: %d)", timeout_ms);
return true;
}, []() {
bsp_display_unlock();
return true;
});
Install the APP
auto app4 = esp_brookesia::apps::Photos::requestInstance();
ESP_UTILS_CHECK_FALSE_EXIT(phone->installApp(app4),"start Drawpanel failed");
Operation Result



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