两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 |
developmentboard:esp32-c3mini [2023/09/02 08:48] – admin12 | developmentboard:esp32-c3mini [2023/09/02 08:52] (当前版本) – admin12 |
---|
==== Software settings ==== | ==== Software settings ==== |
| |
* 步骤1.根据您的操作系统下载并安装最新版本的Arduino IDE | * Step 1. Download and install the latest version of Arduino IDE according to your operating system |
| |
[[https://www.arduino.cc/en/software|{{https://www.nologo.tech/assets/img/arduino/other/ArduinoIDE.png?nolink&}}open in new window]] | [[https://www.arduino.cc/en/software|{{https://www.nologo.tech/assets/img/arduino/other/ArduinoIDE.png?nolink&}}open in new window]] |
| |
如果下载缓慢可以在国内Arduino社区下载[[https://arduino.me/download|ArduinoIDE下载地址open in new window]] | If the download is slow, you can download it in the domestic Arduino community[[https://arduino.me/download|ArduinoIDEDownload addressopen in new window]] |
| |
* | * |
| |
步骤 2.启动 Arduino 应用程序 | Step 2. Launch the Arduino application |
| |
* | * |
| |
步骤 3.将 ESP32 板包添加到 Arduino IDE | Step 3. Add the ESP32 board package to the Arduino IDE |
| |
导航到File > Preferences ,然后使用以下 url 填写“Additional Boards Manager URL” : | Navigate to File > Preferences and fill in the "Additional Boards Manager URL" with the following url: |
| |
[[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]] | [[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]] |
{{https://www.nologo.tech/assets/img/arduino/other/add_board.png?nolink&500x310}} | {{https://www.nologo.tech/assets/img/arduino/other/add_board.png?nolink&500x310}} |
| |
导航到Tools > Board > Boards Manager… ,在搜索框中输入关键字“ esp32 ”,选择最新版本的esp32并安装它。 | Navigate to Tools > Board > Boards Manager…, enter the keyword "esp32" in the search box, select the latest version of esp32 and install it. |
| |
{{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/add_esp32c3.png?nolink&500x310}} | {{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/add_esp32c3.png?nolink&500x310}} |
| |
导航到工具 > 开发板 > ESP32 Arduino并选择“ ESP32C3 Dev Module ”。板的列表有点长,你需要滚动到底部才能到达它。 | Navigate to Tools > Development Boards > ESP32 Arduino and select "ESP32C3 Dev Module". The list of boards is a bit long and you need to scroll to the bottom to get to it. |
| |
{{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/selectboard.png?nolink&500x310}} | {{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/selectboard.png?nolink&500x310}} |
| |
导航到“工具”>“端口”,然后选择所连接的 ESP32C3SuperMini 的串口名称。这可能是 COM3 或更高版本(COM1和COM2通常保留用于硬件串行端口)。 | Navigate to Tools > Ports and select the serial port name of the connected ESP32C3SuperMini. This is probably COM3 or higher (COM1 and COM2 are usually reserved for hardware serial ports). |
| |
==== # 闪烁的LED ==== | ==== flashing LED ==== |
| |
步骤1.将以下代码复制到Arduino IDE | Step 1. Copy the following code to Arduino IDE |
<code> | <code> |
| |
</code> | </code> |
| |
上传后,您将看到板子上的LED 闪烁,每次闪烁之间有 1 秒的延迟。 | Once uploaded, you will see the LED on the board blink with a 1 second delay between each blink. |
| |
===== # Micropython ===== | ===== Micropython ===== |
| |
| |