Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
ESP32-C6-LCD-1.47 is a microcontroller development board that supports 2.4GHz Wi-Fi 6 and BLE 5. It integrates 4MB Flash and has onboard 1.47inch LCD screen, can smoothly run GUI programs such as LVGL. Combined with various peripheral interfaces, it is suitable for the quick development of the HMI and other ESP32-C6 applications.
1. ESP32-C6FH4 2. ME6217C33M5G 3. TF card slot | 4. Patch ceramic antenna 5. BOOT button 6. RESET button |
LCD Pin | ESP32C6 |
MOSI | GPIO6 |
SCLK | GPIO7 |
LCD_CS | GPIO14 |
LCD_DC | GPIO15 |
LCD_RST | GPIO21 |
LCD_BL | GPIO22 |
RGB light beads | ESP32C6 |
RGB_Control | GPIO8 |
TF Card | ESP32C6 |
MISO | GPIO5 |
MOSI | GPIO6 |
SCLK | GPIO7 |
CS | GPIO4 |
SD_D1 | NC |
SD_D2 | NC |
Parameter Name | Parameter |
Interface | USB Type-C |
Controller chip | ESP32-C6 |
LCD type | TFT |
LCD controller chip | Display: ST7789 |
Onboard devices | TF |
ESP32-C6-LCD-1.47 currently provides 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.
![]() | Arduino IDEArduino IDE is an open source electronic prototyping platform, convenient and flexible, easy to get started. After a simple learning, you can start to develop quickly. At the same time, Arduino has a large global user community, providing an abundance of open source code, project examples and tutorials, as well as rich library resources, encapsulating complex functions, allowing developers to quickly implement various functions. |
![]() | ESP-IDFESP-IDF, or full name Espressif IDE, is a professional development framework introduced by Espressif Technology for the ESP series chips. It is developed using the C language, including a compiler, debugger, and flashing tools, etc., and can be developed via the command lines or through an integrated development environment (such as Visual Studio Code with the Espressif IDF plugin). The plugin offers features such as code navigation, project management, and debugging. |
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.
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.
Board name | Board installation requirement | Version number requirement |
---|---|---|
esp32 by Espressif Systems | "Install Offline" / "Install Online" | ≥3.0.0 |
Library Name | Description | Version | Library Installation Requirement |
---|---|---|---|
LVGL | Graphical library | v8.3.10 | "Install Offline" |
PNGdec | Decode PNG image formats | v1.0.2 | "Install Offline" |
Demo | Basic Description | Dependency Library |
---|---|---|
LVGL_Arduino | Test onboard device functionality | LVGL |
LCD_Image | Display TF card root directory PNG file at intervals | PNGdec |
Demo description
Hardware connection
Code analysis
Flash_test()
: Tests and prints the flash memory size information of the deviceLCD_Init()
: Initializes the displayLvgl_Init()
: Initializes the LVGL graphics librarySD_Init()
: Initializes the TF cardLvgl_Example1()
: Calls the specific LVGL example functionWireless_Test2()
: Calls the test function for wireless communicationTimer_Loop()
: Functions that handle timer-related tasksDemo flashing
Result demonstration
TF card preparation
Hardware connection
Code analysis
Search_Image(directory, fileExtension)
search for image files with the specified extension in a given directory, and store the count of found images in the global variable Image_CNT
Image_CNT
is not zero, one or more images have been found. Construct the full path of the image file based on whether the directory is a root directory, convert it to a C-style string for debugging purposes, and finally call the Show_Image
function to display the imageImage_CNT
is zero), an error message is printed indicating that a file with the specified extension was not found in the given directoryResult demonstration
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 example programs, to assist users in mastering the development board and facilitating secondary development.
Plugin name | Plugin installation requirement | Version number requirement |
---|---|---|
Espressif IDF | "Install Offline" / "Install Online" | ≥5.3.1 |
Demo | Basic Description | Dependency Library |
---|---|---|
ESP32-C6-LCD-1.47-Test | Test onboard device functionality | LVGL |
Demo description
Hardware connection
Code analysis
Wireless_Init()
: Initializes the wireless communication moduleFlash_Searching()
: Tests and prints the flash memory size information of the deviceRGB_Init()
: Initializes RGB-related functionsRGB_Example()
: Displays example functions of RGBSD_Init()
: Initializes the TF cardLCD_Init()
: Initializes the displayBK_Light(50)
: Sets the backlight brightness to 50LVGL_Init()
: Initializes the LVGL graphics libraryLvgl_Example1()
: Calls the specific LVGL example functionvTaskDelay(pdMS_TO_TICKS(10))
: Short delay, every 10 millisecondslv_timer_handler()
: Timer handling function for LVGL, used to handle events and animations related to timeDemo flashing
Result demonstration
..\ESP32-C6-LCD-1.47-Demo\Firmware
This section features third - party project resources. We merely provide links and bear no responsibility for content updates or maintenance. Thank you for your understanding.
Volos Projects-How to Interact with Your UI - LVGL and Squareline Studio
①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.
①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.
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com