Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
ESP32-S3-LCD-2.8C is a microcontroller development board that supports 2.4GHz WiFi and BLE 5. It integrates large capacity Flash and PSRAM and has onboard 2.8inch round 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-S3 applications.
Item | Parameter |
Interface | USB Type-C / UART Type-C |
Controller chip | ESP32-S3 |
LCD type | TFT |
LCD controller chip | Display: ST7701 |
Touch: GT911 | |
Onboard devices | Attitude sensor: QMI8658 |
RTC clock: PCF85063 | |
TF | |
Buzzer | |
Battery recharging manager module | |
Dimensions | 95.86±0.1 (R) mm |
1. ESP32-S3R8 2. QST attitude sensor 3. TCA9554PWR 4. FSUSB42UMX 5. CH343P 6. 16MB Flash 7. RTC clock chip 8. Battery recharge manager Chip 9. ME6217C33M5G 10. USB Type-C interface 11. Battery header | 12. 12PIN multi-functional pin header 13. IPEX Gen 1 connector 14. TF card slot 15. RTC battery header 16. I2C interface 17. UART interface 18. USB TO UART Type-C port 19. Buzzer 20. Charge indicator 21. Power indicator 22. Battery power supply control button 23. RESET button 24. BOOT button |
No. | Pin | Function | Description |
1 | GND | GND | Ground |
2 | VBus | 5V | USB power supply |
3 | D- | USB differential cable (GPIO19) | USB differential cable or as GPIO |
4 | D+ | USB differential cable (GPIO20) | USB differential cable or as GPIO |
5 | GND | GND | Ground |
6 | 3V3 | 3V3 | External output 3.3V |
7 | SCL | SCL (GPIO7) | I2C clock pin, cannot be used as regular GPIO |
8 | SDA | SDA (GPIO15) | I2C data pin, cannot be used as regular GPIO |
9 | TXD | TXD (GPIO43) | UART transmit data or as regular GPIO |
10 | RXD | RXD (GPIO44) | UART receive data or as regular GPIO |
11 | NC | NC | Not connected |
12 | IO0 | GPIO0 | Spare pinout |
Pin | Function | Description |
GND | GND | Ground |
3V3 | 3V3 | External output 3.3V |
SCL | SCL (GPIO7) | I2C clock pin, cannot be used as regular GPIO |
SDA | SDA (GPIO15) | I2C data pin, cannot be used as regular GPIO |
Pin | Function | Description |
GND | GND | Ground |
3V3 | 3V3 | External output 3.3V |
TXD | TXD (GPIO43) | UART transmit data or as regular GPIO |
RXD | RXD (GPIO44) | UART receive data or as regular GPIO |
LCD Pin | ESP32S3 |
LCD_BL | GPIO6 |
LCD_RST | EXIO1 |
LCD_SDA | GPIO1 |
LCD_SCL | GPIO2 |
LCD_CS | EXIO3 |
PCLK | GPIO41 |
DE | GPIO40 |
VSYNC | GPIO39 |
HSYNC | GPIO38 |
B0 | NC |
B1 | GPIO5 |
B2 | GPIO45 |
B3 | GPIO48 |
B4 | GPIO47 |
B5 | GPIO21 |
G0 | GPIO14 |
G1 | GPIO13 |
G2 | GPIO12 |
G3 | GPIO11 |
G4 | GPIO10 |
G5 | GPIO9 |
R0 | NC |
R1 | GPIO46 |
R2 | GPIO3 |
R3 | GPIO8 |
R4 | GPIO18 |
R5 | GPIO17 |
TP_SDA | GPIO15 |
TP_SCL | GPIO7 |
TP_INT | GPIO16 |
TP_RST | EXIO2 |
TF Card | ESP32S3 |
SD_D0 / MISO | GPIO42 |
SD_CMD / MOSI | GPIO1 |
SD_SCK / SCLK | GPIO2 |
SD_D3 / CS | EXIO4 |
SD_D1 | NC |
SD_D2 | NC |
QMI8658 | ESP32S3 |
IMU_SCL | GPIO7 |
IMU_SDA | GPIO15 |
IMU_INT1 | EXIO6 |
IMU_INT2 | EXIO5 |
PCF85063ATL | ESP32S3 |
RTC_SCL | GPIO7 |
RTC_SDA | GPIO15 |
RTC_INT | EXIO7 |
Buzzer | ESP32S3 |
Buzzer_Control | EXIO8 |
BAT | ESP32S3 |
BAT_ADC | GPIO4 |
ESP32-S3-LCD-2.8C 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 tool, 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, etc.. |
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 | Instruction |
---|---|---|
esp32-XIP-3.0.2 | "Install Offline" | The "esp32-XIP-3.0.2" board must be installed according to the installation tutorial |
..\ESP32-S3-LCD-2.8C-Demo\Arduino\libraries
Library Name | Description | Version | Library Installation Requirement |
---|---|---|---|
LVGL | Graphical library | v8.3.10 | "Install Offline" |
OneButton | Button library | v2.6.1 | "Install Offline" |
Demo | Basic Description | Dependency Library |
---|---|---|
LVGL_Arduino | Test onboard device functionality | LVGL |
Hardware connection
Code analysis
Demo flashing
Result demonstration
Parameter | Function | Description |
SD Card | Display TF card size | Connect the TF card, if the recognition fails, please format the TF card to FAT32 format (please wait for a while to reset and check again if the recognition fails for the first time) |
Flash Size | Display Flash size | Current onboard 16MB Flash |
Battery Voltage | Battery voltage | The battery voltage can be detected when the battery is connected |
Angular deflection | Display the angular deflection of the board | Display the offset in three directions |
RTC Time | Display RTC time | Display current RTC time If the RTC time is not consistent with the current time, because the data cannot be retained in the power-off state, if you need to keep the RTC time normal, you need to connect the RTC battery and update the RTC time |
Wireless scan | Display the number of scanned WiFi | When it finishes, display Scan Finish at the end |
Backlight brightness | Backlight control | Control backlight brightness |
The buzzer test | Buzzer control page | Can control buzzer switch |
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.
Plugin name | Plugin installation requirement | Version number requirement |
---|---|---|
Espressif IDF | "Install Offline" / "Install Online" | ≥5.3.1 |
Demo | Basic Description |
---|---|
ESP32-S3-LCD-2.8C-Test | Test onboard device functionality |
Hardware connection
Code analysis
Driver_Loop
that continuously processes the gyroscope, the real-time clock, and gets the battery voltage, executing a loop operation every 100 milliseconds. Driver_Init
for hardware initialization. Next, initialize the LCD display, TF card, LVGL graphics library and analog touch input in sequence. Calling the example function Lvgl_Example1
of LVGL demonstrates specific graphical interface effects. In the main loop, it delays once every 10 milliseconds and calls lv_timer_handler
to handle LVGL's timer events, ensuring the normal operation and updates of the graphical interface.Result demonstration
Parameter | Function | Description |
SD Card | Display TF card size | Connect the TF card, if the recognition fails, please format the TF card to FAT32 format (please wait for a while to reset and check again if the recognition fails for the first time) |
Flash Size | Display Flash size | Current onboard 16MB Flash |
Battery Voltage | Battery voltage | The battery voltage can be detected when the battery is connected |
Angular deflection | Display the angular deflection of the board | Display the offset in three directions |
RTC Time | Display RTC time | Display current RTC time If the RTC time is not consistent with the current time, because the data cannot be retained in the power-off state, if you need to keep the RTC time normal, you need to connect the RTC battery and update the RTC time |
Wireless scan | Display the number of scanned WiFi | When it finishes, display Scan Finish at the end |
Backlight brightness | Backlight control | Control backlight brightness |
The buzzer test | Buzzer control page | Can control buzzer switch |
...\ESP32-S3-LCD-2.8C-Demo\Firmware
It may be due to Flash blank and the USB port is not stable, you can long-press the BOOT button, press RESET at the same time, and then release RESET, and then release the BOOT button, at this time the module can enter the download mode to flash the firmware (demo) to solve the situation.
①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