diff --git a/docs/assets/img/product_pics/units/M5GO_Unit_joystick_01.jpg b/docs/assets/img/product_pics/units/M5GO_Unit_joystick_01.jpg deleted file mode 100644 index be5f8d68..00000000 Binary files a/docs/assets/img/product_pics/units/M5GO_Unit_joystick_01.jpg and /dev/null differ diff --git a/docs/assets/img/product_pics/units/M5GO_Unit_joystick_01.png b/docs/assets/img/product_pics/units/M5GO_Unit_joystick_01.png new file mode 100644 index 00000000..8d3ed80a Binary files /dev/null and b/docs/assets/img/product_pics/units/M5GO_Unit_joystick_01.png differ diff --git a/docs/assets/img/product_pics/units/M5GO_Unit_joystick_2.png b/docs/assets/img/product_pics/units/M5GO_Unit_joystick_02.png similarity index 100% rename from docs/assets/img/product_pics/units/M5GO_Unit_joystick_2.png rename to docs/assets/img/product_pics/units/M5GO_Unit_joystick_02.png diff --git a/docs/assets/img/product_pics/units/M5GO_Unit_joystick_3.png b/docs/assets/img/product_pics/units/M5GO_Unit_joystick_03.png similarity index 100% rename from docs/assets/img/product_pics/units/M5GO_Unit_joystick_3.png rename to docs/assets/img/product_pics/units/M5GO_Unit_joystick_03.png diff --git a/docs/assets/img/product_pics/units/unit_example/COLOR/example_unit_color_result_01.png b/docs/assets/img/product_pics/units/unit_example/COLOR/example_unit_color_result_01.png new file mode 100644 index 00000000..e100a72e Binary files /dev/null and b/docs/assets/img/product_pics/units/unit_example/COLOR/example_unit_color_result_01.png differ diff --git a/docs/index.html b/docs/index.html index 51d76f5e..3690ef02 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,6 +1,5 @@ - diff --git a/docs/zh_CN/product_documents/units/unit_adc.md b/docs/zh_CN/product_documents/units/unit_adc.md index 1d84740e..bbcc967b 100644 --- a/docs/zh_CN/product_documents/units/unit_adc.md +++ b/docs/zh_CN/product_documents/units/unit_adc.md @@ -8,7 +8,7 @@ ## 描述 -这是带自校准功能的16位模拟数字转换unit,相比ESP32芯片自带的ADC(12位)功能分辨率高了不少,意味着你可以测量更小幅值的电压等模拟量,也就是能测量更细微一倍的模拟量,比如采集心电电压做心电监护项目、做血压监测项目、高精度电压监控项目等等。unit集成的ADC芯片通过I2C接口与M5的主控通讯,可以设置成单周期转换和连续转换方式。 +这是带自校准功能的16位模拟数字转换unit,相比ESP32芯片自带的ADC(12位)功能分辨率高了不少,意味着你可以测量更小幅值的电压等模拟量,也就是能测量更细微一倍的模拟量,比如采集心电电压做心电监护项目、做血压监测项目、高精度电压监控项目等等。unit集成的ADC芯片通过I2C接口与M5的主控通讯(I2C地址为0x48),可以设置成单周期转换和连续转换方式。 ## 特性 @@ -34,22 +34,21 @@ ## 例程 - diff --git a/docs/zh_CN/product_documents/units/unit_color.md b/docs/zh_CN/product_documents/units/unit_color.md index 542a8565..37326aaa 100644 --- a/docs/zh_CN/product_documents/units/unit_color.md +++ b/docs/zh_CN/product_documents/units/unit_color.md @@ -31,24 +31,29 @@ Color是一个颜色传感器. 通过GROVE接口(I2C)与M5Core相连,能够识 ## 例程 - +具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Units/COLOR/UIFlow)。 --> ## 原理图 diff --git a/docs/zh_CN/product_documents/units/unit_dac.md b/docs/zh_CN/product_documents/units/unit_dac.md index b73148d9..c2198f26 100644 --- a/docs/zh_CN/product_documents/units/unit_dac.md +++ b/docs/zh_CN/product_documents/units/unit_dac.md @@ -32,22 +32,48 @@ ## 例程 - + + ### 2. UIFlow - + diff --git a/docs/zh_CN/product_documents/units/unit_earth.md b/docs/zh_CN/product_documents/units/unit_earth.md index 74cc8a9b..f387dfc3 100644 --- a/docs/zh_CN/product_documents/units/unit_earth.md +++ b/docs/zh_CN/product_documents/units/unit_earth.md @@ -29,16 +29,15 @@ Unit可以输出0/1的数字信号,也可以直接输出被测物体反映的 ### 1. Arduino IDE - +具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Units/EARTH/Arduino)。 ### 2. UIFlow @@ -54,5 +53,5 @@ float pressure = bme.readPressure();//pressure - +
M5Core(GROVE B)GPIO36GPIO265VGND
EARTH UnitGPIO36GPIO265VGND
EARTH UnitAinDin5VGND
\ No newline at end of file diff --git a/docs/zh_CN/product_documents/units/unit_joystick.md b/docs/zh_CN/product_documents/units/unit_joystick.md index 078ab445..20870987 100644 --- a/docs/zh_CN/product_documents/units/unit_joystick.md +++ b/docs/zh_CN/product_documents/units/unit_joystick.md @@ -1,6 +1,8 @@ # JOYSTICK - 摇杆Unit - + + + *** @@ -29,16 +31,22 @@ Joystick Unit同样也是与M5Core相连之后,通过PORT A(I2C)控制,其I2 ### 1. Arduino IDE - +具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Units/JOYSTICK/Arduino)。 ### 2. UIFlow diff --git a/docs/zh_CN/product_documents/units/unit_light.md b/docs/zh_CN/product_documents/units/unit_light.md index ecf20eae..b357047b 100644 --- a/docs/zh_CN/product_documents/units/unit_light.md +++ b/docs/zh_CN/product_documents/units/unit_light.md @@ -27,16 +27,15 @@ ### 1. Arduino IDE - +具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Units/LIGHT/Arduino)。 ### 2. UIFlow @@ -52,5 +51,5 @@ float pressure = bme.readPressure();//pressure - +
M5Core(GROVE B)GPIO36GPIO265VGND
LIGHT UnitGPIO36GPIO265VGND
LIGHT UnitAinDin5VGND
\ No newline at end of file diff --git a/docs/zh_CN/product_documents/units/unit_tof.md b/docs/zh_CN/product_documents/units/unit_tof.md index 25b9b5e3..65dc32db 100644 --- a/docs/zh_CN/product_documents/units/unit_tof.md +++ b/docs/zh_CN/product_documents/units/unit_tof.md @@ -8,17 +8,28 @@ ## 描述 -ToF是一款用"Time-to-Flight"传感器来测量距离的Unit,相比其他测距传感器,具有更高的精度。 +ToF是一款用"Time-to-Flight"传感器(VL53L0X)发出940nm的激光来测量距离的Unit,相比其他测距传感器,具有更高的精度,可以直接确定以毫米为单位的目标物体的距离。不到30ms即可提供最长2米的毫米级的绝对距离读值。 -该Unit与M5Core通过PORT A(I2C)通信。 +该Unit与M5Core通过PORT A(I2C)通信。I2C地址为0x29 ## 特性 - 高精度 - 测量距离最大2m +- 激光波长: 940nm - GROVE接口,支持[UiFlow](http://flow.m5stack.com)编程,[Arduino](http://www.arduino.cc)编程 - Unit内置两个Lego插件孔,方便与Lego件结合 +## 应用 + +- 手势控制 + +- 激光测距 + +- 3D结构光成像(3D感测) + +- 摄像机辅助(超快速自动对焦和景深图) + ## 相关链接 - **[官方频道视频](https://i.youku.com/i/UNjE1ODA2MzE0OA==?spm=a2hzp.8253869.0.0)** @@ -29,11 +40,10 @@ ## 例程 -