This commit is contained in:
vany5921
2020-04-02 18:23:00 +08:00
16 changed files with 230 additions and 219 deletions
+35 -27
View File
@@ -1,5 +1,40 @@
# Arduino IDE Development{docsify-ignore-all}
## USB Driver
> Before the program is burned, M5Core host (including BASIC / GRAY / M5GO / FIRE / FACES) users please download the corresponding CP210X driver package according to the operating system you are using, click the button below. After decompressing the compressed package, select the installation package corresponding to the operating system value for installation.
Note: M5StickC / V / T / ATOM series support can be used without driver, users can skip this driver installation step.
*__Download CP2104 driver__
<div class="files_download">
<p class="item">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Windows.zip">
<img src="/image/base/Windows_logo.png" width="50">
<span class="item-title">Windows10</span>
</a>
</p>
<p class="item">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_MacOS.zip">
<img src="/image/base/MacOS_logo.png" width="50">
<span class="item-title">MacOS</span>
</a>
</p>
<p class="item">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Linux.zip">
<img src="/image/base/Linux_logo.png" width="50">
<span class="item-title">Linux</span>
</a>
</p>
</div>
><img src="/image/base/CP210X_install.gif " width="70%">
## Arduino-IDE
@@ -66,33 +101,6 @@
<img src="assets/img/related_documents/Arduino_IDE/Arduino_9.jpg">
## USB Driver
>1.Click on the CP210X driver for your operating system below to download.
<div class="link">
<h4><span>CP210X Driver:</span></h4>
<p>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Windows.zip" target="_blank" rel="noopener noreferrer"><img src="https://cdn.shopify.com/s/files/1/0056/7689/2250/files/windows_89cc6ea0-2a3c-4327-97e5-8f51f448c38b_icon.png?v=1557026574" alt="">Windows</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_MacOS.zip" target="_blank" rel="noopener noreferrer"><img src="https://cdn.shopify.com/s/files/1/0056/7689/2250/files/mac_large.png?v=1557026570" alt="">MacOS</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Linux.zip" target="_blank" rel="noopener noreferrer"><img src="https://cdn.shopify.com/s/files/1/0056/7689/2250/files/linux_icon.png?v=1557026584" alt="">Linux</a>
</p>
</div>
### For Windows
>Unzip the downloaded driver package, select the installer for your operating system, and double-click to install.
<img src="assets/img/related_documents/Arduino_IDE/CP210X_WIN.jpg">
### For Mac
>Unzip the downloaded driver package, install the program, double-click the image file to start the installation..
<img src="assets/img/related_documents/Arduino_IDE/CP210X_MAC.png">
<script>
+3 -3
View File
@@ -8,12 +8,12 @@
**M5Stack BASIC Kit** like its namesake, is a starter kit among the M5Stack development kit series. Its modular, stackable, scalable, and portable device is powered with an ESP-32 core, which makes it open source, low cost, full-function, and easy for developers to handle new product development on all stages include circuit design, PCB design, software, mold design and production. This Basic kit provides a friendly price and full-featured resources which makes it a good starter kit for you to explore IoT.
Ever wanted to explore the fastest way of IoT prototyping, M5Stack development board is the perfect solution. Not like others, M5Stack development board is highly productlized, covered with industrial grade case, and **ESP32-based** development board. **ESP32** is a hybid Wi-Fi & Bluetooth chip contains a dual-core and 4MB of SPI Flash . Together with 30+ M5Stack [stackable modules](https://docs.m5stack.com/#/en/?id=module) , 40+ [extendable units](https://docs.m5stack.com/#/en/?id=unit), and different levels of program language, you can create and verify your IoT product in a very short time.
Supported development platforms and program languages: Arduino, Blockly language with [UIFlow](http://flow.m5stack.com), [Micropython](http://www.micropython.org). Regardless of what level program skill you have, M5Stack would guide you in every step of the way to realize your idea as well as to the final productilization.
Ever wanted to explore the fastest way of IoT prototyping, M5Stack development board is the perfect solution. Not like others, M5Stack development board is highly productlized, covered with industrial grade case, and **ESP32-based** development board. **ESP32** is a hybid Wi-Fi & Bluetooth chip contains a dual-core and 4MB of SPI Flash . Together with 30+ M5Stack stackable modules , 40+ extendable units, and different levels of program language, you can create and verify your IoT product in a very short time.
Supported development platforms and program languages: Arduino, Blockly language with [UIFlow](http://flow.m5stack.com), Micropython Regardless of what level program skill you have, M5Stack would guide you in every step of the way to realize your idea as well as to the final productilization.
If you ever played with ESP8266, you would realize that ESP32 is a perfect upgrade from ESP8266. In comparison, ESP32 is full-feathered with more GPIO, plenty of analog inputs and two analog outputs, multiple extra perpherials( like a spare UART ). Official development platform ESP-IDF have planted with FreeRTOS. With dual-core and real time OS you can get more organized code and much high speed processor.
M5Stack Basic is consist with two separable parts. the upside part has all kinds of processor, chips and some other slot components. The [bottom](https://docs.m5stack.com/#/en/base/core_bottom) part has a lithium battery, [M-BUS](https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_schematic/M-BUS.png) socket and extendable pins on both sides.
M5Stack Basic is consist with two separable parts. the upside part has all kinds of processor, chips and some other slot components. The bottom part has a lithium battery, M-BUS socket and extendable pins on both sides.
## Product Features
+4 -4
View File
@@ -12,12 +12,12 @@ With a IMU posture sensor, you can include posture detection in your work : acce
**FIRE** is M5 Core device. Its modular, stackable, scalable, and portable device is powered with an ESP-32 core, which makes it open source, low cost, full-function, and easy for developers to handle new product development on all stages include circuit design, PCB design, software, mold design and production.
M5Stack Fire comes with three separable parts. The top part ,just like Basic and Gray Kit, has all kinds of processors, chips ,scokets, 2.4G antenna etc, such as ESP32, power management IC , a LCD screen and some other interface components. The middle part is called [M5GO base](https://docs.m5stack.com/#/en/base/m5go_bottom) provides a lithium battery, [M-BUS](https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_schematic/M-BUS.png) socket , LED bar and two more GROVE Port. The bottom part is a charge table,can be connect to the M5GO base via POGO pins.
M5Stack Fire comes with three separable parts. The top part ,just like Basic and Gray Kit, has all kinds of processors, chips ,scokets, 2.4G antenna etc, such as ESP32, power management IC , a LCD screen and some other interface components. The middle part is called M5GO base provides a lithium battery, M-BUS socket , LED bar and two more GROVE Port. The bottom part is a charge table,can be connect to the M5GO base via POGO pins.
*Ever wanted to explore the fastest way of IoT prototyping, M5Stack development board is the perfect solution. Not like others, M5Stack development board is highly productlized, covered with industrial grade case, and **ESP32-based** development board. **ESP32** is a hybid Wi-Fi & Bluetooth chip contains a dual-core and 4MB of SPI Flash . Together with 30+ M5Stack [stackable modules](https://docs.m5stack.com/#/en/?id=module), 40+ [extendable units](https://docs.m5stack.com/#/en/?id=unit), and different levels of program language, you can create and verify your IoT product in a very short time.
Supported development platforms and program languages: Arduino, Blockly language with [UIFlow](http://flow.m5stack.com), [Micropython](http://www.micropython.org). Regardless of what level program skill you have, M5Stack would guide you in every step of the way to realize your idea as well as to the final productilization.*
*Ever wanted to explore the fastest way of IoT prototyping, M5Stack development board is the perfect solution. Not like others, M5Stack development board is highly productlized, covered with industrial grade case, and **ESP32-based** development board. **ESP32** is a hybid Wi-Fi & Bluetooth chip contains a dual-core and 4MB of SPI Flash . Together with 30+ M5Stack stackable modules, 40+ extendable units, and different levels of program language, you can create and verify your IoT product in a very short time.
Supported development platforms and program languages: Arduino, Blockly language with [UIFlow](http://flow.m5stack.com), Micropython. Regardless of what level program skill you have, M5Stack would guide you in every step of the way to realize your idea as well as to the final productilization.*
*If you ever played with ESP8266, you would realize that ESP32 is a perfect upgrade from ESP8266. In comparison, ESP32 is full-feathered with more GPIO, plenty of analog inputs and two analog outputs, multiple extra perpherials( like a spare UART ). Official development platform ESP-IDF have planted with FreeRTOS. With dual-core and real time OS you can get more organized code and much high speed processor.*
If you ever played with ESP8266, you would realize that ESP32 is a perfect upgrade from ESP8266. In comparison, ESP32 is full-feathered with more GPIO, plenty of analog inputs and two analog outputs, multiple extra perpherials( like a spare UART ). Official development platform ESP-IDF have planted with FreeRTOS. With dual-core and real time OS you can get more organized code and much high speed processor.
**Notice:**
+2 -2
View File
@@ -14,8 +14,8 @@ With a IMU posture sensor, you can include posture detection in your work : acce
**GRAY** is M5 Core device. Its modular, stackable, scalable, and portable device is powered with an ESP-32 core, which makes it open source, low cost, full-function, and easy for developers to handle new product development on all stages include circuit design, PCB design, software, mold design and production.
Ever wanted to explore the fastest way of IoT prototyping, M5Stack development board is the perfect solution. Not like others, M5Stack development board is highly productlized, covered with industrial grade case, and **ESP32-based** development board. **ESP32** is a hybid Wi-Fi & Bluetooth chip contains a dual-core and 4MB of SPI Flash . Together with 30+ M5Stack [stackable modules](https://docs.m5stack.com/#/en/?id=module), 40+ [extendable units](https://docs.m5stack.com/#/en/?id=unit), and different levels of program language, you can create and verify your IoT product in a very short time.
Supported development platforms and program languages: Arduino, Blockly language with [UIFlow](http://flow.m5stack.com), [Micropython](http://www.micropython.org). Regardless of what level program skill you have, M5Stack would guide you in every step of the way to realize your idea as well as to the final productilization.
Ever wanted to explore the fastest way of IoT prototyping, M5Stack development board is the perfect solution. Not like others, M5Stack development board is highly productlized, covered with industrial grade case, and **ESP32-based** development board. **ESP32** is a hybid Wi-Fi & Bluetooth chip contains a dual-core and 4MB of SPI Flash . Together with 30+ M5Stack stackable modules, 40+ extendable units, and different levels of program language, you can create and verify your IoT product in a very short time.
Supported development platforms and program languages: Arduino, Blockly language with [UIFlow](http://flow.m5stack.com), Micropython. Regardless of what level program skill you have, M5Stack would guide you in every step of the way to realize your idea as well as to the final productilization.
If you ever played with ESP8266, you would realize that ESP32 is a perfect upgrade from ESP8266. In comparison, ESP32 is full-feathered with more GPIO, plenty of analog inputs and two analog outputs, multiple extra perpherials( like a spare UART ). Official development platform ESP-IDF have planted with FreeRTOS. With dual-core and real time OS you can get more organized code and much high speed processor.
+32 -30
View File
@@ -156,8 +156,7 @@ TF card Maximum size 16GB
**GROVE Port A & IP5306**
We've use the customized I2C version of IP5306, on power management.
Weve use the customized I2C version of IP5306 in power management.
Its I2C address is 0x75. Click [here](https://github.com/m5stack/M5-Schematic/blob/master/Core/IIC_IP5306_REG_V1.4.pdf) to check its datasheet.
<table>
@@ -322,34 +321,37 @@ To complete schematic, click [here](https://github.com/m5stack/M5-Schematic/tree
## Version Change
<div class="table-wrapper">
<table class="fl-table">
<thead>
<tr>
<th>Release Date</th>
<th>Product Change</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>Initial public release</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250 changed to MPU6886+BMM150</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN screen changed to IPS screen</td>
</tr>
<tr>
<td>2019.11</td>
<td>Battery capacity changed from 600mAh to 500mAh</td>
</tr>
<tbody>
</table>
</div>
<table>
<thead>
<tr>
<th>Release Date</th>
<th>Product Change</th>
<th>Note:</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>Initial public release</td>
<td>/</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250 changed to MPU6886+BMM150</td>
<td>/</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN screen changed to IPS screen</td>
<td>before use . pls upgrade your M5Stack lib to the latest version (after 0.2.8) to solve screen reverse color problem.</td>
</tr>
<tr>
<td>2019.11</td>
<td>Battery capacity changed from 600mAh to 500mAh</td>
<td>/</td>
</tr>
<tbody>
</table>
## Video
+36 -38
View File
@@ -6,13 +6,9 @@
## DESCRIPTION
**M5GO Lite** is a light pack of M5GO kit, instead of having 6 M5units, M5GO-Lite provides 1 ENV + accessories and the same M5 controller as M5GO. M5GO-Lite is also designed for STEM education. M5GO controller itself is already a full-feathered, highly integrated, upgraded development board provides plenty of hardware resources, such as LCD screen, speaker, Led bar, 16M flash, microphone and more. Light but not least.
**M5GO Lite** is a light pack of M5GO kit, instead of having 6 M5units, M5GO-Lite provides 1 ENV + accessories and the same M5 controller as M5GO. M5GO-Lite is also designed for STEM education. M5GO controller itself is already a full-feathered, highly integrated, upgraded development board(which) provides plenty of hardware resources, such as LCD screen, speaker, Led bar, 16M flash, microphone and more. Light(Last) but not least.
All M5stack development board can be programmed through Arduino IDE, WebIDE UIFlow, Micropython, and Blockly, simplifying the development process for those requiring a joint hardware and software solution. Not only does M5stack have far-reaching IoT applications in industry, agriculture, and home, but it also empowers students to learn to code in STEM classrooms.
**Notice:**
The newly-produced M5Core replaces the screen with better display performance and higher viewing angle, so it has some compatibility problems with the old Arduino library. When using the old library for screen driving, it will produce reverse color display. You can open the Arduino. The library management option will upgrade your M5Stack library to the latest version (after 0.2.8) to solve this problem.
all M5stack development board can be programmed by using Arduino IDE, WebIDE UIFlow, Micropython and Blockly. It greatly simplifies the development process for those projects which require a joint hardware and software solution. Not only does M5stack have far-reaching IoT applications in industry, agriculture, and home, but it also empowers students to learn to code in STEM classrooms.
## Product Features
@@ -158,9 +154,8 @@ TF card Maximum size 16GB
**GROVE Port A & IP5306**
We've use the customized I2C version of IP5306, on power management.
It's I2C address is 0x75. Click [here](https://github.com/m5stack/M5-Schematic/blob/master/Core/IIC_IP5306_REG_V1.4.pdf) to check its datasheet.
Weve use the customized I2C version of IP5306 in power management.
Its I2C address is 0x75. Click [here](https://github.com/m5stack/M5-Schematic/blob/master/Core/IIC_IP5306_REG_V1.4.pdf) to check its datasheet.
<table>
<tr><td>ESP32 Chip</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
@@ -317,34 +312,37 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
## Version Change
<div class="table-wrapper">
<table class="fl-table">
<thead>
<tr>
<th>Release Date</th>
<th>Product Change</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>Initial public release</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250 changed to MPU6886+BMM150</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN screen changed to IPS screen</td>
</tr>
<tr>
<td>2019.11</td>
<td>Battery capacity changed from 600mAh to 500mAh</td>
</tr>
<tbody>
</table>
</div>
<table>
<thead>
<tr>
<th>Release Date</th>
<th>Product Change</th>
<th>Note:</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>Initial public release</td>
<td>/</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250 changed to MPU6886+BMM150</td>
<td>/</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN screen changed to IPS screen</td>
<td>before use . pls upgrade your M5Stack lib to the latest version (after 0.2.8) to solve screen reverse color problem.</td>
</tr>
<tr>
<td>2019.11</td>
<td>Battery capacity changed from 600mAh to 500mAh</td>
<td>/</td>
</tr>
<tbody>
</table>
## Example
@@ -358,7 +356,7 @@ But before compiling this program, please install `Adafruit BMP280 Library` and
For more infomation, Click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/m5go/m5go_lite/Arduino/ENV)
**More examples are [here](https://github.com/m5stack/M5Stack/tree/master/examples/Basics)**
**More examples [here](https://github.com/m5stack/M5Stack/tree/master/examples/Basics)**
### 2. UIFlow
+1 -1
View File
@@ -7,7 +7,7 @@
## Description
**M5Stick** is a mini M5Stack, powered by ESP32. It is a portable, easy-to-use, open source, IoT development board.
*What it can do?*
What it can do?
This tiny block is able to realize your idea, enlighten your creativity, and help with your IoT prototying in a very short time. It will takes away a lot of the pains form the development process.M5stick is one of the core devices in M5Stack product series which is built in a continues growing hardware & software ecosystem. It has a lot of compatible modules & units, as well as the open source code & engineering community that will help you maximum your benefit in every step of the developing process.
**The following figure shows the position indication of Button A and Assembly hole**
+1 -1
View File
@@ -7,7 +7,7 @@
## Description
**M5StickC** is a mini M5Stack, powered by ESP32. It is a portable, easy-to-use, open source, IoT development board.
*What it can do?*
What it can do?
This tiny block is able to realize your idea, enlighten your creativity, and help with your IoT prototying in a very short time. It will takes away a lot of the pains form the development process.
M5stickC is one of the core devices in M5Stack product series which is built in a continues growing hardware & software ecosystem. It has a lot of compatible modules & units, as well as the open source code & engineering community that will help you maximum your benefit in every step of the developing process.
@@ -4,7 +4,7 @@
## Driver Installation
> Before the program is burned, M5Core host (including BASIC / GRAY / M5GO / FIRE / FACES) users please download the corresponding CP210X driver package according to the operating system you use. After decompressing the package, select the corresponding package The installation package of the operating system digits.
> Before the program is burned, M5Core host (including BASIC / GRAY / M5GO / FIRE / FACES) users please download the corresponding CP210X driver package according to the operating system you use. After decompressing the packageselect the corresponding installation package base on your operating system digits.
* __Download CP2104 driver__
@@ -64,42 +64,41 @@
<img src="assets/img/getting_started_pics/how_to_burn_firmware/M5Burner/M5Burner_01.jpg">
?>Note: After the installation of MacOS users, please put the application in the Application folder, as shown in the figure below.
?>Note: MacOS users please put M5Burner App in the Application folder after the installation as shown in the figure below.
><img src="/image/base/application.png" width="70%">
## Firmware burning
> 1. Double-click the Burner burning tool, click the download button in the left menu, download the firmware version you need, and then connect the M5 device to the computer through a Type-C data cable, select the corresponding COM port, and the baud rate , And the type of programming device.
> 1. Double-click the Burner burning tool and click the download button in the left menu according to the firmware version you need. Then, connect the M5 device to the computer via a Type-C data cable, select the corresponding COM, baud rate , as well as the type of your programming device.
?>Note: M5Burner includes UIFlow firmware versions for many M5Stack products. Therefore, you need to select the correct device type before proceeding with the burning process to obtain the firmware that matches the device, as shown in the figure below. (The burning rate can use the default configuration of the burner. In special cases, you can try to reduce it to 115200).
?>Note: M5Burner includes different UIFlow firmware versions from different M5Stack products. Therefore, you need to select the correct device type before proceeding with the burning process to obtain the firmware that matches the device, as shown in the figure below. (The default burning rate of the configuration can be chosen. In special cases like malfunction of the burning process, you can try to reduce the burning rate to 115200).
<img src="/image/base/device_select.jpg" width="70%">
> 2. Select the firmware version you want to burn, connect the device to the computer via Type-C data cable, select the corresponding COM port and device type. Click "Burn" to start burning.
> 2. Select the firmware version you want to burn, connect the device to the computer via Type-C data cable, select the corresponding COM port and device type. Click "Burn" to start burning. When the burning log prompts ' Hard resetting via RTS pin ', it means the firmware has finished burning already.
?> 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.
?> When first burning or the firmware program runs abnormally, you can click "Erase" to erase the flash memory so that there is no need to erase again in the subsequent firmware update. Otherwise, the Wi-Fi information which is saved already will be deleted and the API Key will be refreshed.
<img src="/image/base/Burner_user.gif " width="70%">
## Configure WIFI
> UIFlow provides an offline and web version of the programmer. When using the web version of UIFlow, we need to configure a WiFi connection for the device. The following describes two ways to configure WiFi connection for the device (flash configuration and AP hotspot configuration).
> 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
?> UIFlow-1.4.5 and above can write WiFi information directly through M5Burner.
?> UIFlow-1.4.5 and the above versions are in support of the pre-burning configuration under WIFI connnection. All users need to do is to fill in WIFI configuration box before setting your firmware to burn. After the configuration of WIFI, clicking 'Burn' to start firmware burning so that the WIFI infomation you filled in together with your firmware will be burned and stored into your M5 device.
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\m5burner_wifi.jpg " width="70%">
### AP hotspot configuration WiFi
> 1. Click the red power button on the left side of the device to turn it on, press button A quickly after the UIFlow Logo appears on the screen, and use a mobile phone to connect to the wifi hotspot displayed on the device screen
> 1. Click the red power button on the left side of the device to turn it on, press button A once the UIFlow Logo appears on the screen, and use a mobile phone to connect to the wifi hotspot displayed on the device screen
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\uiflow_wifi_setup1.jpg ">
> 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 make the device record your WiFi information. The device will restart automatically after successful configuration. And enter programming mode.
> 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 successful configuration and enter programming mode.
?> Note: Special characters such as "space" are not allowed in the configured WiFi information.
@@ -109,30 +108,30 @@
#### 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. By default, 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.
?> 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.
> After powering on, press button A in the main menu interface to select the programming mode. Wait for the right indicator light to turn green in the programming mode page, scan the QR code on the screen with a tablet, or directly access it in a computer browser.[flow.m5stack.com](http://flow.m5stack.com/)Enter the UIFlow programming page.
> After turning on your device, you can enter the coding mode by pushing the left button on the front surface of the device once the screen shows UIFlow logo. When the indicator on the coding page turns color from red to green, you can visit website [flow.m5stack.com](http://flow.m5stack.com/) in your computer browser to access UIFlow coding page.
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\uiflow_program_mode.jpg ">
#### API KEY
> API KEY is the communication credentials 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 specified device. The user needs to visit in the computer browser[flow.m5stack.com](http://flow.m5stack.com/)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 for the prompt to connect successfully.
> API KEY is the communication credential for M5 devices when using UIFlow web programming. By configuring the corresponding API KEY on UIFlow side, programs can be pushed for the specific devices. 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 for connecting, click OK to save and wait till it prompts successfully connecting
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\uiflow_apikey.jpg ">
## Hello M5
> Complete the above steps, you can start programming with UIFlow. The following will show you a simple program that drives the screen to display "Hello M5". (1. Place a label 2. Add a label program block .3 Click the run button in the upper right corner)
> With the above steps being settled, you can start programming with UIFlow. The following will show you a simple program that drives the screen to display "Hello M5". (1. Place a label 2. Add a label program block .3 Click the run button in the upper right corner)
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\hello_m5.gif ">
## UIFlow Desktop IDE
> UIFlow Desktop IDE is an offline version of UIFlow programmer, which does not require network dependencies, and can provide a responsive program push experience. Please click the corresponding version of **UIFlow-Desktop-IDE** to download according to your operating system .
> 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">
@@ -160,15 +159,15 @@
#### USB programming mode
> Unzip the downloaded UIFlow Desktop IDE archive, and double-click to execute the application.
> 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.jpg">
?> After the software starts, it will automatically detect whether your computer has a USB driver (CP210X) installed, click Install, and follow the prompts to install it.
?> 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.
<img src="assets/img/related_documents/UIFlow_Desktop_IDE/Desktop_IDE_02.png">
> 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.
> After the driver installation is completed, it will automatically enter the UIFlow Desktop IDE with the configuration box popping up. At this time, connect the M5 device to the computer via the Tpye-C data cable.
<img src="assets/img/related_documents/UIFlow_Desktop_IDE/Desktop_IDE_03.png">
+27 -20
View File
@@ -1,31 +1,38 @@
# Arduino IDE 环境搭建{docsify-ignore-all}
## 驱动安装
## 安装串口驱动
>程序烧录前,M5Core型主机(包含BASIC/GRAY/M5GO/FIRE/FACES)用户请根据您使用的操作系统,点击下方按钮下载相应的CP210X驱动程序压缩包.在解压压缩包后,选择对应操作系统位数的安装包进行安装。
>1.点击下方对应自己操作系统的CP210X驱动程序 进行下载.
?>注意:M5StickC/V/T/ATOM系列支持可免驱动使用,用户可跳过该驱动安装步骤。
<div class="link">
<h4><span>CP210X Driver:</span></h4>
<p>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Windows.zip" target="_blank" rel="noopener noreferrer"><img src="https://cdn.shopify.com/s/files/1/0056/7689/2250/files/windows_89cc6ea0-2a3c-4327-97e5-8f51f448c38b_icon.png?v=1557026574" alt="">Windows</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_MacOS.zip" target="_blank" rel="noopener noreferrer"><img src="https://cdn.shopify.com/s/files/1/0056/7689/2250/files/mac_large.png?v=1557026570" alt="">MacOS</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Linux.zip" target="_blank" rel="noopener noreferrer"><img src="https://cdn.shopify.com/s/files/1/0056/7689/2250/files/linux_icon.png?v=1557026584" alt="">Linux</a>
</p>
* __下载CP2104驱动程序__
<div class="files_download">
<p class="item">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Windows.zip">
<img src="/image/base/Windows_logo.png" width="50">
<span class="item-title">Windows10</span>
</a>
</p>
<p class="item">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_MacOS.zip">
<img src="/image/base/MacOS_logo.png" width="50">
<span class="item-title">MacOS</span>
</a>
</p>
<p class="item">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Linux.zip">
<img src="/image/base/Linux_logo.png" width="50">
<span class="item-title">Linux</span>
</a>
</p>
</div>
### For Windows
>将下载好的驱动压缩包解压,选择对应您操作系统的安装程序,双击安装.
<img src="assets/img/related_documents/Arduino_IDE/CP210X_WIN.jpg">
### For Mac
>将下载好的驱动压缩包解压,安装程序,双击镜像文件开始安装.
<img src="assets/img/related_documents/Arduino_IDE/CP210X_MAC.png">
><img src="/image/base/CP210X_install.gif " width="70%">
+2 -2
View File
@@ -8,13 +8,13 @@
**M5Stack BASIC** 是M5Stack开发套件系列中的一款,拥有超高性价比与丰富案例资源的入门级开发套件.对于开发新手来说, Basic 是不二之选.
快速成型,超低门槛,直达产品级,M5Stack 开发板会是你物联网开发的不二之选.传统开发板只能用作验证和学习,M5的出现赋予了开发板更多的可能性,M5Stack 开发板采用了工业级外壳,再加上精致的外观设计,整体性能稳定,除了验证和学习的功能之外,还可以加速开发和产品化的进程.采用**ESP32**物联网芯片.集成Wi-Fi和蓝牙模块,拥有 4MB 的 SPI 闪存,双核低功耗的它在多种应用场景中有着非凡表现.由 30 多个 M5Stack [可堆叠模块](https://docs.m5stack.com/#/zh_CN/?id=module)40 多个[可扩展单元](https://docs.m5stack.com/#/zh_CN/?id=unit)组成的硬件拓展体系,能够快速的帮助你搭建和验证你的物联网产品.
快速成型,超低门槛,直达产品级,M5Stack 开发板会是你物联网开发的不二之选.传统开发板只能用作验证和学习,M5的出现赋予了开发板更多的可能性,M5Stack 开发板采用了工业级外壳,再加上精致的外观设计,整体性能稳定,除了验证和学习的功能之外,还可以加速开发和产品化的进程.采用**ESP32**物联网芯片.集成Wi-Fi和蓝牙模块,拥有 4MB 的 SPI 闪存,双核低功耗的它在多种应用场景中有着非凡表现.由 30 多个 M5Stack 可堆叠模块,40 多个可扩展单元组成的硬件拓展体系,能够快速的帮助你搭建和验证你的物联网产品.
支持的开发平台和程序语言:Arduino,[UIFlow](http://flow.m5stack.com) (采用Blockly MicroPython语言). 无论你的开发和编程能力处在何种水平,M5Stack 都将协助你,逐步的将想法变为现实.
如果你开发过 ESP8266,你会发现 ESP32 是 ESP8266 的完美升级版.相比之下,ESP32 具有更多 GPIO ,更多的模拟输入和两个模拟输出,多个外设接口(如备用UART).官方开发平台 ESP-IDF 已经移植了 FreeRTOS,借助双核与实时操作系统,能使你更加高效的去组织你的程序代码,优化程序的执行效率.
M5Stack Basic 由两个可分离部分堆叠组成. 顶部放置了电路板,芯片,各种电子元器件和一些接口组件.底部放置了锂电池,[M-BUS](https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_schematic/M-BUS.png) 总线母座和边缘的拓展引脚.
M5Stack Basic 由两个可分离部分堆叠组成. 顶部放置了电路板,芯片,各种电子元器件和一些接口组件.底部放置了锂电池,M-BUS 总线母座和边缘的拓展引脚.
## 产品特性
+2 -2
View File
@@ -10,9 +10,9 @@
我们可以在很多的应用场景中使用姿态传感器用作:检测加速度、角度、轨迹延伸等数据.根据这些去制作出相关的产品,如运动数据采集器,3D远程手势控制器等.
M5Stack Fire 配有三个可分离部件. 顶部与其他的M5主机一样,放置了电路板,芯片,LCD屏幕,2.4G天线,,各种电子元器件以及一些接口组件.中间部分称为 [M5GO 底座](https://docs.m5stack.com/#/zh_CN/base/m5go_bottom),提供锂电池,[M-BUS](https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_schematic/M-BUS.png) 总线母座,LED条和三个GROVE拓展端口. 位于最底部的是充电底座,可以与 M5GO 底座通过 POGO 引脚进行连接,进行充电.
M5Stack Fire 配有三个可分离部件. 顶部与其他的M5主机一样,放置了电路板,芯片,LCD屏幕,2.4G天线,,各种电子元器件以及一些接口组件.中间部分称为 M5GO 底座,提供锂电池,M-BUS总线母座,LED条和三个GROVE拓展端口. 位于最底部的是充电底座,可以与 M5GO 底座通过 POGO 引脚进行连接,进行充电.
快速成型,超低门槛,直达产品级,M5Stack 开发板会是你物联网开发的不二之选.传统开发板只能用作验证和学习,M5的出现赋予了开发板更多的可能性,M5Stack 开发板采用了工业级外壳,再加上精致的外观设计,整体性能稳定,除了验证和学习的功能之外,还可以加速开发和产品化的进程.采用**ESP32**物联网芯片.集成 Wi-Fi 和蓝牙模块,拥有4MB的SPI闪存,双核低功耗的它在多种应用场景中有着非凡表现.由30多个M5Stack [可堆叠模块](https://docs.m5stack.com/#/zh_CN/?id=module)40 多个[可扩展单元](https://docs.m5stack.com/#/zh_CN/?id=unit)组成的硬件拓展体系,能够快速的帮助你搭建和验证你的物联网产品.
快速成型,超低门槛,直达产品级,M5Stack 开发板会是你物联网开发的不二之选.传统开发板只能用作验证和学习,M5的出现赋予了开发板更多的可能性,M5Stack 开发板采用了工业级外壳,再加上精致的外观设计,整体性能稳定,除了验证和学习的功能之外,还可以加速开发和产品化的进程.采用**ESP32**物联网芯片.集成 Wi-Fi 和蓝牙模块,拥有4MB的SPI闪存,双核低功耗的它在多种应用场景中有着非凡表现.由30多个M5Stack 可堆叠模块,40 多个可扩展单元组成的硬件拓展体系,能够快速的帮助你搭建和验证你的物联网产品.
支持的开发平台和程序语言:Arduino,[UIFlow](http://flow.m5stack.com) 的 Blockly 语言,Micropython. 无论你的开发和编程能力处在何种水平,M5Stack都将协助你,逐步的将想法变为现实.
+1 -1
View File
@@ -12,7 +12,7 @@
我们可以在很多的应用场景中使用IMU姿态传感器用作:检测加速度、角度、轨迹延伸等数据.根据这些去制作出相关的产品,如运动数据采集器,3D远程手势控制器等.
快速成型,超低门槛,直达产品级,M5Stack开发板会是你物联网开发的不二之选.传统开发板只能用作验证和学习,M5的出现赋予了开发板更多的可能性,M5Stack开发板采用了工业级外壳,再加上精致的外观设计,整体性能稳定,除了验证和学习的功能之外,还可以加速开发和产品化的进程.采用**ESP32**物联网芯片.集成Wi-Fi和蓝牙模块,拥有4MB的SPI闪存,双核低功耗的它在多种应用场景中有着非凡表现.由30多个M5Stack [可堆叠模块](https://docs.m5stack.com/#/zh_CN/?id=module)40 多个[可扩展单元](https://docs.m5stack.com/#/zh_CN/?id=unit)组成的硬件拓展体系,能够快速的帮助你搭建和验证你的物联网产品.
快速成型,超低门槛,直达产品级,M5Stack开发板会是你物联网开发的不二之选.传统开发板只能用作验证和学习,M5的出现赋予了开发板更多的可能性,M5Stack开发板采用了工业级外壳,再加上精致的外观设计,整体性能稳定,除了验证和学习的功能之外,还可以加速开发和产品化的进程.采用**ESP32**物联网芯片.集成Wi-Fi和蓝牙模块,拥有4MB的SPI闪存,双核低功耗的它在多种应用场景中有着非凡表现.由30多个M5Stack 可堆叠模块,40 多个可扩展单元组成的硬件拓展体系,能够快速的帮助你搭建和验证你的物联网产品.
支持的开发平台和程序语言:Arduino,[UIFlow](http://flow.m5stack.com) 的 Blockly 语言,Micropython. 无论你的开发和编程能力处在何种水平,M5Stack 都将协助你,逐步的将想法变为现实.
+31 -31
View File
@@ -12,9 +12,6 @@
作为一款专为STEM教育而设计套件.M5GO想要做到的是使学生在获得知识的同时,收获乐趣,收获那份将自己的创意一步一步转换为现实的荣誉感.让学生可以自由的探索工程世界,制作自己的物联网产品,并将精彩的创意融入到现实生活中.
**注意:**
新生产的M5Core更换了显示效果与可视角更加优质的屏幕,因此与旧版的Arduino库产生了一些兼容性问题,使用旧版程序库进行屏幕驱动时会产生反色显示的现象,您可以打开Arduino的库管理选项将您的M5Stack库升级至最新版本(0.2.8以后)来解决这个问题.
## 产品特性
@@ -331,34 +328,37 @@ BMM150 I2C address 0x10
## 版本变更
<div class="table-wrapper">
<table class="fl-table">
<thead>
<tr>
<th>上市日期</th>
<th>产品变动</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>首次发售</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250变更为MPU6886+BMM150</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN屏幕变更为IPS屏幕</td>
</tr>
<tr>
<td>2019.11</td>
<td>电池容量600mAh变更为500mAh</td>
</tr>
<tbody>
</table>
</div>
<table class="fl-table">
<thead>
<tr>
<th>上市日期</th>
<th>产品变动</th>
<th>备注:</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>首次发售</td>
<td>/</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250变更为MPU6886+BMM150</td>
<td>/</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN屏幕变更为IPS屏幕</td>
<td>请将您的M5Stack库升级到最新版本(v0.2.8以上),以解决屏幕反色问题。</td>
</tr>
<tr>
<td>2019.11</td>
<td>电池容量600mAh变更为500mAh</td>
<td>/</td>
</tr>
<tbody>
</table>
## 相关视频
+31 -32
View File
@@ -12,10 +12,6 @@
作为一款专为STEM教育而设计套件.M5GO 想要做到的是使学生在获得知识的同时,收获乐趣,收获那份将自己的创意一步一步转换为现实的荣誉感.让学生可以自由的探索工程世界,制作自己的物联网产品,并将精彩的创意融入到现实生活中.
**注意:**
新生产的M5Core更换了显示效果与可视角更加优质的屏幕,因此与旧版的Arduino库产生了一些兼容性问题,使用旧版程序库进行屏幕驱动时会产生反色显示的现象,您可以打开Arduino的库管理选项将您的M5Stack库升级至最新版本(0.2.8以后)来解决这个问题.
## 产品特性
- 基于ESP32开发
@@ -328,34 +324,37 @@ BMM150 I2C address 0x10
## 版本变更
<div class="table-wrapper">
<table class="fl-table">
<thead>
<tr>
<th>上市日期</th>
<th>产品变动</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>首次发售</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250变更为MPU6886+BMM150</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN屏幕变更为IPS屏幕</td>
</tr>
<tr>
<td>2019.11</td>
<td>电池容量600mAh变更为500mAh</td>
</tr>
<tbody>
</table>
</div>
<table class="fl-table">
<thead>
<tr>
<th>上市日期</th>
<th>产品变动</th>
<th>备注:</th>
</tr>
</thead>
<tbody>
<tr>
<td>2018.4</td>
<td>首次发售</td>
<td>/</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250变更为MPU6886+BMM150</td>
<td>/</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN屏幕变更为IPS屏幕</td>
<td>请将您的M5Stack库升级到最新版本(v0.2.8以上),以解决屏幕反色问题。</td>
</tr>
<tr>
<td>2019.11</td>
<td>电池容量600mAh变更为500mAh</td>
<td>/</td>
</tr>
<tbody>
</table>
## 案例程序
@@ -68,7 +68,6 @@
><img src="/image/base/application.png" width="70%">
## 固件烧录
>1.双击打开Burner烧录工具,在左侧菜单中点击下载按钮,下载你所需要的固件版本,然后将M5设备通过Type-C数据线连接到电脑,选择对应的COM口,波特率,以及烧录设备的类型。
@@ -77,7 +76,7 @@
<img src="/image/base/device_select.jpg" width="70%">
>2.选择好您想要烧录的固件版本,将设备通过Type-C数据线连接至电脑,选择对应COM端口与设备类型.点击"Burn"开始烧录.
>2.选择好您想要烧录的固件版本,将设备通过Type-C数据线连接至电脑,选择对应COM端口与设备类型.点击"Burn"开始烧录.当烧录日志提示"Hard resetting via RTS pin"时,则表示固件已经烧录完成。
?>首次烧录或固件程序运行异常时,可点击"Erase"擦除flash内存,在后续的固件更新时,则无需再次擦除,否则将删除已保存的Wi-Fi信息且刷新API Key.
@@ -89,13 +88,13 @@
### 烧录配置WiFi
?>UIFlow-1.4.5以上版本可直接通过M5Burner写入WiFi信息
?>UIFlow-1.4.5以上版本支持WiFi连接的前期烧录配置, 用户只需在固件烧录前将WiFi信息填入WiFi配置框,随后点击"Burn"进行固件烧录,填入的WiFi信息将随同固件一起烧录保存至M5设备
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\m5burner_wifi.jpg " width="70%">
### AP热点配置WiFi
>1.单击设备左侧的红色电源键开机,在屏幕出现UIFlow Logo后迅速按下按键A,使用手机连接设备屏幕上显示的wifi热点
>1.单击设备左侧的红色电源键开机,在屏幕出现UIFlow Logo后迅速按下面板上左测按键,使用手机连接设备屏幕上显示的wifi热点
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\uiflow_wifi_setup1.jpg ">
@@ -113,7 +112,7 @@
?>网络编程模式是M5设备与UIFlow web编程平台的一个对接模式,屏幕会显示出当前设备的网络连接状态。当指示标志为绿色时,则代表随时可接收程序推送。默认情况下,在首次WiFi网络配置成功后,设备将自动重启,并进入网络编程模式。若您在运行其他应用后不知如何重新进入编程模式,你可以参考以下操作。
>开机后,在主菜单界面按下按键A选择编程模式,在编程模式页面等待信号指示灯右红变成绿色,用平板扫描屏幕上的二维码,或是在电脑浏览器直接访问[flow.m5stack.com](http://flow.m5stack.com/)进入UIFlow编程页面.
>开机后,在屏幕出现UIFlow Logo后迅速按下面板上左测按键进入编程模式,在编程模式页面等待信号指示灯右红变成绿色后,使用电脑浏览器访问[flow.m5stack.com](http://flow.m5stack.com/)进入UIFlow编程页面.
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\uiflow_program_mode.jpg ">
@@ -131,7 +130,6 @@
<img src="assets\img\getting_started_pics\m5stack_core\get_started_with_uiflow\hello_m5.gif ">
## UIFlow Desktop IDE
>UIFlow Desktop IDE是一个离线版的UIFlow编程器,无需网络依赖,且能够提供反应迅速程序推送体验,请根据您的操作系统,点击下方按钮对应版本的 **UIFlow-Desktop-IDE** 进行下载.