diff --git a/docs/assets/img/product_pics/unit/bps/bps_sch.webp b/docs/assets/img/product_pics/unit/bps/bps_sch.webp new file mode 100644 index 00000000..3a67ed2c Binary files /dev/null and b/docs/assets/img/product_pics/unit/bps/bps_sch.webp differ diff --git a/docs/assets/img/product_pics/unit/imu/imu_sch.webp b/docs/assets/img/product_pics/unit/imu/imu_sch.webp new file mode 100644 index 00000000..f46999b6 Binary files /dev/null and b/docs/assets/img/product_pics/unit/imu/imu_sch.webp differ diff --git a/docs/assets/img/product_pics/unit/iso485/iso485_sch.webp b/docs/assets/img/product_pics/unit/iso485/iso485_sch.webp new file mode 100644 index 00000000..be015ee0 Binary files /dev/null and b/docs/assets/img/product_pics/unit/iso485/iso485_sch.webp differ diff --git a/docs/assets/img/quick_start/core2/burner_m5core01.webp b/docs/assets/img/quick_start/core2/burner_m5core01.webp new file mode 100644 index 00000000..d25e58a0 Binary files /dev/null and b/docs/assets/img/quick_start/core2/burner_m5core01.webp differ diff --git a/docs/assets/img/quick_start/core2/burner_m5core02.webp b/docs/assets/img/quick_start/core2/burner_m5core02.webp new file mode 100644 index 00000000..83cc239a Binary files /dev/null and b/docs/assets/img/quick_start/core2/burner_m5core02.webp differ diff --git a/docs/assets/img/quick_start/core2/burner_m5core04.webp b/docs/assets/img/quick_start/core2/burner_m5core04.webp new file mode 100644 index 00000000..93b32407 Binary files /dev/null and b/docs/assets/img/quick_start/core2/burner_m5core04.webp differ diff --git a/docs/assets/img/quick_start/core2/burner_m5core05.webp b/docs/assets/img/quick_start/core2/burner_m5core05.webp new file mode 100644 index 00000000..47a84526 Binary files /dev/null and b/docs/assets/img/quick_start/core2/burner_m5core05.webp differ diff --git a/docs/assets/img/quick_start/core2/burner_wifi.webp b/docs/assets/img/quick_start/core2/burner_wifi.webp new file mode 100644 index 00000000..38d38915 Binary files /dev/null and b/docs/assets/img/quick_start/core2/burner_wifi.webp differ diff --git a/docs/assets/img/quick_start/core2/core_ap_setup.webp b/docs/assets/img/quick_start/core2/core_ap_setup.webp new file mode 100644 index 00000000..2140a711 Binary files /dev/null and b/docs/assets/img/quick_start/core2/core_ap_setup.webp differ diff --git a/docs/assets/img/quick_start/core2/core_wifi_mode.webp b/docs/assets/img/quick_start/core2/core_wifi_mode.webp new file mode 100644 index 00000000..e7c908d1 Binary files /dev/null and b/docs/assets/img/quick_start/core2/core_wifi_mode.webp differ diff --git a/docs/assets/img/quick_start/core2/uiflow_apikey.webp b/docs/assets/img/quick_start/core2/uiflow_apikey.webp new file mode 100644 index 00000000..5a256370 Binary files /dev/null and b/docs/assets/img/quick_start/core2/uiflow_apikey.webp differ diff --git a/docs/assets/img/quick_start/core2/uiflow_use.gif b/docs/assets/img/quick_start/core2/uiflow_use.gif new file mode 100644 index 00000000..7855fef4 Binary files /dev/null and b/docs/assets/img/quick_start/core2/uiflow_use.gif differ diff --git a/docs/en/quick_start/core2/core2_quick_start_with_uiflow.md b/docs/en/quick_start/core2/m5stack_core2_get_started_MicroPython.md similarity index 64% rename from docs/en/quick_start/core2/core2_quick_start_with_uiflow.md rename to docs/en/quick_start/core2/m5stack_core2_get_started_MicroPython.md index 58177c60..a9571bb5 100644 --- a/docs/en/quick_start/core2/core2_quick_start_with_uiflow.md +++ b/docs/en/quick_start/core2/m5stack_core2_get_started_MicroPython.md @@ -29,7 +29,7 @@

- +> ?> Note: After the installation of MacOS users, please put the application in the Application folder, as shown in the figure below. @@ -38,17 +38,21 @@ ## 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. +>1.Double-click to open the M5Burner, ①Select the corresponding device type in the left menu, ②Select the firmware version you want, ③Click the download button to download. - + ->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. +>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, ④Click Erase on the right to erase Flash, close the current page when finished. ⑤Click "Burn" to start burning, you can input WIFI configuration information during burning. - + >3.When the burning log prompts `Burn Successfully`, it means that the firmware has been burned. - + + +>4. If you need to change the configuration, you can ⑥click configuration to setup. + + ?> 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. @@ -59,17 +63,15 @@ ### Burn configuration WiFi(recommend) -?> UIFlow-1.5.4 and versions above can write WiFi information directly through M5Burner. +?> UIFlow-1.6.2 and versions above can write WiFi information directly through M5Burner. - + ### 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. +> 1. Click the power button on the left side of the device to turn it on. The UIFlow Logo appears on the screen. After entering the main page, press the `Setup` button on the screen. In the `WiFi` option, press the start button of the config Wi-Fi by web option, and the device will automatically restart, where Secelt Wi-Fi is the last connected WiFi. After the device jumps, the WiFi Config page will be displayed. Follow the prompts to connect to the SSID hotspot through the WiFi of the mobile phone or computer, open the browser to visit __192.168.4.1__, and enter the WiFi information in the pop-up page to configure the network successfully. After the configuration is successful, the device will automatically restart. And enter the 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 successfully configuring and enter programming mode. + ?> Note: Special characters such as "space" are not allowed in the configured WiFi information. @@ -82,51 +84,17 @@ ?> 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. +> After powering on, after the menu appears on the screen, quickly press the `Flow` button in the middle of the screen to enter the API KEY page. Access UIFlow programming page by visiting [flow.m5stack.com](http://flow.m5stack.com/) on a computer browser. - + #### 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. - - -## HTTP -  -> Complete the above steps, then you can start programming with UIFlow. For example:Access Baidu via HTTP - - - -## BLE UART - -#### Function Description - ->Establish Bluetooth connection and enable Bluetooth passthrough service. - -> - -* __Init ble uart name__ -Initialize settings, configure Bluetooth device name. - -* __BLE UART Writre__ -Send data using BLE UART. - -* __BLE UART remain cache__ -Check the number of bytes of BLE UART data. - -* __BLE UART read all__ -Read all data in BLE UART cache. - -* __BLE UART read characters__ -Read n data in BLE UART cache. - -#### Instructions - ->Establish Bluetooth passthrough connection and send on / off control LED. - -> + + + ## Related Links -* [UIFlow Block introduction](zh_CN/uiflow/uiflow_home_page) +* [UIFlow Block introduction](en/uiflow/uiflow_home_page) diff --git a/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md b/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md index 4eb40eff..e0d4024e 100644 --- a/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md +++ b/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md @@ -4,7 +4,7 @@
- +

UIFlow