mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add stickCplus
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 96 KiB |
@@ -12,7 +12,7 @@
|
||||
|
||||
| Parameter | Description |
|
||||
| --- | --- |
|
||||
| brightness | TFT backlight brightness ( 值: 7 - 15 ) |
|
||||
| brightness | TFT backlight brightness ( value: 7 - 15 ) |
|
||||
|
||||
**Example:**
|
||||
|
||||
|
||||
@@ -0,0 +1,159 @@
|
||||
# ATOM FLY Kit
|
||||
<div class="badge badge-pill badge-primary product_sku_tag">SKU:</div>
|
||||
|
||||
<div class="product_pic"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch.webp"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_02.webp"></div>
|
||||
|
||||
## Description
|
||||
|
||||
**ATOM FLY** is a programmable mini quadcopter that supports ATOM, suitable for flying in indoor. The rack adopts the integrated design of PCB, and directly fixes the motor on the PCB to minimize the take-off weight. The arm adopts X-shaped layout for more flexible control. The fuselage is equipped with a barometer, three-axis accelerometer and gyroscope (IMU)for height setting and attitude maintenance. At the same time, it is equipped with ToF for automatic landing and obstacle avoidance. There is an LED power indicator on the head, and the whole machine is powered by an external 200mAh lithium battery. (There is no firmware program at the factory, users need to write their own programs to control)
|
||||
|
||||
## Product Features
|
||||
|
||||
- Adapt to ATOM Matrix/ATOM Lite
|
||||
- Support WiFi, Bluetooth remote control, programmable
|
||||
- Built-in barometer, accelerometer, gyroscope, ToF
|
||||
- Small and compact body
|
||||
|
||||
## Include
|
||||
|
||||
- 1x ATOM FLY frame
|
||||
- 1x ATOM Lite
|
||||
- 1x Battery charge
|
||||
- 1x 200mAh battery
|
||||
- 2x CW propeller
|
||||
- 2x CCW propeller
|
||||
|
||||
## Applications
|
||||
|
||||
- Remote control drone
|
||||
|
||||
## Specification
|
||||
|
||||
<table class="table-1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Specification</th>
|
||||
<th>Parameter</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>ToF</td>
|
||||
<td>VL53L0x</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IMU</td>
|
||||
<td>MPU6886</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Barometer</td>
|
||||
<td>BMP280</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Power Battery</td>
|
||||
<td>200mAh/1S/25C/JST </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Propeller Diameter</td>
|
||||
<td>2 inch</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>DC Motor Load Speed</td>
|
||||
<td>31000±10%RPM</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>DC Motor Stall Current</td>
|
||||
<td>4A Max.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>net weight</td>
|
||||
<td>g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gross weight</td>
|
||||
<td>g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Product Size</td>
|
||||
<td>70*70*30mm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Package Size</td>
|
||||
<td>mm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Case material</td>
|
||||
<td>PCB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## USAGE
|
||||
|
||||
All hardware functions of the AtomFLY Kit are tested before leaving the factory. Atom Lite does not have any built-in firmware. The programs provided below only provide basic function tests. You need to program yourself to achieve the purpose of remote control flight. Please pay attention to safety during the test and keep your body away from the propeller to prevent accidents. Lithium battery is charged using the supplied charging cable, and the battery charging status is observed through the indicator lights. Red led means charging, and green led means charging is completed. Do not continue to charge for a long time after the battery is full to prevent the battery from heating and cause hidden dangers.
|
||||
|
||||
|
||||
## EasyLoader
|
||||
|
||||
>EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/ATOM_BASE/EasyLoader_QRCODE_ATOM_BASE.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/ATOM_BASE/EasyLoader_QRCODE_ATOM_BASE.dmg">MacOS</a>
|
||||
<!-- <a>Linux</a>
|
||||
<a>MacOS</a> -->
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/AtomBase/Atomic_QR.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>Description:</p>
|
||||
<p>Press the Atom button, the propeller rotates in turn, and the serial monitor outputs the IMU status</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## Related Link
|
||||
|
||||
- **Datasheet**
|
||||
- [MPU6886](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/MPU-6886-000193%2Bv1.1_GHIC_en.pdf)
|
||||
- [BMP280](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/BMP280-DS001-11_en.pdf)
|
||||
- [VL53L0X](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/VL53L0X_en.pdf)
|
||||
- [DC Moter C.W](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomFLY/Motor_716-37A-14.pdf)
|
||||
- [DC Moter CCW](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomFLY/Motor_716-37B-14.pdf)
|
||||
|
||||
### Pin Map
|
||||
|
||||
<table>
|
||||
<tr><td>ATOM</td><td>G21</td><td>G25</td><td>G22</td><td>G19</td><td>G23</td><td>G33</td></tr>
|
||||
<tr><td>ATOM FLY</td><td>SCL</td><td>SDA</td><td>PWM1</td><td>PWM2</td><td>PWM3</td><td>PWM4</td></tr>
|
||||
<tr><td>MPU6886</td><td>SCL</td><td>SDA</td></tr>
|
||||
<tr><td>VL53L0X</td><td>SCL</td><td>SDA</td></tr>
|
||||
<tr><td>BMP280</td><td>SCL</td><td>SDA</td></tr>
|
||||
</table>
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_sch.webp">
|
||||
|
||||
## Example
|
||||
|
||||
- Arduino test code [Click here to download]()
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomFly/atomFly_sch.webp>
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = '';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
## Description
|
||||
|
||||
**M5StickC Plus** is powered by ESP32-PICO-D4 with Bluetooth 4.0 and WiFi.It's an upgrade big screen product of [M5StickC](#/en/core/m5stickc.md).The compact body is integrated with rich hardware resources, such as infrared, RTC, microphone, led, IMU, buttons, PMU,etc. Compared with StickC, a buzzer is added and the big screen is upgraded to a 1.14-inch, 135 * 240 resolution LCD Screen.Compared with the previous display area, the display area is increased by 18.7%, and the battery capacity is 120mAh.It also supports HAT and Unit series products.
|
||||
**M5StickC Plus** is powered by ESP32-PICO-D4 with Bluetooth 4.0 and WiFi.It's an upgrade big screen product of [M5StickC](#/en/core/m5stickc.md).The compact body is integrated with rich hardware resources, such as infrared, RTC, microphone, led, IMU, buttons, PMU,etc. Compared with StickC, a buzzer is added and the big screen is upgraded to a 1.14-inch, 135 * 240 resolution LCD Screen.Compared with the previous display area, the display area is increased by 18.7%, and the battery capacity is 120mAh.It also supports HAT and Unit family products.
|
||||
|
||||
**Power switch operation:**
|
||||
|
||||
@@ -21,11 +21,12 @@
|
||||
|
||||
## Product Features
|
||||
|
||||
- ESP32-based
|
||||
- ESP32-based support Bluetooth4.0 and WiFi
|
||||
- Built-in 6-Axis IMU
|
||||
- Red LED
|
||||
- IR transmitter
|
||||
- Microphone
|
||||
- RTC
|
||||
- Buttons, LCD(1.14 inch)
|
||||
- Built-in Lipo Battery
|
||||
- Extendable Socket
|
||||
@@ -112,7 +113,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PIN port</td>
|
||||
<td>G0, G26, G36</td>
|
||||
<td>G0, G25/G36, G26</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Operating Temperature </td>
|
||||
@@ -214,7 +215,7 @@ Resolution:135 * 240
|
||||
|
||||
<table>
|
||||
<tr><td>ESP32 </td><td>GPIO0</td><td>GPIO34</td></tr>
|
||||
<tr><td>MICPHONE</td><td>SCL</td><td>SDA</td></tr>
|
||||
<tr><td>MICPHONE</td><td>CLK</td><td>DATA</td></tr>
|
||||
</table>
|
||||
|
||||
**6-Axis posture sensor (SH200Q/MPU6886) & power management IC (AXP192)**
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
|
||||
> restarting, press button A in the main menu interface to select the programming mode and wait till the right indicator of the network indicator to turn green in the programming mode page. Access UIFlow programming page by visiting [flow.m5stack.com](http://flow.m5stack.com/) on a computer browser.
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stickc\m5stickc_wifi_mode.webp ">
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_wifi_mode.webp">
|
||||
|
||||
#### API KEY Pairing
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
<div class="platform-box">
|
||||
<div class="platform-item" style="overflow:visible;">
|
||||
<img src="assets\img\quickstart_en.webp" width="300px" data-no-zoom>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\uiflow-card.webp" width="300px" data-no-zoom>
|
||||
<a href="/#/en/quick_start/m5stickc_plus/m5stickc_plus_quick_start_with_uiflow">
|
||||
<h3>UIFlow</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\arduino-card.webp" width="300px" data-no-zoom>
|
||||
<a href="#/en/quick_start/m5stickc_plus/m5stickc_plus_quick_start_with_arduino_Windows.md">
|
||||
<h3>Arduino IDE</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,64 @@
|
||||
# M5StickC PLUS Arduino IDE Development{docsify-ignore-all}
|
||||
|
||||
|
||||
1. [Install Arduino-IDE](#Install-Arduino-IDE)
|
||||
|
||||
2. [Install ESP32 Board](#Install-ESP32-Board)
|
||||
|
||||
3. [Install M5StickC Library](#Install-M5Stack-Library)
|
||||
|
||||
4. [Install USB Driver](#Install-USB-Driver)
|
||||
|
||||
5. [ArduinoAPI](#ArduinoAPI)
|
||||
|
||||
## Install Arduino-IDE
|
||||
|
||||
|
||||
>[Click here to visit Arduino's official website](https://www.arduino.cc/en/Main/Software),Select the installation package for your own operating system to download.
|
||||
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_install.webp">
|
||||
|
||||
|
||||
## Install ESP32 Board
|
||||
|
||||
>1.Open up Arduino IDE, navigate to `File`->`Peferences`->`Settings`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_1.webp">
|
||||
|
||||
>2.Copy the following ESP32 Boards Manager url to `Additional Boards Manager URLs:`
|
||||
|
||||
**https://dl.espressif.com/dl/package_esp32_index.json**
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_2.webp">
|
||||
|
||||
>3.Navigate to `Tools`->`Board:`->`Boards Manager...`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_3.webp">
|
||||
|
||||
>4.Search `ESP32` in the pop-up window, find it and click `Install`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_4.webp">
|
||||
|
||||
>5.select `Tools`->`Board:`->`ESP32`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_11.webp">
|
||||
|
||||
## Install M5StickC Library
|
||||
|
||||
>Different hardware devices, with different case libraries, please choose to download according to the device you use..Open Arduino IDE, then Select `Sketch`->`Include Library`->`Manage Libraries...`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_6.webp">
|
||||
|
||||
?>Search `M5StickC` , find it and click `Install`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_8.webp">
|
||||
|
||||
# ArduinoAPI
|
||||
|
||||
|
||||
|||
|
||||
|:---:|:---:|
|
||||
|**[System](en/api/system_m5stickc)** | **[Power Management(AXP192)](en/api/axp192_m5stickc)** |
|
||||
|**[TFT Screen](en/api/lcd_m5stickc)** | **[IMU](en/api/imu)** |
|
||||
|**[RTC](en/api/rtc)**|**[PWM](en/api/pwm)**|
|
||||
@@ -0,0 +1,165 @@
|
||||
# UIFlow Quick Start
|
||||
|
||||
?> This tutorial applies to M5StickC and M5StickC PLUS
|
||||
|
||||
## Burning tool
|
||||
|
||||
> Please click the button below to download the corresponding M5Burner firmware burning tool according to your operating system. Unzip and open the application.
|
||||
|
||||
<div class="files_download">
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/M5Burner.zip">
|
||||
<img src="/image/base/Windows_logo.webp" width="50">
|
||||
<span class="item-title">Windows10</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/M5Burner_MacOS.zip">
|
||||
<img src="/image/base/MacOS_logo.webp" width="50">
|
||||
<span class="item-title">MacOS</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/M5Burner_Linux.zip">
|
||||
<img src="/image/base/Linux_logo.webp" width="50">
|
||||
<span class="item-title">Linux</span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<img src="assets/img/getting_started_pics/how_to_burn_firmware/M5Burner/M5Burner_01.webp">
|
||||
|
||||
?> Note: After the installation of MacOS users, please put the application in the Application folder, as shown in the figure below.
|
||||
|
||||
><img src="/image/base/application.webp" width="70%">
|
||||
|
||||
|
||||
## Firmware burning
|
||||
|
||||
>1.Double-click to open the Burner burning tool, select the corresponding device type in the left menu, select the firmware version you need, and click the download button to download.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\burner_m5stickc01.webp" width="70%">
|
||||
|
||||
>2.Then connect the M5 device to the computer through the Type-C cable, select the corresponding COM port, the baud rate can use the default configuration in M5Burner, in addition, you can also fill in the WIFI that the device will be connected to during the firmware burning stage information. After configuration, click "Burn" to start burning.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\burner_m5stickc02.webp" width="70%">
|
||||
|
||||
>3.When the burning log prompts `Burn Successfully`, it means that the firmware has been burned.
|
||||
|
||||
<img src="assets\img\quick_start\core\burner_done.webp" width="70%">
|
||||
|
||||
?> When first burning or the firmware program runs abnormally, you can click "Erase" to erase the flash memory. In the subsequent firmware update, there is no need to erase again, otherwise the saved Wi-Fi information will be deleted and the API Key will be refreshed.
|
||||
|
||||
|
||||
## Configure WIFI
|
||||
|
||||
> UIFlow provides both offline and web version of the programmer. When using the web version, we need to configure a WiFi connection for the device. The following describes two ways to configure WiFi connection for the device (Burn configuration and AP hotspot configuration).
|
||||
|
||||
### Burn configuration WiFi(recommend)
|
||||
|
||||
?> UIFlow-1.5.4 and versions above can write WiFi information directly through M5Burner.
|
||||
|
||||
<img src="assets\img\quick_start\core\burner_wifi.webp" width="70%">
|
||||
|
||||
### AP hotspot configuration WiFi
|
||||
|
||||
> 1. Press and hold the power button on the left to turn on the machine. If WiFi is not configured, the system will automatically enter the network configuration mode when it is turned on for the first time. Suppose you want to re-enter the network configuration mode after running other programs, you can refer to the operation below. After the UIFlow Logo appears at startup, quickly click the Home button (center M5 button) to enter the configuration page. Press the button on the right side of the fuselage to switch the option to Setting, and press the Home button to confirm. Press the right button to switch the option to WiFi Setting, press the Home button to confirm, and start the configuration.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_ap_setup.webp">
|
||||
|
||||
> 2. After successfully connecting to the hotspot with your mobile phone, open the mobile phone browser to scan the QR code on the screen or directly access __192.168.4.1__, enter the page to fill in your personal WIFI information, and click Configure to record your WiFi information. The device will restart automatically after successfully configuring and enter programming mode.
|
||||
|
||||
?> Note: Special characters such as "space" are not allowed in the configured WiFi information.
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\uiflow_wifi_setup2.webp ">
|
||||
|
||||
|
||||
## Network Programming Mode and API KEY
|
||||
|
||||
#### Enter network programming mode
|
||||
|
||||
?> Network programming mode is a docking mode between M5 device and UIFlow web programming platform. The screen will show the current network connection status of the device. When the indicator is green, it means that you can receive program push at any time. Under default situation, after the first successful WiFi network configuration, the device will automatically restart and enter the network programming mode. If you do not know how to re-enter the programming mode after running other applications, you can refer to the following operations.
|
||||
|
||||
> restarting, press button A in the main menu interface to select the programming mode and wait till the right indicator of the network indicator to turn green in the programming mode page. Access UIFlow programming page by visiting [flow.m5stack.com](http://flow.m5stack.com/) on a computer browser.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_wifi_mode.webp">
|
||||
|
||||
#### API KEY Pairing
|
||||
|
||||
> API KEY is the communication credential for M5 devices when using UIFlow web programming. By configuring the corresponding API KEY on the UIFlow side, the program can be pushed for the specific device. The user needs to visit [flow.m5stack.com](http://flow.m5stack.com/) in the computer web browser to enter the UIFlow programming page. Click the setting button in the menu bar at the upper right corner of the page, enter the API Key on the corresponding device, select the hardware used, click OK to save and wait till it prompts successfully connecting.
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stickc\m5stickc_apikey01.webp ">
|
||||
|
||||
|
||||
## Light up LED
|
||||
|
||||
> Complete the above steps, then you can start programming with UIFlow. The following will show you a simple program to drive M5StickC to light up the LED indicator. (1. Drag the LED to light up the program block. 2. Splice to the Setup initialization program. 3 Click the Run button in the upper right corner)
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stickc\m5stickc_example.webp ">
|
||||
|
||||
|
||||
## UIFlow Desktop IDE
|
||||
|
||||
> UIFlow Desktop IDE is an offline version of UIFlow programmer which does not require network connection, and can provide you with responsive program push experience. Please click the corresponding version of **UIFlow-Desktop-IDE** to download according to your operating system .
|
||||
|
||||
<div class="files_download">
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/UIFlow-Desktop-IDE.zip">
|
||||
<img src="/image/base/Windows_logo.webp" width="50">
|
||||
<span class="item-title">Windows10</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/UIFlow-Desktop-IDE_MacOS.zip">
|
||||
<img src="/image/base/MacOS_logo.webp" width="50">
|
||||
<span class="item-title">MacOS</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/UIFlow-Desktop-IDE_Linux.zip">
|
||||
<img src="/image/base/Linux_logo.webp" width="50">
|
||||
<span class="item-title">Linux</span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
#### USB programming mode
|
||||
|
||||
> Unzip the downloaded UIFlow Desktop IDE archive and double-click to run the application.
|
||||
|
||||
<img src="assets/img/related_documents/UIFlow_Desktop_IDE/Desktop_IDE_01.webp">
|
||||
|
||||
?> After the app starts, it will automatically detect whether your computer has a USB driver (CP210X), click Install, and follow the prompts to finish installation. (M5StickC does not require a CP210X driver, so users can choose to install or skip)
|
||||
|
||||
<img src="assets/img/related_documents/UIFlow_Desktop_IDE/Desktop_IDE_02.webp">
|
||||
|
||||
> After the driver installation is complete, it will automatically enter the UIFlow Desktop IDE and automatically pop up the configuration box. At this time, connect the M5 device to the computer through the Tpye-C data cable.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_usb_connect.webp">
|
||||
|
||||
!> Using UIFlow Desktop IDE requires M5 device with UIFlow firmware and enter ** USB programming mode **.
|
||||
|
||||
> Click the power button on the left side of the device to restart, after entering the menu, quickly click the right button to select **USB mode**.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_usb_mode.webp">
|
||||
|
||||
> Select the corresponding port, and the programming device, click OK to connect.
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stickc\m5stickc_desktop_ide01.webp ">
|
||||
|
||||
|
||||
## Related Links
|
||||
|
||||
* [M5StickC IoT Getting Started Tutorial](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/M5StickC_Guide.pdf)
|
||||
* [UIFlow Block introduction](zh_CN/uiflow/uiflow_home_page)
|
||||
|
||||
|
||||
<script>
|
||||
anchor_search();
|
||||
scrollFunc();
|
||||
</script>
|
||||
@@ -18,6 +18,7 @@
|
||||
{a:"/#/en/core/m5stickc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stickc_01.webp", p:"M5StickC", sku:"K016-C", qs:"#en/quick_start/m5stickc/m5stickc_quick_start" ,kw:"ESP32 AXP192 MPU6886"},
|
||||
{a:"/#/en/core/m5stickv", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickv_01.webp", p:"M5StickV", sku:"K027" , qs:"#en/quick_start/m5stickv/m5stickv_quick_start", kw:"K210 CAMERA AXP192 MPU6886"},
|
||||
{a:"/#/en/core/m5stickt", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickt_01.webp", p:"M5StickT", sku:"K016-T" ,kw:"ESP32 FLIR3.0 AXP192"},
|
||||
{a:"/#/en/core/m5stickc_plus", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stickc_01.webp", p:"M5StickC PLUS", sku:"K016-C", qs:"#en/quick_start/m5stickc_plus/m5stickc_plus_quick_start" ,kw:"ESP32 AXP192 MPU6886"},
|
||||
];
|
||||
const atom_list = [
|
||||
//ATOM
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
{a:"/#/zh_CN/core/m5stickc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stickc_01.webp", p:"M5StickC", sku:"K016-C", qs:"#zh_CN/quick_start/m5stickc/m5stickc_quick_start" ,kw:"ESP32 AXP192 MPU6886"},
|
||||
{a:"/#/zh_CN/core/m5stickv", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickv_01.webp", p:"M5StickV", sku:"K027" , qs:"#zh_CN/quick_start/m5stickv/m5stickv_quick_start", kw:"K210 CAMERA AXP192 MPU6886"},
|
||||
{a:"/#/zh_CN/core/m5stickt", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickt_01.webp", p:"M5StickT", sku:"K016-T" ,kw:"ESP32 FLIR3.0 AXP192"},
|
||||
{a:"/#/zh_CN/core/m5stickc_plus", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stickc_01.webp", p:"M5StickC PLUS", sku:"K016-C", qs:"#zh_CN/quick_start/m5stickc_plus/m5stickc_plus_quick_start" ,kw:"ESP32 AXP192 MPU6886"},
|
||||
];
|
||||
|
||||
const atom_list = [
|
||||
|
||||
@@ -0,0 +1,148 @@
|
||||
# ATOM FLY Kit
|
||||
<div class="badge badge-pill badge-primary product_sku_tag">SKU:</div>
|
||||
|
||||
<div class="product_pic"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch.webp"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_02.webp"></div>
|
||||
|
||||
## 描述
|
||||
|
||||
**ATOM FLY** 是一款支持ATOM的可编程迷你四轴无人机,适用于室内或无风风情况下飞行。机架采取PCB一体化设计,直接将电机固定于PCB上,最大程度减轻起飞重量。机臂采用X型布局,操控更加灵活,机身搭载气压计与三轴加速计和陀螺仪(IMU)可进行定高与姿态保持,同时配备ToF可用于自动起降与避障。机头有一颗LED电源指示灯,整机由外置200mAh锂电池供电。(出厂无任何固件程序,用户需自行编写程序进行控制)
|
||||
|
||||
## 产品特性
|
||||
|
||||
- 适配ATOM Matrix/ATOM Lite
|
||||
- 支持WiFi、蓝牙遥控、可编程
|
||||
- 内置气压计、三轴加速计、陀螺仪、ToF
|
||||
- 机身小巧、紧凑
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x ATOM FLY 机架
|
||||
- 1x ATOM Lite
|
||||
- 1x 200mAh电池
|
||||
- 1x 电池充电器
|
||||
- 2x 正桨
|
||||
- 2x 反桨
|
||||
|
||||
## 应用
|
||||
|
||||
- 遥控无人机
|
||||
|
||||
## 规格参数
|
||||
|
||||
<table>
|
||||
<tr style="font-weight:bold">
|
||||
<td>规格</td>
|
||||
<td>参数</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ToF</td>
|
||||
<td>VL53L0x</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>陀螺仪加速计(IMU)</td>
|
||||
<td>MPU6886</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>气压计</td>
|
||||
<td>BMP280</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>动力电池</td>
|
||||
<td>200mAh/1S/25C/JST </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>螺旋桨直径</td>
|
||||
<td>2英寸</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>空心杯电机</td>
|
||||
<td>负载转速31000±10%RPM</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>净重</td>
|
||||
<td>g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>毛重</td>
|
||||
<td>g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>产品尺寸</td>
|
||||
<td>70*70*30mm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>包装尺寸</td>
|
||||
<td>mm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>外壳材质</td>
|
||||
<td>PCB</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## 使用说明
|
||||
|
||||
AtomFLY Kit所有硬件功能出厂均经过测试,Atom Lite无任何内置固件,以下提供的程序均只提供基本功能测试,您需要通过自行编程来实现遥控飞行的目的。测试时请注意安全,身体远离螺旋桨,防止意外发生。锂电池使用随机附送的充电线进行充电,通过指示灯观察电池充电状态,红色表示正在充电,绿色表示充电完成。电池充满后不可长时间继续充电,防止电池发热造成安全隐患。
|
||||
|
||||
## EasyLoader
|
||||
|
||||
>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)**
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/ATOM_BASE/EasyLoader_AtomHubSwitch.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/ATOM_BASE/EasyLoader_AtomHubSwitch.dmg">MacOS</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/AtomBase/AtomSwitch.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>案例描述:</p>
|
||||
<p>按下Atom按键,螺旋桨依次旋转,串口监视器输出IMU状态</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet**
|
||||
- [MPU6886](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/MPU-6886-000193%2Bv1.1_GHIC_en.pdf)
|
||||
- [BMP280](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/BMP280-DS001-11_en.pdf)
|
||||
- [VL53L0X](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/VL53L0X_en.pdf)
|
||||
- [DC Moter C.W](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomFLY/Motor_716-37A-14.pdf)
|
||||
- [DC Moter CCW](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomFLY/Motor_716-37B-14.pdf)
|
||||
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>ATOM</td><td>G21</td><td>G25</td><td>G22</td><td>G19</td><td>G23</td><td>G33</td></tr>
|
||||
<tr><td>ATOM FLY</td><td>SCL</td><td>SDA</td><td>PWM1</td><td>PWM2</td><td>PWM3</td><td>PWM4</td></tr>
|
||||
<tr><td>MPU6886</td><td>SCL</td><td>SDA</td></tr>
|
||||
<tr><td>VL53L0X</td><td>SCL</td><td>SDA</td></tr>
|
||||
<tr><td>BMP280</td><td>SCL</td><td>SDA</td></tr>
|
||||
</table>
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_sch.webp">
|
||||
|
||||
## 案例程序
|
||||
|
||||
- Arduino代码示例 [点击这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomHubSwitch/AtomHubSwitch)
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomFly/atomFly_sch.webp>
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = 'https://m5stack.com/collections/m5-atom/products/atom-hub-switch-kit';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -208,7 +208,7 @@
|
||||
|
||||
<table>
|
||||
<tr><td>ESP32 芯片</td><td>GPIO0</td><td>GPIO34</td></tr>
|
||||
<tr><td>麦克风 MIC</td><td>SCL</td><td>SDA</td></tr>
|
||||
<tr><td>麦克风 MIC</td><td>CLK</td><td>DATA</td></tr>
|
||||
</table>
|
||||
|
||||
**六轴IMU (SH200Q/MPU6886) & 电源管理芯片 (AXP192)**
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
<div class="platform-box">
|
||||
<div class="platform-item" style="overflow:visible;">
|
||||
<img src="assets\img\quickstart_cn.webp" width="300px" data-no-zoom>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\uiflow-card.webp" width="300px" data-no-zoom>
|
||||
<a href="/#/zh_CN/quick_start/m5stickc_plus/m5stickc_plus_quick_start_with_uiflow">
|
||||
<h3>UIFlow</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\arduino-card.webp" width="300px" data-no-zoom>
|
||||
<a href="/#/zh_CN/arduino/arduino_development">
|
||||
<h3>Arduino IDE</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
# M5StickC PLUS Arduino IDE 环境搭建{docsify-ignore-all}
|
||||
|
||||
|
||||
1. [安装Arduino-IDE](#安装Arduino-IDE)
|
||||
|
||||
2. [安装ESP32的板管理](#安装ESP32的板管理)
|
||||
|
||||
3. [安装M5Stack的库](#安装M5Stack的库)
|
||||
|
||||
4. [安装串口驱动](#安装串口驱动)
|
||||
|
||||
5. [ArduinoAPI](#ArduinoAPI)
|
||||
|
||||
## 安装Arduino-IDE
|
||||
|
||||
|
||||
>[点击此处访问 Arduino 官网](https://www.arduino.cc/en/Main/Software),选择对应自己操作系统的安装包进行下载.
|
||||
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_install.webp">
|
||||
|
||||
|
||||
## 安装ESP32的板管理
|
||||
|
||||
>1.打开 Arduino IDE,选择 `文件`->`首选项`->`设置`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_1.webp">
|
||||
|
||||
>2.复制下方的 ESP32 板管理网址到 `附加开发板管理器:` 中
|
||||
|
||||
**https://dl.espressif.com/dl/package_esp32_index.json**
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_2.webp">
|
||||
|
||||
>3.选择 `工具`->`开发板:`->`开发板管理器...`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_3.webp">
|
||||
|
||||
>4.在新弹出的对话框中,输入并搜索 `ESP32`,点击`安装`(若出现搜索失败的情况,可以尝试重启Arduino程序)
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_4.webp">
|
||||
|
||||
>5.选择 `工具`->`开发板:`->`ESP32`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_11.webp">
|
||||
|
||||
## 安装M5StickC的库
|
||||
|
||||
>不同的硬件设备,有着不同的案例程序库,请根据你所使用的设备选择下载.打开 Arduino IDE, 然后选择 `项目`->`加载库`->`库管理...`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_6.webp">
|
||||
|
||||
?>搜索 `M5StickC` 并安装,如下图所示
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_8.webp">
|
||||
|
||||
## ArduinoAPI
|
||||
|
||||
|||
|
||||
|:---:|:---:|
|
||||
|**[System](zh_CN/api/system_m5stickc)** | **[AXP192](zh_CN/api/axp192_m5stickc)** |
|
||||
|**[TFT 屏](zh_CN/api/lcd_m5stickc)** | **[IMU](zh_CN/api/imu)** |
|
||||
|**[RTC](zh_CN/api/rtc)** |**[PWM](zh_CN/api/pwm)**|
|
||||
@@ -0,0 +1,164 @@
|
||||
# UIFlow 快速上手
|
||||
|
||||
?>本教程适用于M5StickC与M5StickC PLUS
|
||||
|
||||
## 烧录工具
|
||||
|
||||
>请根据您所使用的操作系统,点击下方按钮下载相应的M5Burner固件烧录工具.解压打开应用程序。
|
||||
|
||||
<div class="files_download">
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/M5Burner.zip">
|
||||
<img src="/image/base/Windows_logo.webp" width="50">
|
||||
<span class="item-title">Windows10</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/M5Burner_MacOS.zip">
|
||||
<img src="/image/base/MacOS_logo.webp" width="50">
|
||||
<span class="item-title">MacOS</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/M5Burner_Linux.zip">
|
||||
<img src="/image/base/Linux_logo.webp" width="50">
|
||||
<span class="item-title">Linux</span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<img src="assets/img/getting_started_pics/how_to_burn_firmware/M5Burner/M5Burner_01.webp">
|
||||
|
||||
?>注意:MacOS用户安装完成后请将应用放入Application文件夹内,如下图所示。
|
||||
|
||||
><img src="/image/base/application.webp" width="70%">
|
||||
|
||||
|
||||
## 固件烧录
|
||||
|
||||
>1.双击打开Burner烧录工具,在左侧菜单中选择对应的设备类型,选择你所需要的固件版本,点击下载按钮进行下载。
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\burner_m5stickc01.webp" width="70%">
|
||||
|
||||
>2.然后将M5StickC通过Type-C数据线连接到电脑,选择对应的COM口,波特率可使用M5Burner中的默认配置,另外,你还可以在固件烧录阶段就填入设备后续将要连接的WIFI信息。配置完成后,点击"Burn"开始烧录.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\burner_m5stickc02.webp" width="70%">
|
||||
|
||||
>3.当烧录日志提示`Burn Successfully`时,则表示固件已经烧录完成。
|
||||
|
||||
<img src="assets\img\quick_start\core\burner_done.webp" width="70%">
|
||||
|
||||
?>首次烧录或固件程序运行异常时,可点击右上角的"Erase"擦除flash内存,在后续的固件更新时,则无需再次擦除,否则将删除已保存的Wi-Fi信息且刷新API Key.
|
||||
|
||||
## 配置WIFI
|
||||
|
||||
>UIFlow提供了离线与web版本的编程器,在使用web版本的UIFlow时,我们需要为设备配置WiFi连接。下面介绍为设备配置WiFi连接的两种方式(烧录配置与AP热点配置)。
|
||||
|
||||
### 烧录配置WiFi(推荐)
|
||||
|
||||
?>UIFlow-1.5.4以上版本支持WiFi连接的前期烧录配置, 用户只需在固件烧录前将WiFi信息填入WiFi配置框,随后点击"Burn"进行固件烧录,填入的WiFi信息将随同固件一起烧录保存至M5设备。
|
||||
|
||||
<img src="assets\img\quick_start\core\burner_wifi.webp" width="70%">
|
||||
|
||||
### AP热点配置WiFi
|
||||
|
||||
>1.长按左侧电源键开机,在未配置WiFi的情况下,首次开机将自动进入网络配置模式。假设在运行其他程序后,你想要重新进入网络配置模式,你可以参照下方操作。开机出现UIFlow Logo后,快速单击Home键(中心M5按键),进入配罝页面。按机身右侧按键将选项切换至Setting,按下Home键确认。按右侧按键切换选项至`Wi-Fi via AP`,按下Home键确认,开始配置。
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_ap_setup.webp">
|
||||
|
||||
>2.用手机连接热点成功后,打开手机浏览器扫描屏幕上的二维码,或是直接访问 __192.168.4.1__,进入页面填写个人的WIFI信息,点击配置,使设备记录下你的WiFi信息。配置成功后设备将自动重启。并进入编程模式。
|
||||
|
||||
?>注意:配置的WiFi信息中,不允许出现"空格"等特殊字符。
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\uiflow_wifi_setup2.webp ">
|
||||
|
||||
|
||||
## 网络编程模式与API KEY
|
||||
|
||||
#### 进入网络编程模式
|
||||
|
||||
?>网络编程模式是M5设备与UIFlow web编程平台的一个对接模式,屏幕会显示出当前设备的网络连接状态。当指示标志为绿色时,则代表随时可接收程序推送。默认情况下,在首次WiFi网络配置成功后,设备将自动重启,并进入网络编程模式。若您在运行其他应用后不知如何重新进入编程模式,你可以参考以下操作。
|
||||
|
||||
>开机后,在主菜单界面按下按键A选择编程模式,在编程模式页面等待网络指示标志右红变成绿色,通过电脑浏览器访问[flow.m5stack.com](http://flow.m5stack.com/)进入UIFlow编程页面.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_wifi_mode.webp">
|
||||
|
||||
#### API KEY配对
|
||||
|
||||
>API KEY是M5设备在使用UIFlow web编程时的通信凭证。通过在UIFlow端配置相应的API KEY,能够为指定的设备推送程序。用户需在电脑端浏览器访问[flow.m5stack.com](http://flow.m5stack.com/)进入UIFlow编程页面,点击页面右上角的菜单栏中的设置按钮,输入对应设备上的API Key,选择使用的硬件,点击OK保存,等待提示连接成功。
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stickc\m5stickc_apikey01.webp ">
|
||||
|
||||
|
||||
## 点亮LED灯
|
||||
|
||||
>完成以上步骤,就可以开始使用UIFlow进行编程了。下面将向你演示一个简单的程序,驱动M5StickC点亮LED指示灯。(1. 拖动LED点亮程序块 2. 拼接至Setup初始化程序 .3 点击右上角运行按钮 )
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stickc\m5stickc_example.webp ">
|
||||
|
||||
|
||||
## UIFlow Desktop IDE
|
||||
|
||||
>UIFlow Desktop IDE是一个离线版的UIFlow编程器,无需网络依赖,且能够提供反应迅速程序推送体验,请根据您的操作系统,点击下方按钮对应版本的 **UIFlow-Desktop-IDE** 进行下载.
|
||||
|
||||
<div class="files_download">
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/UIFlow-Desktop-IDE.zip">
|
||||
<img src="/image/base/Windows_logo.webp" width="50">
|
||||
<span class="item-title">Windows10</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/UIFlow-Desktop-IDE_MacOS.zip">
|
||||
<img src="/image/base/MacOS_logo.webp" width="50">
|
||||
<span class="item-title">MacOS</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/UIFlow-Desktop-IDE_Linux.zip">
|
||||
<img src="/image/base/Linux_logo.webp" width="50">
|
||||
<span class="item-title">Linux</span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
#### USB编程模式
|
||||
|
||||
>将下载好的UIFlow Desktop IDE压缩包解压,双击执行应用程序.
|
||||
|
||||
<img src="assets/img/related_documents/UIFlow_Desktop_IDE/Desktop_IDE_01.webp">
|
||||
|
||||
?>软件启动后,将自动检测你的电脑是否安装有USB驱动(CP210X),点击Install,根据提示,进行安装.(M5StickC无需CP210X驱动,因此用户可选择安装或是跳过)
|
||||
|
||||
<img src="assets/img/related_documents/UIFlow_Desktop_IDE/Desktop_IDE_02.webp">
|
||||
|
||||
>驱动安装完成后,将自动进入UIFlow Desktop IDE并自动弹出配置框,此时将M5设备通过Tpye-C数据线连接至电脑.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_usb_connect.webp">
|
||||
|
||||
!>使用UIFlow Desktop IDE需要M5设备搭载UIFlow固件且进入**USB编程模式**.
|
||||
|
||||
>单击设备左侧电源键重启,进入菜单后快速单击右侧按钮切换模式,选择**USB mode**.
|
||||
|
||||
<img src="assets\img\quick_start\m5stickc\m5stickc_usb_mode.webp">
|
||||
|
||||
>选择好对应的端口,与编程设备,点击OK进行连接.
|
||||
|
||||
<img src="assets\img\getting_started_pics\m5stickc\m5stickc_desktop_ide01.webp ">
|
||||
|
||||
|
||||
## 相关链接
|
||||
|
||||
* [M5StickC物联网入门教程](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/M5StickC_Guide.pdf)
|
||||
* [UIFlow Block介绍](zh_CN/uiflow/uiflow_home_page)
|
||||
|
||||
|
||||
<script>
|
||||
anchor_search();
|
||||
scrollFunc();
|
||||
</script>
|
||||
Reference in New Issue
Block a user