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-1.47 is a microcontroller development board that supports 2.4GHz WiFi and BLE 5. It integrates large capacity Flash and PSRAM 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-S3 applications.
1. ESP32-S3R8 2. 16MB Flash 3. TF card slot 4. ME6217C33M5G | 5. Patch ceramic antenna 6. BOOT button 7. RESET button |
LCD Pin | ESP32S3 |
MOSI | GPIO45 |
SCLK | GPIO40 |
LCD_CS | GPIO42 |
LCD_DC | GPIO41 |
LCD_RST | GPIO39 |
LCD_BL | GPIO48 |
RGB light bead | ESP32S3 |
RGB_Control | GPIO38 |
TF Card | ESP32S3 |
SD_CMD | GPIO15 |
SD_SCK | GPIO14 |
SD_D0 | GPIO16 |
SD_D1 | GPIO18 |
SD_D2 | GPIO17 |
SD_D3 | GPIO21 |
Item | Parameter |
Interface | USB Type-A |
Controller chip | ESP32-S3 |
LCD Type | TFT |
LCD Controller chip | Display: ST7789 |
Onboard Devices | TF |
ESP32-S3-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.
File
-->Preferences
from the Arduino IDE menu barhttps://espressif.github.io/arduino-esp32/package_esp32_index.json
①. Select BOARDS MANAGER in the sidebar;
②. Enter the name of the board you want to install ESP32 in the search box;
③. Select Version Number in the box;
④. Click INSTALL.
Board name | Board installation requirement | Version number requirement |
---|---|---|
esp32 by Espressif Systems | "Install Offline" / "Install Online" | ≥3.0.2 |
File
->preferences
->Sketchbook location
Library Name | Description | Version | Library Installation Requirements |
---|---|---|---|
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 |
Hardware connection
Code analysis
1. setup()
Flash_test()
: Test and print the flash memory size information of the deviceSD_Init()
: Initialize the TF cardLCD_Init()
: Initialize the displaySet_Backlight(90)
: Set the backlight brightness to 90Lvgl_Init()
: Initialize the LVGL graphics libraryLvgl_Example1()
: Calls the specific LVGL example functionWireless_Test2()
: Call the test function for wireless communication2. loop()
Timer_Loop()
: Functions that handle timer-related tasksRGB_Lamp_Loop(2)
: Update the RGB light color at regular intervalsResult demonstration
Hardware connection
Code analysis
1. setup()
Flash_test()
: Test and print the flash memory size information of the deviceSD_Init()
: Initialize the TF cardLCD_Init()
: Initialize the displaySet_Backlight(90)
: Set the backlight brightness to 902. loop()
Image_Next_Loop("/", ".png", 300)
: Display PNG files in the TF card root directory in sequence at regular time intervalsRGB_Lamp_Loop(2)
: Update the RGB light color at regular intervalsResult 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.
Demo | Basic Description | Dependency Library |
---|---|---|
ESP32-S3-LCD-1.47-Test | Test onboard device functionality | LVGL |
Hardware connection
Code analysis
1. setup()
Wireless_Init()
: Initialize the wireless communication moduleFlash_Searching()
: Test and print the flash memory size information of the deviceRGB_Init()
: Initialize RGB-related functionsRGB_Example()
: Display example functions of RGBSD_Init()
: Initialize the TF cardLCD_Init()
: Initialize the displayBK_Light(50)
: Set the backlight brightness to 50LVGL_Init()
: Initialize the LVGL graphics libraryLvgl_Example1()
: Calls the specific LVGL example function2. while(1)
vTaskDelay(pdMS_TO_TICKS(10))
: Short delay, every 10 millisecondslv_timer_handler()
: Timer handling function for LVGL, used to handle events and animations related to timeResult demonstration
..\ESP32-SS-LCD-1.47-Demo\Firmware
①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