شعار بانجوود

Banggood ESP32 Development Board

Banggood-ESP32-Development-Board-product

تحديد

  • Product Name: ESP32-S3-LCD-1.47
  • Development Tools: Arduino IDE, ESP-IDF

تعليمات الاستخدام

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.

أدوات التطوير

أردوينو IDE
Arduino 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-جيش الدفاع الإسرائيلي
ESP-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.
Before operating, it is recommended to browse the table of contents to quickly understand the document structure. For smooth operation, please read the FAQ carefully to understand possible problems in advance. All resources in the document are provided with hyperlinks for easy download.

العمل مع Arduino

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.

Banggood-ESP32-Development-Board- (1)

بيئة الإعداد

قم بتنزيل وتثبيت Arduino IDE

  • انقر لزيارة الموقع الرسمي website, select the corresponding system and system bit to download.
  • Banggood-ESP32-Development-Board- (2) Run the installer and install all by default.

Install ESP32 development board

  • In order to use the ESP32-related motherboard in the Arduino IDE, the software package of the esp32 by Espressif Systems board must be installed
  • According to Board installation requirement, it is generally recommended to use Install Online. If online installation fails, use Install Offline
  • The esp32 by Espressif Systems development board comes with an offline package. Click here to download: esp32_package_3.0.2_arduino offline package

ESP32-S3-LCD-1.47 required development board installation instructions

اسم اللوحة
esp32 by Espressif Systems

Board installation requirement
“Install Offline” / “Install Online”

Version number requirement
≥3.0.2

تثبيت المكتبات

  • When installing Arduino libraries, there are usually two ways to choose from: Install online and Install offline. If the library installation requires offline installation, you must use the provided library file
    For most libraries, users can easily search and install them through the online library manager of the Arduino software. However, some open-source libraries or custom libraries are not synchronized to the Arduino Library Manager, so they cannot be acquired through online searches. In this case, users can only manually install these libraries offline.
  • For library installation tutorial, please refer to Arduino library manager tutorial
  • ESP32-S3-LCD-1.47 library file is stored in the sample program, click here to jump: ESP32-S3-LCD-1.47 Demo

ESP32-S3-LCD-1.47 library installation description

Banggood-ESP32-Development-Board-01

For more learning and use of LVGL, please refer to LVGL official documentation

Run the First Arduino Demo
If you are just getting started with ESP32 and Arduino, and you don’t know how to create, compile, flash, and run Arduino ESP32 programs, then please expand and take a look. Hope it can help you!

العروض التوضيحية

Banggood-ESP32-Development-Board- (3)

ESP32-S3-LCD-1.47 demos

Banggood-ESP32-Development-Board-03

Arduino project parameter settings

Banggood-ESP32-Development-Board- (4)

LVGL_Arduino

اتصال الأجهزة

  • Connect the development board to the computer

Code analysis

  1. يثبت()
    • Flash_test(): Test and print the flash memory size information of the device
    • SD_Init(): Initialize the TF card
    • LCD_Init(): Initialize the display
    • Set_Backlight(90): Set the backlight brightness to 90
    • Lvgl_Init(): Initialize the LVGL graphics library
    • Lvgl_Example1(): Calls the specific LVGL exampلو وظيفة
    • Wireless_Test2(): Call the test function for wireless communication
  2. حلقة()
    • Timer_Loop(): Functions that handle timer-related tasks
    • RGB_Lamp_Loop(2): Update the RGB light color at regular intervals

Result demonstration

شاشة عرض LCD

For more learning and use of LVGL, please refer to LVGL official documentation

LCD_Image

TF card preparation

  • Add the image examples provided by Waveshare into the TF card

Banggood-ESP32-Development-Board- (6) Banggood-ESP32-Development-Board- (7)

اتصال الأجهزة

  • Insert the TF card containing example images into the device
  •  Connect the development board to the computer

Code analysis

  1. يثبت()
    • Flash_test(): Test and print the flash memory size information of the device
    • SD_Init(): Initialize the TF card
    • LCD_Init(): Initialize the display
    • Set_Backlight(90): Set the backlight brightness to 90
  2. حلقة()
    • Image_Next_Loop(“/”, “.png”, 300): Display PNG files in the TF card root directory in sequence at regular time intervals
    • RGB_Lamp_Loop(2): Update the RGB light color at regular intervals

Result demonstration

  • The LCD displays PNG files in the root directory of the TF card in sequence at regular intervals

Banggood-ESP32-Development-Board- (8)

Working with ESP-IDF

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.

Banggood-ESP32-Development-Board- (9)

بيئة الإعداد

Download and install Visual Studio
Open the download page of VScode official website, choose the corresponding system and system bit to download

Banggood-ESP32-Development-Board- (10)

After running the installation package, the rest can be installed by default, but here for the subsequent experience, it is recommended to check boxes 1, 2, and 3

Banggood-ESP32-Development-Board- (11)

  • After the first two items are enabled, you can open VSCode directly by right-clicking files or directories, which can improve the subsequent user experience.
  • After the third item is enabled, you can select VSCode directly when you choose how to open it.

The environment setup is carried out on the Windows 10 system, Linux and Mac users can access ESP-IDF environment setup for reference

Install Espressif IDF Plugin

  • It is generally recommended to use Install Online. If online installation fails due to network factor, use Install Offline
  • For more information about how to install the Espressif IDF plugin, see Install Espressif IDF Plugin

Run the First ESP-IDF Demo

If you are just getting started with ESP32 and ESP-IDF, and you don’t know how to create, compile, flash, and run ESP-IDF ESP32 programs, then please expand and take a look. Hope it can help you!

العروض التوضيحية

Banggood-ESP32-Development-Board- (12)

ESP32-S3-LCD-1.47 demos

Banggood-ESP32-Development-Board-04

ESP32-S3-LCD-1.47-Test

اتصال الأجهزة

  • Connect the development board to the computer

Code analysis

  1. يثبت()
    • Wireless_Init(): Initialize the wireless communication module
    • Flash_Searching(): Test and print the flash memory size information of the device
    • RGB_Init(): Initialize RGB-related functions
    • RGB_Example(): Display example functions of RGB
    • SD_Init(): Initialize the TF card
    • LCD_Init(): Initialize the display
    • BK_Light(50): Set the backlight brightness to 50
    • LVGL_Init(): Initialize the LVGL graphics library
    • Lvgl_Example1(): Calls the specific LVGL exampلو وظيفة
  2. بينما(1)
    • vTaskDelay(pdMS_TO_TICKS(10)): Short delay, every 10 milliseconds
    • lv_timer_handler(): Timer handling function for LVGL, used to handle events and animations related to time

Result demonstration

LCD displays onboard parameters:

Banggood-ESP32-Development-Board- (13)

Flash Firmware Flashing and Erasing

The current demo provides test firmware, which can be used to test whether the
onboard device functions properly by directly flashing the test firmware

  •  سلة المهملات file طريق:

..\ESP32-SS-LCD-1.47-Demo\Firmware

Flash firmware flashing and erasing للرجوع اليها

موارد

مخطط تخطيطي

العرض التوضيحي

بيانات المنتج

أدوات البرمجيات

أردوينو

VScode

Flash Download Tool

Other resource links

التعليمات

After the module downloads the demo and re-downloads it,whysometimes it can't connect to the serial port or the flashing fails?

Long press the BOOT button, press RESET at the same time, then release RESET, thenrelease the BOOT button, at this time the module can enter the download mode, whichcan solve most of the problems that can not be downloaded.

Why does the module keep resetting and flicker when viewed the recognition status from the device manager?

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.

How to deal with the first compilation of the program being extremely slow?

It's normal for the first compilation to be slow, just be patient.

How to handle the display waiting for download on the serial port after successfully ESP-IDF flashing?

If there is a reset button on the development board, press the reset button; if there is no reset button, please power it on again

What should I do if I can't find the App Data folder?

Some AppData folders are hidden by default and can be set to show. English system Explorer->View->Check Hidden items Chinese system File Explorer -> View -> Display -> Check Hidden Items

How do I check the COM port I use?

نظام ويندوز View through Device Manage 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 COMports. Check hardware connections If you have already connected external devices to the COM port, the device usually occupies a port number, which can be determinedby checking the connected hardware.

المستندات / الموارد

Banggood ESP32 Development Board [بي دي اف] تعليمات
1.47, ESP32 Development Board, ESP32, Development Board

مراجع

اترك تعليقا

لن يتم نشر عنوان بريدك الإلكتروني. تم وضع علامة على الحقول المطلوبة *