Banggood-logo

Banggood ESP32 Poari Whakawhanake

Banggood-ESP32-Development-Board-product

Whakatakotoranga

  • Ingoa Hua: ESP32-S3-LCD-1.47
  • Utauta Whakawhanaketanga: Arduino IDE, ESP-IDF

Nga Tohutohu Whakamahi

ESP32-S3-LCD-1.47 i tenei wa e rua nga taputapu whanaketanga me nga anga, Arduino IDE me ESP-IDF, e whakarato ana i nga waahanga whanaketanga ngawari, ka taea e koe te whiriwhiri i te taputapu whanaketanga tika kia rite ki o hiahia kaupapa me o tikanga whaiaro.

Nga taputapu whanaketanga

Arduino IDE
Ko te Arduino IDE he papaaa tauira hiko hiko, he watea me te ngawari, he ngawari ki te tiimata. I muri i te ako ngawari, ka taea e koe te timata ki te whakawhanake tere. I te wa ano, he hapori kaiwhakamahi nui a Arduino, e whakarato ana i te maha o nga waehere puna tuwhera, kaupapa exampnga akoranga me nga akoranga, tae atu ki nga rawa taonga o te wharepukapuka, e whakakao ana i nga mahi uaua, e taea ai e nga kaihanga te whakatinana tere i nga momo mahi.

ESP-IDF
Ko te ESP-IDF, ko te ingoa katoa Espressif IDE, he anga whanaketanga ngaio i whakauruhia e Espressif Technology mo nga maramara raupapa ESP. Ka whakawhanakehia ma te whakamahi i te reo C, tae atu ki te whakahiato, te patuiro, me nga taputapu uira, me etahi atu, ka taea te whakawhanake ma nga raina whakahau, ma te taiao whanaketanga whakauru ranei (penei i te Visual Studio Code me te mono Espressif IDF). Ko te mono e tuku ana i nga ahuatanga penei i te whakatere waehere, te whakahaere kaupapa, me te patuiro.

Ko ia o enei huarahi whanaketanga e rua kei a ia ake anotages, a ka taea e nga kaiwhakawhanake te whiriwhiri i runga i o raatau hiahia me o raatau pukenga. He pai a Arduino mo te hunga timata me te hunga kore-ngaio na te mea he ngawari ki te ako me te tere ki te timata. He pai ake te whiriwhiri a ESP-IDF mo nga kaiwhakawhanake he papamuri ngaio me nga whakaritenga mahi teitei, na te mea e whakarato ana i nga taputapu whanaketanga matatau me nga mana whakahaere nui ake mo te whakawhanaketanga o nga kaupapa uaua.
I mua i te mahi, ka tūtohu kia tirotirohia te ripanga ihirangi kia mohio wawe ai koe ki te hanganga tuhinga. Mo te mahi maeneene, panuihia te FAQ kia mohio ai koe ki nga raru ka taea i mua. Ko nga rauemi katoa kei roto i te tuhinga ka whakawhiwhia ki nga honongaitua kia ngawari te tango.

Mahi tahi me Arduino

Ko tenei upoko e whakaatu ana i te whakatuu i te taiao Arduino, tae atu ki te Arduino IDE, te whakahaere i nga papa ESP32, te whakaurunga o nga whare pukapuka e pa ana, te whakahiato me te tango i nga kaupapa, me nga whakaaturanga whakamatautau. Ko te whai ki te awhina i nga kaiwhakamahi ki te whakahaere i te poari whanaketanga me te whakahaere i te whanaketanga tuarua.

Banggood-ESP32-Development-Board- (1)

Te whakatuu taiao

Tikiake me te whakauru i te Arduino IDE

  • Paatohia kia toro atu ki te rangatira webpae, tohua te punaha me te moka punaha hei tango.
  • Banggood-ESP32-Development-Board- (2) Whakahaerehia te kaiwhakahaere me te whakauru katoa ma te taunoa.

Tāutahia te poari whanaketanga ESP32

  • Hei whakamahi i te papahoahoa e pa ana ki te ESP32 i roto i te Arduino IDE, me whakauru te kete rorohiko o te esp32 na Espressif Systems poari.
  • E ai ki nga whakaritenga whakaurunga a te Poari, ko te nuinga o te wa e taunaki ana kia whakamahia te whakauru i runga ipurangi. Ki te rahua te whakaurunga ipurangi, whakamahia te Tāuta Tuimotu
  • Ko te esp32 na te poari whanaketanga Espressif Systems ka tae mai me te kete tuimotu. Paatohia a konei ki te tango: esp32_package_3.0.2_arduino kete tuimotu

ESP32-S3-LCD-1.47 e hiahiatia ana nga tohutohu whakaurunga poari whanaketanga

Ingoa poari
esp32 na Espressif Systems

Te whakaritenga mo te whakaurunga o te poari
“Tāuta Tuimotu” / “Tāuta Tuihono”

Whakaritenga tau putanga
≥3.0.2

Tāutahia ngā whare pukapuka

  • I te wa e whakauru ana i nga whare pukapuka Arduino, e rua nga huarahi hei whiriwhiri mai: Whakauruhia ki runga ipurangi me te Tāuta tuimotu. Mena ka hiahia te whakaurunga whare pukapuka ki te whakauru tuimotu, me whakamahi koe i te whare pukapuka kua whakaratohia file
    Mo te nuinga o nga whare pukapuka, ka taea e nga kaiwhakamahi te rapu me te whakauru ma te kaiwhakahaere whare pukapuka ipurangi o te rorohiko Arduino. Heoi ano, ko etahi o nga whare pukapuka puna tuwhera, whare pukapuka ritenga ranei kaore i te tukutahi ki te Kaiwhakahaere Whare Pukapuka Arduino, na reira kaore e taea te tiki mai ma nga rapunga ipurangi. I tenei take, ka taea e nga kaiwhakamahi te whakauru a-ringa i enei whare pukapuka tuimotu.
  • For library installation tutorial, please refer to Arduino library manager tutorial
  • ESP32-S3-LCD-1.47 library file kei te rongoa i roto i te sample program, click here to jump: ESP32-S3-LCD-1.47 Demo

ESP32-S3-LCD-1.47 whakaahuatanga whakaurunga whare pukapuka

Banggood-ESP32-Development-Board-01

Mo etahi atu ako me te whakamahi i te LVGL, tirohia nga tuhinga whai mana a LVGL

Whakahaerehia te Demo Arduino Tuatahi
Mena kei te timata koe ki te ESP32 me te Arduino, a kaore koe e mohio ki te hanga, ki te whakahiato, ki te uira, ki te whakahaere i nga kaupapa Arduino ESP32, tena koa whakawhānuihia me te titiro. Ko te tumanako ka awhina koe!

Whakaaturanga

Banggood-ESP32-Development-Board- (3)

ESP32-S3-LCD-1.47 whakaaturanga

Banggood-ESP32-Development-Board-03

Tautuhinga tawhā kaupapa Arduino

Banggood-ESP32-Development-Board- (4)

LVGL_Arduino

Hononga taputapu

  • Honoa te papa whanaketanga ki te rorohiko

Te tātari waehere

  1. tatūnga()
    • 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(): Karangatia te LVGL motuhakeampte mahi
    • Wireless_Test2(): Call the test function for wireless communication
  2. koropiko()
    • Timer_Loop(): Functions that handle timer-related tasks
    • RGB_Lamp_Loop(2): Whakahoutia te tae marama RGB i ia wa

Whakaaturanga hua

Whakaaturanga LCD mata

Mo etahi atu ako me te whakamahi i te LVGL, tirohia nga tuhinga whai mana a LVGL

LCD_Whakaahua

TF card preparation

  • Tāpirihia te whakaahua exampka tukuna e Waveshare ki te kaari TF

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

Hononga taputapu

  • Kōkuhu te kāri TF kei roto example images into the device
  •  Honoa te papa whanaketanga ki te rorohiko

Te tātari waehere

  1. tatūnga()
    • 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. koropiko()
    • Image_Next_Loop(“/”, “.png”, 300): Whakaatu PNG files i roto i te whaiaronga pakiaka kāri TF i roto i te raupapa i te wā wā
    • RGB_Lamp_Loop(2): Whakahoutia te tae marama RGB i ia wa

Whakaaturanga hua

  • Ko te LCD e whakaatu ana i te PNG files i roto i te whaiaronga pakiaka o te kaari TF i roto i te raupapa i nga wa auau

Banggood-ESP32-Development-Board- (8)

Mahi tahi me ESP-IDF

Ko tenei upoko e whakaatu ana i te whakatakotoranga i te tatūnga taiao ESP-IDF, tae atu ki te whakaurunga o Visual Studio me te mono Espressif IDF, te whakahiato papatono, te tango, me te whakamatautau o mua.ampnga kaupapa, hei awhina i nga kaiwhakamahi ki te whakahaere i te poari whanaketanga me te whakahaere i te whanaketanga tuarua.

Banggood-ESP32-Development-Board- (9)

Te whakatuu taiao

Tikiake me te tāuta Visual Studio
Whakatuwheratia te wharangi tango o te mana VScode webpae, whiriwhiria te punaha me te moka punaha hei tango

Banggood-ESP32-Development-Board- (10)

I muri i te whakahaere i te kete whakaurunga, ka taea te whakauru i te toenga ma te taunoa, engari i konei mo te wheako o muri mai, ka tūtohu kia tirohia nga pouaka 1, 2, me te 3

Banggood-ESP32-Development-Board- (11)

  • After the first two items are enabled, you can open VSCode directly by right-clicking files ranei whaiaronga, e taea te whakapai ake i te wheako kaiwhakamahi muri.
  • After the third item is enabled, you can select VSCode directly when you choose how to open it.

Ka whakahaerehia te tatūnga taiao i runga i te punaha Windows 10, ka taea e nga kaiwhakamahi Linux me Mac te uru ki te tatūnga taiao ESP-IDF hei tohutoro.

Tāutahia te monomai Espressif IDF

  • E taunaki ana kia whakamahi i te Tāuta Online. Ki te rahua te whakaurunga ipurangi na te take whatunga, whakamahia te Tāuta Tuimotu
  • Mo etahi atu korero mo te whakauru i te mono Espressif IDF, tirohia te Whakauru i te Espressif IDF monomai

Whakahaerehia te Whakaaturanga ESP-IDF Tuatahi

Mena kei te timata koe ki te ESP32 me te ESP-IDF, a kare koe e mohio ki te hanga, ki te whakahiato, ki te uira, ki te whakahaere i nga kaupapa ESP-IDF ESP32, tena koa whakawhānuihia me te titiro. Ko te tumanako ka awhina koe!

Whakaaturanga

Banggood-ESP32-Development-Board- (12)

ESP32-S3-LCD-1.47 whakaaturanga

Banggood-ESP32-Development-Board-04

ESP32-S3-LCD-1.47-Whakamatau

Hononga taputapu

  • Honoa te papa whanaketanga ki te rorohiko

Te tātari waehere

  1. tatūnga()
    • 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(): Whakaatu 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(): Karangatia te LVGL motuhakeampte mahi
  2. ia(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

Whakaaturanga hua

Ka whakaatu te LCD i nga tawhā o runga:

Banggood-ESP32-Development-Board- (13)

Flash Firmware Kohiko me te Mukua

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

  •  bin file ara:

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

Flash firmware flashing and erasing hei tohutoro

Rauemi

Te hoahoa hoahoa

Whakaaturanga

Rauraraunga

Taputapu rorohiko

Arduino

VScode

Utauta Tikiake Flash

Ētahi atu hononga rauemi

FAQ

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 te mana tohu mai i te kaiwhakahaere taputapu?

Ko te mea pea na te Flash patea me te tauranga USB kaore i te pumau, ka taea e koe te pehi roa i te paatene BOOT, ka pehi i te RESET i te wa ano, ka tuku i te RESET, ka tuku i te paatene BOOT, i tenei wa ka taea e te kōwae te uru ki te aratau tango ki te uira te firmware (demo) ki te whakaoti i te ahuatanga.

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?

Mena he paatene tautuhi i runga i te papa whanaketanga, pehia te paatene tautuhi; mena karekau he paatene tautuhi, me whakakaha ano

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?

Pūnaha Windows 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.

Tuhinga / Rauemi

Banggood ESP32 Poari Whakawhanake [pdf] Tohutohu
1.47, ESP32 Poari Whakawhanaketanga, ESP32, Poari Whakawhanaketanga

Tohutoro

Waiho he korero

Ka kore e whakaputaina to wahitau imeera. Kua tohua nga mara e hiahiatia ana *