两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 |
developmentboard:esp32-c3mini [2023/09/02 08:33] – admin12 | developmentboard:esp32-c3mini [2023/09/02 08:52] (当前版本) – admin12 |
---|
==== Pin diagram ==== | ==== Pin diagram ==== |
| |
{{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/esp32c3foot1.png?nolink&|Ardunino ESP32C3 Dev Module 引脚映射}}Ardunino ESP32C3 Dev Module 引脚映射 | {{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/esp32c3foot1.png?nolink&|Ardunino ESP32C3 Dev Module 引脚映射}}Ardunino ESP32C3 Dev Module Pin Mapping |
| |
==== # 尺寸图 ==== | ==== size drawing ==== |
| |
{{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/dimension.png?nolink&|尺寸图}}尺寸图 | {{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/dimension.png?nolink&|尺寸图}}Dimensions |
| |
==== # 原理图 ==== | ==== Schematic ==== |
| |
{{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/esp32c3schematicdiagram.png?nolink&|原理图}}原理图 | {{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/esp32c3schematicdiagram.png?nolink&|原理图}}schematic diagram |
| |
===== # 外接电源 ===== | ===== external power supply ===== |
| |
如果需要外部供电只需将外部电源+级接入5V的位置,GND接负极。(支持3.3~6V电源)。切记连接外部电源的时候,无法接入USB,USB和外部供电只能选择一个。 | If external power supply is required, just connect the + stage of the external power supply to the 5V position and GND to the negative pole. (support 3.3 ~ 6V power supply). Remember that when connecting to an external power supply, USB cannot be connected, and you can only choose between USB and external power supply. |
| |
注意 | Notice |
| |
焊接时请注意不要使正负极短路,烧坏电池和设备。 | When welding, please be careful not to short-circuit the positive and negative poles, which may burn the battery and equipment. |
| |
===== # WIFI天线 ===== | ===== WIFIANTENNA ===== |
| |
如果想使用外置天线,可以按照一下图片外接外置天线。 | If you want to use an external antenna, you can connect an external antenna according to the picture below. |
| |
{{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/esp32c31.png?nolink&}} | {{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/esp32c31.png?nolink&}} |
| |
===== # 入门 ===== | ===== getting Started ===== |
| |
==== # 硬件设置 ==== | ==== Hardware settings ==== |
| |
您需要准备以下内容: | You need to prepare the following: |
| |
* | * |
| |
1 个ESP32C3SuperMini | 1 ESP32C3SuperMini |
| |
* | * |
| |
1 台电脑 | 1 computer |
| |
* | * |
| |
1 根 USB Type-C数据线 | 1 x USB Type-C data cable |
| |
提示 | hint |
| |
有些USB线只能供电,不能传输数据。如果您没有 USB 线或者不知道您的 USB 线是否可以传输数据,可以购买[[https://item.taobao.com/item.htm?spm=a1z10.3-c-s.w4002-24438210134.9.24866ea30WLxAl&id=679700862802|Type-c数据线open in new window]] | Some USB cables can only provide power and cannot transfer data. If you don't have a USB cable or don't know if your USB cable can transfer data, you can buy a Type-c cableopen in new window |
| |
* 步骤 1.通过USB Type-C数据线将ESP32C3SuperMini连接到计算机 | * Step 1. Connect ESP32C3SuperMini to computer via USB Type-C data cable |
| |
{{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/usbconnect.png?nolink&300x400}} | {{https://www.nologo.tech/assets/img/esp32/esp32c3supermini/usbconnect.png?nolink&300x400}} |
| |
==== # 软件设置 ==== | ==== 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 ===== |
| |
| |