差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
developmentboard:esp32-c3-1.28-lcd [2024/04/11 07:17] admin12developmentboard:esp32-c3-1.28-lcd [2024/04/11 11:43] (当前版本) admin12
行 1: 行 1:
-====== ESP32-C3-1U-1.28inch Screen ======+====== ESP32-C3-1U-1.28 inch screen ======
  
 +**Welcome to the QSZNTEC Workshop! **
 +===== Table of contents =====
  
-Welcome to the QSZNTEC Workshop! +=== 一、Introduction ===
  
-**Table of contents**+===   ===
  
-Introduction+=== 二Installing using Arduino IDE ===
  
-二、Installing using Arduino IDE+===   ===
  
-三、sample program usage+=== 三、sample program usage ===
  
-**__ Getting Started__**+===   ===
  
-**Introduction**+===== Getting Started =====
  
-The objective of this post is to explain how to upload an Arduino program to the ESP32-C3 +===== Introduction ===== 
-module, from QSZNTEC .+ 
 +The objective of this post is to explain how to upload an Arduino program to the ESP32-C3 module, from QSZNTEC .
  
 The ESP32-C3-MINI-1U WiFi and Bluetooth chip is the latest generation of Espressif products. It has a The ESP32-C3-MINI-1U WiFi and Bluetooth chip is the latest generation of Espressif products. It has a
行 23: 行 26:
 Single Core 32-bit MCU, which Supporting IEEE 802.11b/g/n (2.4 GHz WiFi) and Bluetooth® 5 (LE). Single Core 32-bit MCU, which Supporting IEEE 802.11b/g/n (2.4 GHz WiFi) and Bluetooth® 5 (LE).
  
- ESP32-C3-MINI-1U series of SoCs is an ultra-low-power and highly-integrated MCU-based solution+ESP32-C3-MINI-1U series of SoCs is an ultra-low-power and highly-integrated MCU-based solution
  
 that supports 2.4 GHz Wi-Fi and Bluetooth ® Low Energy (Bluetooth LE). The block diagram of that supports 2.4 GHz Wi-Fi and Bluetooth ® Low Energy (Bluetooth LE). The block diagram of
行 35: 行 38:
 flash. flash.
  
- +===== Installing using Arduino IDE =====
-**Installing using Arduino IDE**+
  
 Programming the ESP32-C3-MINI-1U Programming the ESP32-C3-MINI-1U
行 50: 行 52:
 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. Add Boards Manager Entry 2,This is the way to install Arduino-ESP32 directly from the Arduino IDE. Add Boards Manager Entry
行 56: 行 58:
 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-4.png}}
  
-{{:developmentboard:1-4.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. ===
  
-2)Click on the File menu on the top menu bar+{{:developmentboard:2-4.png}}
  
-3Click on the Preferences menu item. This will open a Preferences dialog box.+=== 4You should be on the Settings tab in the Preferences dialog box by default===
  
-{{:developmentboard:2-4.png|}}+=== (5)Look for the textbox labeled “Additional Boards Manager URLs”===
  
 +=== (6)If there is already text in this box add a coma at the end of it, then follow the next step. ===
  
-4You should be on the Settings tab in the Preferences dialog box by default. +=== 7Paste the following link into the text box : ===
-  +
-(5)Look for the textbox labeled “Additional Boards Manager URLs”. +
  
-(6)If there is already text in this box add a coma at the end of it, then follow the next step+Stable 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]]
  
-(7)Paste the following link into the text box :+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]]
  
-Stable release link: +=== (8)Click the OK button to save the setting. The textbox with the JSON link in it is illustrated here===
-https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json+
  
-Development release link: +{{:developmentboard:3-4.png}}
-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:+=== (9) In the Arduino IDE click on the Tools menu on the top menu bar. ===
  
-{{:developmentboard:3-4.png|}}+=== (10) Scroll down to the Boardentry ===
  
-(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-4.png}}
  
-(13)I n the search box in the Boards Manager enter “esp32”.+=== (14You should see an entry for “esp32 by Espressif Systems”. Highlight this entry and click on the ===
  
-{{:developmentboard:4-4.png|}} +=== Install button. This will install the ESP32 boards into your Arduino IDE ===
- +
-(14) You should see an entry for “esp32 by Espressif Systems”. Highlight this entry and click on the +
- +
-Install button. This will install the ESP32 boards into your Arduino IDE +
- +
- +
-{{:developmentboard:4-5.png|}}+
  
 +{{:developmentboard:4-5.png}}
  
 Once the installation completes, we need to select the correct board options for the "ESP32 Arduino" board. In the board type, in the tools tab, we choose “ESP32C3 Dev Module”. Once the installation completes, we need to select the correct board options for the "ESP32 Arduino" board. In the board type, in the tools tab, we choose “ESP32C3 Dev Module”.
  
-{{:developmentboard:4-6.png|}}+{{:developmentboard:4-6.png}}
  
-{{:developmentboard:4-7.png|}}+{{:developmentboard:4-7.png}}
  
 Set and In the programmer entry of the same tab, we choose “esptool”. Set and In the programmer entry of the same tab, we choose “esptool”.
  
-{{:developmentboard:4-8.png|}}+{{:developmentboard:4-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
行 123: 行 118:
 guarantee that it enters flashing mode again. guarantee that it enters flashing mode again.
  
-First program +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.
行 130: 行 124:
 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.
  
-void setup() {+** <font 16px/inherit;;inherit;;inherit>void setup() {</font>  **
  
-Serial.begin(115200);+** <font 16px/inherit;;inherit;;inherit>Serial.begin(115200);</font>  **
  
-}+** <font 16px/inherit;;inherit;;inherit>}</font>  **
  
-void loop() {+** <font 16px/inherit;;inherit;;inherit>void loop() {</font>  **
  
-Serial.println("hello from ESP32");+** <font 16px/inherit;;inherit;;inherit>Serial.println("hello from ESP32");</font>  **
  
-delay(1000);+** <font 16px/inherit;;inherit;;inherit>delay(1000);</font>  **
  
-} +** <font 16px/inherit;;inherit;;inherit>}</font>  **
- +
- +
-{{:developmentboard:4-9.png|}}+
  
 +{{:developmentboard:4-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
行 157: 行 148:
 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:4-10.png|}} +{{:developmentboard:4-10.png}}
  
 The examples in the red circle are all based on the LovyanGFX library as the basic application. This The examples in the red circle are all based on the LovyanGFX library as the basic application. This
行 168: 行 158:
 Open the library manager in Arduino, search for LovyanGFX, and click instal . Open the library manager in Arduino, search for LovyanGFX, and click instal .
  
-{{:developmentboard:4-11.png|}} +{{:developmentboard:4-11.png}}
- +
-{{:developmentboard:4-12.png|}}+
  
 +{{:developmentboard:4-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
行 177: 行 166:
 ordinary users, that is, after the installation ordinary users, that is, after the installation
  
-**About the use of Factory_samples**+==== About the use of Factory_samples ====
  
 Find the data center 1_1_Factory_samples Find the data center 1_1_Factory_samples
行 183: 行 172:
 As shown: As shown:
  
-{{:developmentboard:4-13.png|}}+{{:developmentboard:4-13.png}}
  
 Download library files . Download library files .
行 189: 行 178:
 LovyanGFX library LovyanGFX library
  
- +{{:developmentboard:4-14.png}}
-{{:developmentboard:4-14.png|}} +
  
 After compiling, you can run 1_1_Factory_samples normally. After compiling, you can run 1_1_Factory_samples normally.
- 
- 
- 
- 
  
 DOC&SCH&Software DOC&SCH&Software
  • developmentboard/esp32-c3-1.28-lcd.1712819855.txt.gz
  • 最后更改: 2024/04/11 07:17
  • admin12