更新core的上手指南 win en
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 70 KiB |
@@ -1,4 +1,4 @@
|
||||
# M5Core Quick Start(macOS, Arudino) {docsify-ignore-all}
|
||||
# M5Core Quick Start On Arduino IDE {docsify-ignore-all}
|
||||
|
||||
:clapper: **[Video Tutorial](#Video-Tutorial)** :memo: **[Text Tutorial](#Text-Tutorial)**
|
||||
|
||||
|
||||
@@ -1,75 +1,128 @@
|
||||
# M5Core Quick Start(Windows, Arudino) {docsify-ignore-all}
|
||||
# M5Core Quick Start {docsify-ignore-all}
|
||||
|
||||
?> We suggest you confirm whether the `USB driver`, `Git` and `Arduino IDE` has installed first. If not, please view this two articles [establish serial connection](/en/related_documents/establish_serial_connection) and [Install Git and Arduino IDE](/en/related_documents/how_to_install_git_and_arduino).
|
||||
<!-- ?> We suggest you confirm whether the `USB driver`, `Git` and `Arduino IDE` has installed first. If not, please view this two articles [establish serial connection](/en/related_documents/establish_serial_connection) and [Install Git and Arduino IDE](/en/related_documents/how_to_install_git_and_arduino). -->
|
||||
|
||||
## CONTENT
|
||||
## Table of Contents
|
||||
|
||||
1. [Setting Environment](#setting-environment)
|
||||
**[1. Install Arduino IDE](#_1-安装-Arduino-IDE)**
|
||||
|
||||
- [Step1. Download Arduino-ESP32 Support](#step1-download-arduino-esp32-support)
|
||||
**[2. Install USB to Serial Driver](#_2-Install-USB-to-Serial-Driver)**
|
||||
|
||||
- [Step2. Download the M5Stack Lib](#step2-download-the-m5stack-lib)
|
||||
**[3. Install ESP32 Boards Manager](#_3-Install-ESP32-Boards-Manager)**
|
||||
|
||||
2. [Example](#example)
|
||||
**[4. Install M5Stack Library](#_4-Install-M5Stack-Library)**
|
||||
|
||||
## 1. Setting Environment
|
||||
**[5. Example](#_5-Example)**
|
||||
|
||||
*(Only two steps to complete setting)*
|
||||
### 1. Install Arduino IDE
|
||||
|
||||
### Step1. Download Arduino-ESP32 Support
|
||||
<!-- *注意:如果已经安装了 IDE,请直接从[步骤 2](#_2-安装串口驱动) 开始。* -->
|
||||
|
||||
Open Arduino IDE, and click `File`->`Peferences`->`Settings`
|
||||
Open your browser, enter the official website of Arduino https://www.arduino.cc/en/Main/Software
|
||||
|
||||
#### (1) click `Windows ZIP file for non admin install` for downloading `Arduino IDE`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/arduino_cc_package.png">
|
||||
|
||||
#### (2) click `JUST DOWNLOAD`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/arduino_cc_package_02.png">
|
||||
|
||||
#### (3) To install IDE, double click Arduino executable file. Keep the default selection throughout this process, including the installation path is also the default.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/select_arduino_install_path.png">
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/install_arduino_2.png">
|
||||
|
||||
### 2. Install USB to Serial Driver
|
||||
|
||||
Open your browser, enter the official website of M5Stack https://www.arduino.cc/en/Main/Software
|
||||
|
||||
#### (1) click `Windows` for downloading this installation package and then unzip this package.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/download_usb_driver_win_01.png">
|
||||
|
||||
#### (2) According to your Windows operating system type, select the corresponding driver installation package
|
||||
|
||||
* 32-bit Windows operating system, choose `CP210xVCPInstaller_x86_vx.x.x.x.exe`
|
||||
|
||||
* 64-bit Windows operating system, choose `CP210xVCPInstaller_x64_vx.x.x.x.exe`
|
||||
|
||||
<img src="assets/img/getting_started_pics/establish_serial_connection/windows_install_usb_driver01.png">
|
||||
|
||||
#### (3) double click the executable file for installing.
|
||||
|
||||
<img src="assets/img/getting_started_pics/establish_serial_connection/windows_install_usb_driver02.png">
|
||||
|
||||
<img src="assets/img/getting_started_pics/establish_serial_connection/windows_install_usb_driver03.png">
|
||||
|
||||
#### (4) Check the serial port number `COMx`
|
||||
|
||||
To comfirm if the USB to Serial Driver was successfully installed already, Check the list of identified COM ports in the `Windows Device Manager`:
|
||||
|
||||
Connect the Core to the computer via a USB Type-C cable, open `Windows Device Manager`, click `Ports(COM & LPT)` for checking the list of identified COM ports.
|
||||
|
||||
Disconnect M5Core device and connect it back, to verify which port disappears from the list and then shows back again.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/check_serial_port_01.png">
|
||||
|
||||
## 3. Install ESP32 Boards Manager
|
||||
|
||||
#### (1) Open IDE, click `File`->`Peferences`->`Settings`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_01.png">
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_02.png">
|
||||
|
||||
Input last esp32 board manager URL
|
||||
#### (2) Copy the following ESP32 Boards Manager url to `Additional Boards Manager URLs:`
|
||||
|
||||
*Now the last board manager URL: https://dl.espressif.com/dl/package_esp32_index.json*
|
||||
*ESP32 Boards Manager url: https://dl.espressif.com/dl/package_esp32_index.json*
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_03.png">
|
||||
|
||||
Click `Tools`->`Board:`->`Boards Manager...`, search `ESP32` in the new pop-up dialog, then click `install`
|
||||
#### (3) Click `Tools`->`Board:`->`Boards Manager...`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_04.png">
|
||||
|
||||
#### (4) Search `ESP32` in the new pop-up dialog, then click `Install`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_05.png">
|
||||
|
||||
### Step2. Download the M5Stack Lib
|
||||
## 4. Install M5Stack Library
|
||||
|
||||
Open Arduino IDE, then Select `Sketch`->`Include Library`->`Manage Libraries...`
|
||||
Search `M5Stack` and install it
|
||||
#### (1) Open Arduino IDE, then Select `Sketch`->`Include Library`->`Manage Libraries...`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_06.png">
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/install_m5stack_lib_01.png">
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_07.png">
|
||||
#### (2) Search `M5Stack` and install it
|
||||
|
||||
!> **Note:** *As shown below, it means you need update*
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/install_m5stack_lib_02.png">
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/update_m5stack_lib.png">
|
||||
<!-- !> **Note:** *As shown below, it means you need update*
|
||||
|
||||
## Example
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/update_m5stack_lib.png"> -->
|
||||
|
||||
This section for verifying whether you can program with Arduino or not. Now, The USB cable connects to M5Stack Core, then select your serial port which is connected M5Stack Core.
|
||||
## 5. Example
|
||||
|
||||
This section for verifying whether you can program with Arduino or not. Now, The USB cable connects to M5Core, then select your serial port which is connected M5Core.
|
||||
|
||||
Select a demo example, compile and upload
|
||||
|
||||
### 1. Execute a example likes `FactoryTest.ino`
|
||||
|
||||
Select your board name, baudrate, the specified serial port: M5Stack-Core-ESP32, 921600, COM4(Now, my serial port which is connected with PC is `COM4`)
|
||||
Select your board name, baudrate, the specified serial port: M5Stack-Core-ESP32, 921600, COM26(Now, my serial port which is connected with PC is `COM26`)
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/select_board_baudrate_serial_port.png">
|
||||
|
||||
Then select an example likes `FactoryTest.ino`
|
||||
#### (2) Then select an example likes `FactoryTest.ino`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/select_an_example.png">
|
||||
|
||||
Upload it
|
||||
#### (3) Upload it
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/arduino_upload.png">
|
||||
|
||||
### 2. New a M5Stack program
|
||||
#### (4) New a M5Stack program
|
||||
|
||||
Open Arduino IDE, then new a `.ino` file, rename it as `my_test.ino`
|
||||
|
||||
@@ -97,4 +150,4 @@ void loop() {
|
||||
|
||||
compile it and upload, the M5Stack screen will show "Hello World!" "M5Stack is running successfully!"
|
||||
|
||||
?> *If you want to upgrade the M5Stack Lib, please view this article [upgrade M5Stack Lib](/en/related_documents/upgrade_m5stack_lib).*
|
||||
<!-- ?> *If you want to upgrade the M5Stack Lib, please view this article [upgrade M5Stack Lib](/en/related_documents/upgrade_m5stack_lib).* -->
|
||||
@@ -1,4 +1,4 @@
|
||||
# Core 在 Arduino IDE 上开发的上手指南 {docsify-ignore-all}
|
||||
# M5Core 的上手指南 {docsify-ignore-all}
|
||||
|
||||
<!-- ?> 建议您先确认安装了 `USB驱动` 和 `Arduino IDE`。 如果还没的话,阅读这两篇文档[如何建立串口连接](zh_CN/related_documents/establish_serial_connection)和[安装 Arduino IDE](zh_CN/related_documents/how_to_install_git_and_arduino)。 -->
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
### 1. 安装 Arduino IDE
|
||||
|
||||
*注意:如果已经安装了 IDE,请直接从[步骤 2](#_2-安装串口驱动) 开始。*
|
||||
<!-- *注意:如果已经安装了 IDE,请直接从[步骤 2](#_2-安装串口驱动) 开始。* -->
|
||||
|
||||
浏览器打开 Arduino 官网 https://www.arduino.cc/en/Main/Software
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
### 2. 安装串口驱动
|
||||
|
||||
*注意:如果已经安装了 CP21x 的串口驱动的话,请直接从[步骤 3](#_3-安装-ESP32-的板管理) 开始。*
|
||||
<!-- *注意:如果已经安装了 CP21x 的串口驱动的话,请直接从[步骤 3](#_3-安装-ESP32-的板管理) 开始。* -->
|
||||
|
||||
浏览器打开 M5Stack 官网 https://m5stack.com/download
|
||||
|
||||
@@ -64,11 +64,11 @@
|
||||
|
||||
将 Core 通过 USB Type-C 线连接电脑,打开 Windows 设备管理器,点击 `端口 (COM 和 LPT)` 以查看串口号。然后拔掉 USB 线,此时`端口 (COM 和 LPT)` 上消失的 COM 口就是该 Core 对应的 串口号。
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/check_serial_port_01.png">
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/check_serial_port_01_cn.png">
|
||||
|
||||
拔掉 USB 线之后,COM 口消失
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/check_serial_port_02.png">
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/check_serial_port_02_cn.png">
|
||||
|
||||
<!-- <img src="assets/img/getting_started_pics/establish_serial_connection/windows_m5stack_in_device_manager.png"> -->
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
#### (1) 打开 IDE,选择 `文件`->`首选项`->`设置`
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_01.png">
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_01_cn.png">
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/quick_start_arduino_win_02_cn.png">
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
|
||||
#### (1) 运行一个示例程序,比如 `FactoryTest.ino`
|
||||
|
||||
选择您板子的名字,波特率和串口号: M5Stack-Core-ESP32, 921600, COM4 ( 像我现在与 M5Core 相连的串口就是 `COM4`,所以我应该选择 `COM4` )
|
||||
选择您板子的名字,波特率和串口号: M5Stack-Core-ESP32, 921600, COM26 ( 像我现在与 M5Core 相连的串口就是 `COM26`,所以我应该选择 `COM26` )
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5stack_core/get_started_with_arduino_m5core/windows/select_board_baudrate_serial_port_cn.png">
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# M5Core上手指南 {docsify-ignore-all}
|
||||
# M5Core 上手指南 {docsify-ignore-all}
|
||||
|
||||
## 选择你需要的编程语言
|
||||
|
||||
*使用Arduino/C++编程的话,选择MacOS/Windows;使用Blockly/MicroPython,选择UIFlow(Blockly/MicroPython)*
|
||||
*使用 Arduino/C++ 编程的话,选择 MacOS/Windows;使用 Blockly/MicroPython,选择 UIFlow(Blockly/MicroPython)*
|
||||
|
||||
<img src="assets/img/macos-logo.png"> | <img src="assets/img/windows-logo.png"> | <img src="assets/img/uiflow-logo.png">
|
||||
---|---|---
|
||||
|
||||