差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
developmentboard:esp32-s3-7.0inch_screen [2024/04/11 06:29] admin12developmentboard:esp32-s3-7.0inch_screen [2024/04/11 11:42] (当前版本) admin12
行 1: 行 1:
-<font 20px/inherit;;inherit;;inherit>**ESP32-S3--7.0inch Screen**</font>+====== ESP32-S37.0inch Screen ======
  
-Welcome to the QSZNTEC Workshop! +**Welcome to the QSZNTEC Workshop! ** 
 +===== Table of contents =====
  
-**Table of contents**+=== 一、Introduction ===
  
-一、Introduction+===   ===
  
-二、Installing using Arduino IDE+=== 二、Installing using Arduino IDE ===
  
-三、sample program usage+===   ===
  
 +=== 三、sample program usage ===
  
 +===== Getting Started =====
  
- +===== Introduction =====
-**Getting Started** +
- +
-Introduction+
  
 TheobjectiveofthispostistoexplainhowtouploadanArduinoprogramtotheESP32-S3 module,fromQSZNTEC. TheobjectiveofthispostistoexplainhowtouploadanArduinoprogramtotheESP32-S3 module,fromQSZNTEC.
  
-TheESP32WiFiandBluetoothchipisthelatestgenerationofEspressifproducts. +TheESP32WiFiandBluetoothchipisthelatestgenerationofEspressifproducts. Ithasadual-core 32-bitMCU,whichintegratesWiFiHT40andBluetooth/BLE4.2technologyinside.
-Ithasadual-core 32-bitMCU,whichintegratesWiFiHT40andBluetooth/BLE4.2technologyinside.+
  
 ESP32-S3-wroom-1hasasignificantperformanceimprovement.Itisequippedwitha high-performancedual-coreTensilicaLX7MCU. ESP32-S3-wroom-1hasasignificantperformanceimprovement.Itisequippedwitha high-performancedual-coreTensilicaLX7MCU.
行 29: 行 28:
 Inaddition,itsupportsWi-FiHT40,ClassicBluetooth/BLE4.2,andmoreGPIOresources. Inaddition,itsupportsWi-FiHT40,ClassicBluetooth/BLE4.2,andmoreGPIOresources.
  
-**Installing using Arduino IDE**+===== Installing using Arduino IDE =====
  
 Programming the ESP32 Programming the ESP32
行 39: 行 38:
 learning curve is flattened. We will be using the Arduino IDE for our experiments. learning curve is flattened. We will be using the Arduino IDE for our experiments.
  
-1,Installing using Arduino IDE+==== 1,Installing using Arduino IDE ====
  
 we first need to install version 1.8.19 of the Arduino IDE (or greater),for example, the Arduino we first need to install version 1.8.19 of the Arduino IDE (or greater),for example, the Arduino
  
-installation was in “C/Programs(x86)/Arduino”. download release link:+installation was in “**C/Programs(x86)/Arduino**”. download release link:
  
-https://downloads.arduino.cc/arduino-1.8.19-windows.exe+[[https://downloads.arduino.cc/arduino-1.8.19-windows.exe|https://downloads.arduino.cc/arduino-1.8.19-windows.exe]]
  
-2,This is the way to install Arduino-ESP32 directly from the Arduino IDE. +2,This is the way to install Arduino-ESP32 directly from the Arduino IDE.
  
 Add Boards Manager Entry Add Boards Manager Entry
行 53: 行 52:
 Here is what you need to do to install the ESP32 boards into the Arduino IDE: Here is what you need to do to install the ESP32 boards into the Arduino IDE:
  
-  (1) Open the Arduino IDE. +=== (1) Open the Arduino IDE. ===
-   +
-{{:developmentboard:1.png|}} +
-    +
  
-(2)Click on the File menu on the top menu bar. +===   ===
  
-(3)Click on the Preferences menu item. This will open a Preferences dialog box.+{{:developmentboard:1.png}}
  
 +=== (2)Click on the File menu on the top menu bar. ===
  
-{{:developmentboard:2.png|}}+=== (3)Click on the Preferences menu itemThis will open a Preferences dialog box. ===
  
 +{{:developmentboard:2.png}}
  
 +=== (4)You should be on the Settings tab in the Preferences dialog box by default. ===
  
-4You should be on the Settings tab in the Preferences dialog box by default+=== 5Look for the textbox labeled “Additional Boards Manager URLs”===
  
-5Look for the textbox labeled “Additional Boards Manager URLs”+=== 6If there is already text in this box add a coma at the end of it, then follow the next step===
  
-6If there is already text in this box add a coma at the end of it, then follow the next step. +=== 7Paste the following link into the text box : ===
  
-(7)Paste the following link into the text box :+Stable release link: [[https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json|https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json]]
  
-Stable release link: +Development release link: [[https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json|https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json]]
-https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json+
  
-Development release link: +=== (8)Click the OK button to save the setting. ===
-https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json +
- +
- +
-(8)Click the OK button to save the setting. +
  
 The textbox with the JSON link in it is illustrated here: The textbox with the JSON link in it is illustrated here:
  
 +{{:developmentboard:3-3.png}}
  
-{{:developmentboard:3.png|}}+=== (9) In the Arduino IDE click on the Tools menu on the top menu bar===
  
 +=== (10) Scroll down to the Board: entry ===
  
-(9In the Arduino IDE click on the Tools menu on the top menu bar+=== (11A submenu will open when you highlight the Board: entry===
  
-(10Scroll down to the Board: entry+=== (12At the top of the submenu is Boards Manager. Click on it to open the Boards Manager dialog box. ===
  
-(11A submenu will open when you highlight the Board: entry+=== (13)I n the search box in the Boards Manager enter “esp32”===
  
-(12) At the top of the submenu is Boards Manager. Click on it to open the Boards Manager dialog box. +=== :developmentboard:4.png ===
-  +
-(13)I n the search box in the Boards Manager enter “esp32”.+
  
 +=== (14) You should see an entry for “esp32 by Espressif Systems”. Highlight this entry and click on the ===
  
-{{:developmentboard:4.png|}}+=== Install buttonThis will install the ESP32 boards into your Arduino IDE ===
  
 +{{:developmentboard:5.png}}
  
-(14) You should see an entry for “esp32 by Espressif Systems”. Highlight this entry and click on the+Once the installation completes, we need to select the correct board options for the "**ESP32 Arduino**" board.
  
-Install button. This will install the ESP32 boards into your Arduino IDE+In the board type, in the tools tab, we choose “**ESP32S3 Dev Module**”.
  
 +{{:developmentboard:6.png}}
  
-{{:developmentboard:5.png|}}+{{:developmentboard:7.png}}
  
 +Set and In the programmer entry of the same tab, we choose “**esptool**”.
  
-Once the installation completes, we need to select the correct board options for the "ESP32 Arduino" board.  +{{:developmentboard:8.png}}
- +
-In the board type, in the tools tab, we choose “ESP32S3 Dev Module”. +
- +
- +
-{{:developmentboard:6.png|}} +
- +
- +
-{{:developmentboard:7.png|}} +
- +
- +
-Set and In the programmer entry of the same tab, we choose “esptool”. +
- +
- +
- +
-{{:developmentboard:8.png|}}+
  
 It’s important to note that after the code is uploaded, the device will start to run it. So, if we It’s important to note that after the code is uploaded, the device will start to run it. So, if we
行 134: 行 117:
  
 guarantee that it enters flashing mode again. guarantee that it enters flashing mode again.
- + <font 14px/inherit;;inherit;;inherit>**First program**</font>
- +
-**First program**+
  
 Since this platform is based on Arduino, we can use many of the usual functions. As an example for the Since this platform is based on Arduino, we can use many of the usual functions. As an example for the
  
 first program, the code bellow starts the Serial port and prints “hello from ESP32” every second. first program, the code bellow starts the Serial port and prints “hello from ESP32” every second.
- + <font 16px/inherit;;inherit;;inherit>**void setup() {**</font> 
-void setup() { + <font 16px/inherit;;inherit;;inherit>**Serial.begin(115200);**</font> 
- + <font 16px/inherit;;inherit;;inherit>****</font> 
-Serial.begin(115200); + <font 16px/inherit;;inherit;;inherit>**void loop() {**</font> 
- + <font 16px/inherit;;inherit;;inherit>**Serial.println("hello from ESP32");**</font> 
-+ <font 16px/inherit;;inherit;;inherit>**delay(1000);**</font> 
-void loop() { + <font 16px/inherit;;inherit;;inherit>**}**</font>
- +
-Serial.println("hello from ESP32"); +
- +
-delay(1000); +
- +
-}+
  
 If everything is working fine, we will see the output in the serial console shown. If everything is working fine, we will see the output in the serial console shown.
  
-{{:developmentboard:9.png|}}+{{:developmentboard:9.png}}
  
 Again thank you for so much concern.. Hopefully, it's the beginning of a wonderful relationship! Again thank you for so much concern.. Hopefully, it's the beginning of a wonderful relationship!
  
- +===== Sample program usage =====
-**Sample program usage**+
  
 At present, only a preliminary explanation and introductory use are given to the samples displayed on At present, only a preliminary explanation and introductory use are given to the samples displayed on
行 168: 行 142:
 the screen, and the corresponding examples in the data center are found, as shown in the figure: the screen, and the corresponding examples in the data center are found, as shown in the figure:
  
-{{:developmentboard:10.png|}}+{{:developmentboard:10.png}}
  
 The examples in the red circle are all based on the Arduino_GFX library as the basic application. This The examples in the red circle are all based on the Arduino_GFX library as the basic application. This
行 178: 行 152:
 Open the library manager in Arduino, search for Arduino_GFX, and click instal . Open the library manager in Arduino, search for Arduino_GFX, and click instal .
  
-{{:developmentboard:11.png|}} +{{:developmentboard:11.png}}
- +
- +
-{{:developmentboard:12.png|}}+
  
 +{{:developmentboard:12.png}}
  
 Although the Arduino_GFX library has many advantages, it may also have a troublesome place for Although the Arduino_GFX library has many advantages, it may also have a troublesome place for
行 188: 行 160:
 ordinary users, that is, after the installation ordinary users, that is, after the installation
  
 +==== About the use of touch and LVGL ====
  
-**About the use of touch and LVGL**+Find the data center 3_3-4_TFT-LVGL-Widgets
  
-Find the data center 3_3-4_TFT-LVGL-Widgets +=== As shown: ===
-As shown:+
  
-{{:developmentboard:13.png|}}+{{:developmentboard:13.png}}
  
 Download two library files . Download two library files .
行 200: 行 172:
 One -Arduino_GFX library One -Arduino_GFX library
  
 +{{:developmentboard:14.png}}
  
-{{:developmentboard:14.png|}} +{{:developmentboard:15.png}}
- +
- +
-{{:developmentboard:15.png|}}+
  
 Copy the lv_conf.h of the data center . Copy the lv_conf.h of the data center .
  
 +=== As shown: ===
  
-**As shown:**+{{:developmentboard:16.png}}
  
-{{:developmentboard:16.png|}}+Put this file under the arduino library file, it must be in the same root directory as the library TFT_eSPI .
  
-Put this file under the arduino library file, it must be in the same root directory as the library TFT_eSPI . +=== As shown: ===
  
-As shown: +{{:developmentboard:17.png}}
- +
-{{:developmentboard:17.png|}}+
  
 Three-Lvgl demos The file is copied to the SRC folder Three-Lvgl demos The file is copied to the SRC folder
  
-As shown: +=== As shown: ===
- +
- +
-{{:developmentboard:18.png|}}+
  
 +{{:developmentboard:18.png}}
  
 After compiling, you can run LVGL and touch normally. After compiling, you can run LVGL and touch normally.
- 
- 
  
  
  • developmentboard/esp32-s3-7.0inch_screen.1712816956.txt.gz
  • 最后更改: 2024/04/11 06:29
  • admin12