diff --git a/docs/assets/img/getting_started_pics/m5go.jpg b/docs/assets/img/getting_started_pics/m5go.jpg deleted file mode 100644 index 61cdcc53..00000000 Binary files a/docs/assets/img/getting_started_pics/m5go.jpg and /dev/null differ diff --git a/docs/assets/img/getting_started_pics/programming_mode_arduino.png b/docs/assets/img/getting_started_pics/programming_mode_arduino.png deleted file mode 100644 index cb6521ad..00000000 Binary files a/docs/assets/img/getting_started_pics/programming_mode_arduino.png and /dev/null differ diff --git a/docs/assets/img/getting_started_pics/programming_mode_blockly.png b/docs/assets/img/getting_started_pics/programming_mode_blockly.png deleted file mode 100644 index dd1c82ab..00000000 Binary files a/docs/assets/img/getting_started_pics/programming_mode_blockly.png and /dev/null differ diff --git a/docs/assets/img/getting_started_pics/programming_mode_micropython .png b/docs/assets/img/getting_started_pics/programming_mode_micropython .png deleted file mode 100644 index 36587d4f..00000000 Binary files a/docs/assets/img/getting_started_pics/programming_mode_micropython .png and /dev/null differ diff --git a/docs/assets/img/getting_started_pics/programming_mode_micropython.png b/docs/assets/img/getting_started_pics/programming_mode_micropython.png deleted file mode 100644 index 0eadd75c..00000000 Binary files a/docs/assets/img/getting_started_pics/programming_mode_micropython.png and /dev/null differ diff --git a/docs/assets/img/introduction_pics/ESP32CAM.jpg b/docs/assets/img/introduction_pics/ESP32CAM.jpg deleted file mode 100644 index 675dc4ae..00000000 Binary files a/docs/assets/img/introduction_pics/ESP32CAM.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/FAQ.jpg b/docs/assets/img/introduction_pics/FAQ.jpg deleted file mode 100644 index 36176da5..00000000 Binary files a/docs/assets/img/introduction_pics/FAQ.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/M5Bala.jpg b/docs/assets/img/introduction_pics/M5Bala.jpg deleted file mode 100644 index 87c31d01..00000000 Binary files a/docs/assets/img/introduction_pics/M5Bala.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/M5GO.jpg b/docs/assets/img/introduction_pics/M5GO.jpg deleted file mode 100644 index 593f3a29..00000000 Binary files a/docs/assets/img/introduction_pics/M5GO.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/get-started.jpg b/docs/assets/img/introduction_pics/get-started.jpg deleted file mode 100644 index 54491d69..00000000 Binary files a/docs/assets/img/introduction_pics/get-started.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/m5-api-reference.jpg b/docs/assets/img/introduction_pics/m5-api-reference.jpg deleted file mode 100644 index efcd29b4..00000000 Binary files a/docs/assets/img/introduction_pics/m5-api-reference.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/m5-arduino.jpg b/docs/assets/img/introduction_pics/m5-arduino.jpg deleted file mode 100644 index cc13dbc3..00000000 Binary files a/docs/assets/img/introduction_pics/m5-arduino.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/m5-awesome.jpg b/docs/assets/img/introduction_pics/m5-awesome.jpg deleted file mode 100644 index 7d3673af..00000000 Binary files a/docs/assets/img/introduction_pics/m5-awesome.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/m5-micropython.jpg b/docs/assets/img/introduction_pics/m5-micropython.jpg deleted file mode 100644 index f5f25a18..00000000 Binary files a/docs/assets/img/introduction_pics/m5-micropython.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/m5-stepmotor.jpg b/docs/assets/img/introduction_pics/m5-stepmotor.jpg deleted file mode 100644 index cd82beef..00000000 Binary files a/docs/assets/img/introduction_pics/m5-stepmotor.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/m5stack-forum.jpg b/docs/assets/img/introduction_pics/m5stack-forum.jpg deleted file mode 100644 index b2baf3f3..00000000 Binary files a/docs/assets/img/introduction_pics/m5stack-forum.jpg and /dev/null differ diff --git a/docs/assets/img/introduction_pics/product-documents.jpg b/docs/assets/img/introduction_pics/product-documents.jpg deleted file mode 100644 index 7dbec619..00000000 Binary files a/docs/assets/img/introduction_pics/product-documents.jpg and /dev/null differ diff --git a/docs/assets/img/m5stack_case/units/TempHumiMeter_01.png b/docs/assets/img/m5stack_case/units/TempHumiMeter_01.png deleted file mode 100644 index fa906423..00000000 Binary files a/docs/assets/img/m5stack_case/units/TempHumiMeter_01.png and /dev/null differ diff --git a/docs/assets/img/notice-icons.sketch b/docs/assets/img/notice-icons.sketch deleted file mode 100644 index 8700f585..00000000 Binary files a/docs/assets/img/notice-icons.sketch and /dev/null differ diff --git a/docs/assets/img/programming_mode_arduino.png b/docs/assets/img/programming_mode_arduino.png deleted file mode 100644 index cb6521ad..00000000 Binary files a/docs/assets/img/programming_mode_arduino.png and /dev/null differ diff --git a/docs/assets/img/programming_mode_blockly.png b/docs/assets/img/programming_mode_blockly.png deleted file mode 100644 index dd1c82ab..00000000 Binary files a/docs/assets/img/programming_mode_blockly.png and /dev/null differ diff --git a/docs/assets/img/programming_mode_micropython.png b/docs/assets/img/programming_mode_micropython.png deleted file mode 100644 index 36587d4f..00000000 Binary files a/docs/assets/img/programming_mode_micropython.png and /dev/null differ diff --git a/docs/assets/img/screenshots/FactoryTest_result.png b/docs/assets/img/screenshots/FactoryTest_result.png deleted file mode 100644 index ab97ede8..00000000 Binary files a/docs/assets/img/screenshots/FactoryTest_result.png and /dev/null differ diff --git a/docs/assets/img/screenshots/arduino_path.png b/docs/assets/img/screenshots/arduino_path.png deleted file mode 100644 index f88b1bae..00000000 Binary files a/docs/assets/img/screenshots/arduino_path.png and /dev/null differ diff --git a/docs/assets/img/screenshots/arduino_windows_installer.png b/docs/assets/img/screenshots/arduino_windows_installer.png deleted file mode 100644 index 48fe3042..00000000 Binary files a/docs/assets/img/screenshots/arduino_windows_installer.png and /dev/null differ diff --git a/docs/assets/img/screenshots/download_m5go_thermal_firmware_01.png b/docs/assets/img/screenshots/download_m5go_thermal_firmware_01.png deleted file mode 100644 index 21bd39e2..00000000 Binary files a/docs/assets/img/screenshots/download_m5go_thermal_firmware_01.png and /dev/null differ diff --git a/docs/assets/img/screenshots/download_m5go_thermal_firmware_02.png b/docs/assets/img/screenshots/download_m5go_thermal_firmware_02.png deleted file mode 100644 index 9d884cb9..00000000 Binary files a/docs/assets/img/screenshots/download_m5go_thermal_firmware_02.png and /dev/null differ diff --git a/docs/assets/img/screenshots/download_m5stack_lib.png b/docs/assets/img/screenshots/download_m5stack_lib.png deleted file mode 100644 index e90782b6..00000000 Binary files a/docs/assets/img/screenshots/download_m5stack_lib.png and /dev/null differ diff --git a/docs/assets/img/screenshots/download_xtensa_tools.png b/docs/assets/img/screenshots/download_xtensa_tools.png deleted file mode 100644 index c5156796..00000000 Binary files a/docs/assets/img/screenshots/download_xtensa_tools.png and /dev/null differ diff --git a/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_Browser.png b/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_Browser.png deleted file mode 100644 index dae1e500..00000000 Binary files a/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_Browser.png and /dev/null differ diff --git a/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_M5CAM.png b/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_M5CAM.png deleted file mode 100644 index 61b396a4..00000000 Binary files a/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_M5CAM.png and /dev/null differ diff --git a/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_Terminal.png b/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_Terminal.png deleted file mode 100644 index 3c5763a9..00000000 Binary files a/docs/assets/img/screenshots/get_started_esp32cam/ESP32CAM_Terminal.png and /dev/null differ diff --git a/docs/assets/img/screenshots/mkdir_espressif.png b/docs/assets/img/screenshots/mkdir_espressif.png deleted file mode 100644 index a770caa8..00000000 Binary files a/docs/assets/img/screenshots/mkdir_espressif.png and /dev/null differ diff --git a/docs/assets/img/screenshots/my_com.png b/docs/assets/img/screenshots/my_com.png deleted file mode 100644 index cfbd437b..00000000 Binary files a/docs/assets/img/screenshots/my_com.png and /dev/null differ diff --git a/docs/assets/img/screenshots/select_arduino_lib.png b/docs/assets/img/screenshots/select_arduino_lib.png deleted file mode 100644 index e820d183..00000000 Binary files a/docs/assets/img/screenshots/select_arduino_lib.png and /dev/null differ diff --git a/docs/assets/img/screenshots/select_board_and_com.png b/docs/assets/img/screenshots/select_board_and_com.png deleted file mode 100644 index 4476f38d..00000000 Binary files a/docs/assets/img/screenshots/select_board_and_com.png and /dev/null differ diff --git a/docs/assets/img/screenshots/select_demo.png b/docs/assets/img/screenshots/select_demo.png deleted file mode 100644 index 45183285..00000000 Binary files a/docs/assets/img/screenshots/select_demo.png and /dev/null differ diff --git a/docs/assets/img/screenshots/select_get_exe_file.png b/docs/assets/img/screenshots/select_get_exe_file.png deleted file mode 100644 index 9d715826..00000000 Binary files a/docs/assets/img/screenshots/select_get_exe_file.png and /dev/null differ diff --git a/docs/assets/img/transport.gif b/docs/assets/img/transport.gif deleted file mode 100644 index eccab6ff..00000000 Binary files a/docs/assets/img/transport.gif and /dev/null differ diff --git a/docs/assets/img/upload_file_to_alioss.py b/docs/assets/img/upload_file_to_alioss.py new file mode 100644 index 00000000..b9e548e2 --- /dev/null +++ b/docs/assets/img/upload_file_to_alioss.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +import oss2 +import time +import os +import sys +# 阿里云主账号AccessKey拥有所有API的访问权限,风险很高。强烈建议您创建并使用RAM账号进行API访问或日常运维,请登录 https://ram.console.aliyun.com 创建RAM账号。 +auth = oss2.Auth('LTAILysC4tiYYWJF', 'sh7D9Qjs0VRXl0fEkFESazMUCu3HU5') +# Endpoint以杭州为例,其它Region请按实际情况填写。 +endpoint = 'http://oss-cn-shenzhen.aliyuncs.com' +# 设置连接超时时间设为30秒。 +bucket = oss2.Bucket(auth, endpoint, 'm5-docs', connect_timeout=30) + +def percentage(consumed_bytes, total_bytes): + if total_bytes: + rate = int(100 * (float(consumed_bytes) / float(total_bytes))) + print('\r{0}% '.format(rate), end='') + sys.stdout.flush() +def uploadFiles(bucket,tmp_file): + """ uploadFiles + Upload FLAGS.files to the oss + """ + start_time = time.time() + if not os.path.exists(tmp_file): + print("File {0} is not exists!".format(tmp_file)) + else: + print("Will upload {0} to the oss!".format(tmp_file)) + tmp_time = time.time() + # cut the file name + filename = tmp_file[tmp_file.rfind("\\") + 1: len(tmp_file)] + ossFilename = 'docs/'+filename + oss2.resumable_upload( + bucket, + ossFilename, + tmp_file, + progress_callback=percentage) + print("URL:https://huannan-image.oss-cn-shenzhen.aliyuncs.com/docs/"+filename) + +if __name__=='__main__': + # file_name=input("please input a image filename>>") + # uploadFiles(bucket,file_name) + # print() + + # from pathlib import Path, PureWindowsPath, PurePosixPath + + for root, dirs, files in os.walk(os.getcwd()): + for file in files: + if file == 'upload_file_to_alioss.py' or file == 'temp.md': + pass + else: + filename = os.path.join(root, file) + remote_filepath = os.path.relpath(filename).replace('\\', '/') + # print(filename) + print('docs/en/'+remote_filepath) + bucket.put_object_from_file('docs/ja/'+remote_filepath, filename) + diff --git a/docs/en/unit/temp.md b/docs/en/unit/temp.md deleted file mode 100644 index 16295253..00000000 --- a/docs/en/unit/temp.md +++ /dev/null @@ -1,25 +0,0 @@ -## Description - -This is a unit can detect distance using a newest "Time-to-Flight" sensor using laser light. It is higher precision than most distance sensors. The unit comunicates with M5Core with I2C. - -## Feature - -- High precision -- Measure absolute distances up to 2m -- GROVE interface, support [UiFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) -- Two Lego installation holes - -## APPLICATION - -- 1D gesture recognition - -## Related Link - -- **Example** - [Arduino](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/TOF_VL53L0X) - -- **Datasheet** - [VL53L0X](https://pdf1.alldatasheet.com/datasheet-pdf/view/948120/STMICROELECTRONICS/VL53L0X.html) - - - -- **[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-ToF-Unit-VL53L0X-Time-of-Flight-ToF-Laser-Ranging-Sensor-Breakout-Laser-Distance-Sensor/3226069_32949310300.html?spm=a2g1x.12024536.productList_5885013.pic_3)** - diff --git a/docs/en/unit/temp_folder/esp32cam.md b/docs/en/unit/temp_folder/esp32cam.md deleted file mode 100644 index 7f16236e..00000000 --- a/docs/en/unit/temp_folder/esp32cam.md +++ /dev/null @@ -1,84 +0,0 @@ -# Unit ESP32CAM - - - -*** - -:memo:**[Description](#Description)**      :octocat:**[Example](#Example)**       :electric_plug:**[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Units/esp32-cam/M5CAM-ESP32-A1-POWER.pdf)**       🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-ESP32-Camera-Module-Development-Board-OV2640-Camera-Type-C-Grove-Port-3D-Wifi-Antenna/3226069_32881414545.html)** - -## Description - -The **ESP32Cam** is a tiny unit based on ESP32 chip and OV2640. You can even program it through ESP-IDF. - -The ESP32Cam equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger , so your ESP32Cam project can be battery-powered and truly wireless. Additionally, the board reserved the Welding positions of MPU6050,BME280 and an analog MIC. - - -## Include - -- 1x M5 Camera -- 1x Type-C USB Cable - - -## Feature - -- ESP32 specifications - + Dual-core Tensilica LX6 microprocessor - + Up to 240MHz clock frequency - + 512K internal SRAM - + 4MB Flash memory - + Integrated 802.11 BGN WiFi transceiver - + Integrated dual-mode Bluetooth (classic and BLE) - + Hardware accelerated encryption (AES, SHA2, ECC, RSA-4096) -- CP2104 USB TTL -- OV2640 sensor - - Output Formats(8-bit): - + YUV(422/420)/YCbCr422 - + RGB565/555 - + 8-bit compressed data - + 8-/10-bit Raw RGB data - - Maximum Image Transfer Rate - + UXGA/SXGA: 15fps - + SVGA: 30fps - + CIF: 60fps - - Scan Mode: Progressive -- Camera specifications - + CCD size : 1/4inch - + Field of View : 78 degree - + Maxmium Pixel: 200W -- Sensor best resolution: 1600 * 1200 -- Dimension: 25mm x 24mm -- Weight: 5g - - -## Related Link - -- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** - -- **[Forum](http://forum.m5stack.com/)** - -- **[Datasheet]** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [OV2640](https://www.uctronics.com/download/cam_module/OV2640DS.pdf) - -- **[PinMap](https://github.com/m5stack/M5-Schematic/blob/master/Units/esp32-cam/hardware_diff_with_ESP32CAM_M5Camera.md)** - -- **[Quick Start](/en/quick_start/m5camera/m5camera_quick_start)** - -## Example - - - -## Schematic - - - -### PinMap - - \ No newline at end of file diff --git a/docs/en/unit/temp_folder/m5camera.md b/docs/en/unit/temp_folder/m5camera.md deleted file mode 100644 index 1d4b2cdf..00000000 --- a/docs/en/unit/temp_folder/m5camera.md +++ /dev/null @@ -1,84 +0,0 @@ -# Unit M5CAMERA - -
- -*** - -:memo:**[Description](#Description)**      :octocat:**[Example](#Example)**       :electric_plug:**[Schematic](#Schematic)**       🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-ESP32-WROVER-with-PSRAM-Camera-Module-OV2640-Type-C-Grove-Port-Mini-Camera-Development/3226069_32909972455.html?spm=2114.12010612.8148356.24.57e2724dWGWCCC)** - -## Description - -The **M5Camera** is a tiny unit based on ESP32 chip and OV2640 including PSRAM. You can even program it through ESP-IDF. - -The M5Camera equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger (IP5306) , so your M5Camera project can be battery-powered and truly wireless. Additionally, the board reserved the Welding positions of MPU6050,BME280 and an analog MIC. - - -## Include - -- 1x M5 Camera -- 1x Type-C USB Cable - - -## Feature - -- ESP32 specifications - + Dual-core Tensilica LX6 microprocessor - + Up to 240MHz clock frequency - + 4MB internal SRAM - + 4MB Flash memory - + Integrated 802.11 BGN WiFi transceiver - + Integrated dual-mode Bluetooth (classic and BLE) - + Hardware accelerated encryption (AES, SHA2, ECC, RSA-4096) -- CP2104 USB TTL -- OV2640 sensor - - Output Formats(8-bit): - + YUV(422/420)/YCbCr422 - + RGB565/555 - + 8-bit compressed data - + 8-/10-bit Raw RGB data - - Maximum Image Transfer Rate - + UXGA/SXGA: 15fps - + SVGA: 30fps - + CIF: 60fps - - Scan Mode: Progressive -- Camera specifications - + CCD size : 1/4inch - + Field of View : 78 degree - + Maxmium Pixel: 200W -- Sensor best resolution: 1600 * 1200 -- Dimension: 25mm x 24mm -- Weight: 5g - - -## Related Link - -- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** - -- **[Forum](http://forum.m5stack.com/)** - -- **[Datasheet]** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [OV2640](https://www.uctronics.com/download/cam_module/OV2640DS.pdf) - -- **[PinMap](https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera.md)** - -- **[Quick Start](/en/quick_start/m5camera/m5camera_quick_start)** - -## Example - - - -## Schematic - - - -### PinMap - - \ No newline at end of file diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index 2ca40c3e..d4e90782 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -60,7 +60,7 @@ **输入/传感类Unit** -[![M5GO_Unit_env.png](https://i.loli.net/2018/12/13/5c12229aed8e7.png)](zh_CN/unit/env) [![M5GO_Unit_ir.png](https://i.loli.net/2018/12/13/5c1222c75a47c.png)](zh_CN/unit/ir) [![M5GO_Unit_pir.png](https://i.loli.net/2018/12/13/5c1222b138916.png)](zh_CN/unit/pir) [![M5GO_Unit_angle.png](https://i.loli.net/2018/12/13/5c1219eb78c21.png)](zh_CN/unit/angle) +[![M5GO_Unit_env.png](https://i.loli.net/2018/12/13/5c12229aed8e7.png)](zh_CN/unit/env) [![M5GO_Unit_ir.png](https://i.loli.net/2018/12/13/5c1222c75a47c.png)](zh_CN/unit/ir) [![M5GO_Unit_pir.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/docs/assets/img/product_pics/pictures_for_homepage/units/M5GO_Unit_pir.png)](zh_CN/unit/pir) [![M5GO_Unit_angle.png](https://i.loli.net/2018/12/13/5c1219eb78c21.png)](zh_CN/unit/angle) [![M5GO_Unit_adc.png](https://i.loli.net/2018/12/13/5c12192a6110d.png)](zh_CN/unit/adc)[![M5GO_Unit_dac.png](https://i.loli.net/2018/12/13/5c1219d495a9a.png)](zh_CN/unit/dac)[![M5GO_Unit_button.png](https://i.loli.net/2018/12/13/5c121a068c209.png)](zh_CN/unit/button)[![M5GO_Unit_dual_button.png](https://i.loli.net/2018/12/13/5c121a1adfedb.png)](zh_CN/unit/dual_button)