diff --git a/docs/assets/img/product_pics/unit/button/unit_button_02.png b/docs/assets/img/product_pics/unit/button/unit_button_02.png new file mode 100644 index 00000000..e2440093 Binary files /dev/null and b/docs/assets/img/product_pics/unit/button/unit_button_02.png differ diff --git a/docs/en/unit/button.md b/docs/en/unit/button.md index 4f5c0287..6e39df44 100644 --- a/docs/en/unit/button.md +++ b/docs/en/unit/button.md @@ -1,4 +1,4 @@ -# BUTTON {docsify-ignore-all} +# Unit BUTTON {docsify-ignore-all} @@ -8,13 +8,29 @@ ## Description -The Unit BUTTON is a sigle-button unit that can be detected whether the button pressed or not +**BUTTON** is a single momentary push button Unit. It contains one independent "momentary on/off" button. “Momentary” means that the button rebounds on its own after it is released. The button outputs a LOW signal when pressed, and HIGH when released. The Btn stands for signal while NC stands for not used at all. + +As shown in the figure below: + + + +This unit communicates with M5Core through GROVE B port. ## Feature - GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) - Two Lego installation holes +## Include + +- 1x BUTTON Unit +- 1x Grove Cable + +## APPLICATION + +- Lamp holder switch +- Remote control switch + ## Related Link - **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** @@ -46,12 +62,8 @@ M5.update(); *If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/UIFlow).* - - - - ## Schematic @@ -59,6 +71,6 @@ M5.update(); ### PinMap - +
M5Core(GROVE B)GPIO36GPIO265VGND
M5Core(GROVE B)Btn (GPIO36)NC (GPIO26)5VGND
BUTTON UnitBUTTON Pin 5VGND
\ No newline at end of file diff --git a/docs/en/unit/dual_button.md b/docs/en/unit/dual_button.md index 0b51cf8b..09616779 100644 --- a/docs/en/unit/dual_button.md +++ b/docs/en/unit/dual_button.md @@ -1,4 +1,4 @@ -# Unit DUAL_BUTTON {docsify-ignore-all} +# Unit Dual-BUTTON {docsify-ignore-all} @@ -8,7 +8,7 @@ ## Description -**Dual Button** is a double mechanical button Unit. The mechanical buttona is momentary push button. This unit contains two independent "momentary on/off" buttons. “Momentary” means that the button rebounds on its own after it is released. The button outputs a HIGH signal when pressed, and LOW when released. +**Dual Button** is a unit built-in two momentary push buttons. It contains two independent "momentary on/off" buttons. “Momentary” means that the button rebounds on its own after it is released. The button pressed outputs a LOW signal when pressed, and HIGH when released. The GPIO36 pin outputs the level signal of Button A (blue button), and the GPIO26 (red button) pin outputs the level signal of Button B. @@ -61,8 +61,6 @@ M5.update(); *If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DUAL_BUTTON/UIFlow).* - - ## Schematic @@ -72,7 +70,7 @@ M5.update(); ### PinMap - +
M5Core(GROVE B)GPIO36GPIO265VGND
M5Core (GROVE B)GPIO36GPIO265VGND
DUAL_BUTTON UnitBlue Button PinRed Button Pin5VGND
diff --git a/docs/en/unit/ncir.md b/docs/en/unit/ncir.md index 728329ef..5f307495 100644 --- a/docs/en/unit/ncir.md +++ b/docs/en/unit/ncir.md @@ -8,21 +8,30 @@ ## Description -**NCIR** is a unit can measure body temperature or be applicated for movement detection which integrates **MLX90614** (an infrared thermometer designed for non-contact temperature sensing). The difference between it and the **[Thermal Unit](en/unit/thermal)** is mainly the NCIR Unit for surface single point temperature measurement, and the Thermal Unit for large area temperature measurement. +**NCIR** is a Unit with built-in infrared sensor **MLX90614**. Use it to measure the temperature of the surface of a human body or other object. -The unit comunicates with M5Core with I2C. And It's I2C address is 0x5A. +Unlike most temperature sensors, this sensor measures infrared light bouncing off of remote objects so it can sense temperature without having to touch them physically. Simply point the sensor towards what you want to measure and it will detect the temperature by absorbing IR waves emitted. Because it doesn't have to touch the object it's measuring, it can sense a wider range of temperatures than most digital sensors: from -70°C to +380°C! It takes the measurement over an 90-degree field of view so it can be handy for determining the average temperature of an area. + +This unit communicates with M5Core through GROVE A port(IIC interface), and it's IIC address is 0x5A. ## Feature -- High precision -- Detection range: -70℃~382.2℃ -- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) -- Two Lego installation holes +- Operating voltage: 4.5 to 5.5V +- Measuring temperature range: -70°C ~ 382.2°C +- Measurement accuracy at room temperature: ±0.5°C +- Field of view: 90° +- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) +- Two Lego plug-in holes for easy integration with Lego + +## Include + +- 1x NCIR Unit +- 1x Grove Cable ## APPLICATION - body temperature measurement -- movement detection +- Object (biological) motion detection ## Related Link @@ -77,6 +86,6 @@ temperature = result * 0.02 - 273.15; ### PinMap - +
M5Core(GROVE A)GPIO22GPIO215VGND
M5Core (GROVE A)GPIO22GPIO215VGND
NCIR UnitSCLSDA5VGND
\ No newline at end of file diff --git a/docs/ja/unit/m5camera_x.md b/docs/ja/unit/m5camera_x.md index 38d119e3..8d1f98ca 100644 --- a/docs/ja/unit/m5camera_x.md +++ b/docs/ja/unit/m5camera_x.md @@ -12,7 +12,7 @@ -このユニットは他にも、6 DoF IMU (MPU6050)、温度湿度気圧の環境センサ (BME280)、**デジタルシリコンマイク (SPM1423)**用のパターンを備えており、如果你需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraX。M5CameraX Unit 还预留了电池インターフェース。外壳内可以容纳的电池大小对应电池容量为 **80mAh**。 +このユニットは他にも、6 DoF IMU (MPU6050)、温度湿度気圧の環境センサ (BME280)、**デジタルシリコンマイク (SPM1423)**用のパターンを備えており、如果您需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraX。M5CameraX Unit 还预留了电池インターフェース。外壳内可以容纳的电池大小对应电池容量为 **80mAh**。 **注意:选配不同硬件时,M5CameraX 的命名不一样,遵循以下规则** diff --git a/docs/zh_CN/README_zh_CN.md b/docs/zh_CN/README_zh_CN.md index 58a7524f..8cf71c98 100644 --- a/docs/zh_CN/README_zh_CN.md +++ b/docs/zh_CN/README_zh_CN.md @@ -36,5 +36,5 @@ - :computer: 访问[官网](www.m5stack.com)了解最新的产品 - :busts_in_silhouette: 登录我们的[论坛](http://forum.m5stack.com)了解更多基于M5产品的创意设计 -- :mailbox_with_mail: 如果你有对产品有任何疑问或有更好的建议,请联系我们的[邮箱](tech@m5stack.com) -- :convenience_store: 如果你想继续购买我们的产品,请访问我们的[官方旗舰店](http://www.aliexpress.com/store/all-wholesale-products/3226069.html?spm=2114.12010108.100004.3.7e3a5379KoyhDo) +- :mailbox_with_mail: 如果您有对产品有任何疑问或有更好的建议,请联系我们的[邮箱](tech@m5stack.com) +- :convenience_store: 如果您想继续购买我们的产品,请访问我们的[官方旗舰店](http://www.aliexpress.com/store/all-wholesale-products/3226069.html?spm=2114.12010108.100004.3.7e3a5379KoyhDo) diff --git a/docs/zh_CN/app/bala.md b/docs/zh_CN/app/bala.md index 6067b436..a8372570 100644 --- a/docs/zh_CN/app/bala.md +++ b/docs/zh_CN/app/bala.md @@ -8,7 +8,7 @@ ## 描述 -BALA是堆叠了M5Fire,以[M5Fire](http://docs.m5stack.com/#/zh_CN/core/fire)做主控的平衡车应用,还包括了MEGA328为主控的2路直流电机驱动模块和两个轮子。你可以Arduino或MicroPython编程它。 +BALA是堆叠了M5Fire,以[M5Fire](http://docs.m5stack.com/#/zh_CN/core/fire)做主控的平衡车应用,还包括了MEGA328为主控的2路直流电机驱动模块和两个轮子。您可以Arduino或MicroPython编程它。 2路直流电机模块与M5Fire之间通过IIC通信,它的IIC地址是**0x56**。 diff --git a/docs/zh_CN/base/node_base.md b/docs/zh_CN/base/node_base.md index 9940cd6f..8d79f082 100644 --- a/docs/zh_CN/base/node_base.md +++ b/docs/zh_CN/base/node_base.md @@ -17,7 +17,7 @@ -你可以使用 M5Core 和 Node 底座实现红外遥控家电,因为内置高保真音频编解码芯片,甚至还可以实现智能音箱功能。 +您可以使用 M5Core 和 Node 底座实现红外遥控家电,因为内置高保真音频编解码芯片,甚至还可以实现智能音箱功能。 ## 特性 diff --git a/docs/zh_CN/core/basic.md b/docs/zh_CN/core/basic.md index acf9feff..5fbee9c2 100644 --- a/docs/zh_CN/core/basic.md +++ b/docs/zh_CN/core/basic.md @@ -10,7 +10,7 @@ ## 描述 -**M5Core BASIC** 是一款基于 **ESP32** 芯片(集成 Wi-Fi 和蓝牙)的基础版开发板,包括黑色的主板和[底座](zh_CN/base/core_bottom)。你可以用 [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/) 或 [Arduino](http://www.arduino.cc) 来编程它. +**M5Core BASIC** 是一款基于 **ESP32** 芯片(集成 Wi-Fi 和蓝牙)的基础版开发板,包括黑色的主板和[底座](zh_CN/base/core_bottom)。您可以用 [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/) 或 [Arduino](http://www.arduino.cc) 来编程它. 这个黑色主板包含 3 个按键、喇叭、LCD (320x240)、 TF 卡插槽。底座的设计用于拓展 M-Bus 总线的Pin 管脚出来,以方便 DIY 和产品设计,每个 Pin 脚都引出来做成了排针或排母形式,非常方便 (GPIO0, GPIO12, GPIO13, GPIO15, GPIO34 这几个关于 I2S 功能的引脚没引出)。 diff --git a/docs/zh_CN/core/fire.md b/docs/zh_CN/core/fire.md index f6c91f1e..b4274946 100644 --- a/docs/zh_CN/core/fire.md +++ b/docs/zh_CN/core/fire.md @@ -8,7 +8,7 @@ ## 描述 -**FIRE** 是一款基于 **ESP32** 芯片(集成 Wi-Fi 和蓝牙)的升级版开发板,包括红色的主板、M5GO 底座和 M5GO 充电底座。你可以用 [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/) 或 [Arduino](http://www.arduino.cc) 来编程它. 这个红色主板包含 3 个按键、喇叭、LCD(320x240)、TF 卡插槽、**MPU9250**。 +**FIRE** 是一款基于 **ESP32** 芯片(集成 Wi-Fi 和蓝牙)的升级版开发板,包括红色的主板、M5GO 底座和 M5GO 充电底座。您可以用 [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/) 或 [Arduino](http://www.arduino.cc) 来编程它. 这个红色主板包含 3 个按键、喇叭、LCD(320x240)、TF 卡插槽、**MPU9250**。 [M5GO 底座](zh_CN/base/m5go_bottom)内置 PORT B, PORT C, 2 个 RGBLed 灯条 (SK6812), 一个麦克风和一个电池 (550mAh)。 diff --git a/docs/zh_CN/core/gray.md b/docs/zh_CN/core/gray.md index 8ea49189..54bbd3cc 100644 --- a/docs/zh_CN/core/gray.md +++ b/docs/zh_CN/core/gray.md @@ -10,7 +10,7 @@ ## 描述 -**M5Core GRAY** 是一款基于 **ESP32** 芯片(集成Wi-Fi和蓝牙)的灰色开发板,内置MEMS传感器 ( **MPU9250** )。你可以用 [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/) 和 [Arduino](http://www.arduino.cc) 来编程它. +**M5Core GRAY** 是一款基于 **ESP32** 芯片(集成Wi-Fi和蓝牙)的灰色开发板,内置MEMS传感器 ( **MPU9250** )。您可以用 [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/) 和 [Arduino](http://www.arduino.cc) 来编程它. 这个灰色主板包含 3 个按键、喇叭、LCD ( 320 x 240 )、TF 卡插槽、九轴陀螺仪 MPU9250。 diff --git a/docs/zh_CN/core/m5go.md b/docs/zh_CN/core/m5go.md index 4ce9b1ed..85c89362 100644 --- a/docs/zh_CN/core/m5go.md +++ b/docs/zh_CN/core/m5go.md @@ -12,9 +12,9 @@ **M5GO IOT Starter Kit** 是一款以白色 M5Core 主控为核心,附带 6个units(ENV, IR, RGB, PIR, ANGLE, HUB) 和 [M5GO 底座](zh_CN/base/m5go_bottom)的物联网开发套件。 -你可以用 [UIFlow](http://flow.m5stack.com) 或 Arduino IDE 对它编程。 +您可以用 [UIFlow](http://flow.m5stack.com) 或 Arduino IDE 对它编程。 -我们也提供了一些物联网开发课程方便你更快上手使用,如果你对这个感兴趣的话,欢迎给我司发邮件 。 +我们也提供了一些物联网开发课程方便您更快上手使用,如果您对这个感兴趣的话,欢迎给我司发邮件 diff --git a/docs/zh_CN/quick_start/m5stickc/m5stickc_quick_start_with_arduino_Windows.md b/docs/zh_CN/quick_start/m5stickc/m5stickc_quick_start_with_arduino_Windows.md index 9dd55e7b..ab0a2bbb 100644 --- a/docs/zh_CN/quick_start/m5stickc/m5stickc_quick_start_with_arduino_Windows.md +++ b/docs/zh_CN/quick_start/m5stickc/m5stickc_quick_start_with_arduino_Windows.md @@ -104,7 +104,7 @@ **单击电源键开机,双击电源键休眠。** --> - + ## 5. 相关视频 diff --git a/docs/zh_CN/related_documents/establish_serial_connection.md b/docs/zh_CN/related_documents/establish_serial_connection.md index c505ee6e..60e06bf5 100644 --- a/docs/zh_CN/related_documents/establish_serial_connection.md +++ b/docs/zh_CN/related_documents/establish_serial_connection.md @@ -68,7 +68,7 @@ **下载[SiLabs CP2104驱动](https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)** -**根据你windows版本来下载对应版本的USB驱动(Windows7/8/10).** +**根据您windows版本来下载对应版本的USB驱动(Windows7/8/10).**
diff --git a/docs/zh_CN/related_documents/how_to_connect_wifi_using_core.md b/docs/zh_CN/related_documents/how_to_connect_wifi_using_core.md index 73ec5e82..bccd36e3 100644 --- a/docs/zh_CN/related_documents/how_to_connect_wifi_using_core.md +++ b/docs/zh_CN/related_documents/how_to_connect_wifi_using_core.md @@ -4,9 +4,9 @@ *** -?> *如果你的M5Core还没预先烧录了UIFlow固件的话,参考这篇文章[如何使用M5Burner烧录固件](zh_CN/related_documents/how_to_burn_firmware))* +?> *如果您的M5Core还没预先烧录了UIFlow固件的话,参考这篇文章[如何使用M5Burner烧录固件](zh_CN/related_documents/how_to_burn_firmware))* -**烧录了UIFlow的固件,并重启M5Core之后,你会看到如下的欢迎界面,然后我们开始连接Wi-Fi.** +**烧录了UIFlow的固件,并重启M5Core之后,您会看到如下的欢迎界面,然后我们开始连接Wi-Fi.**
@@ -33,7 +33,7 @@ ## 2. 选择可联网的Wi-Fi -**用手机或者PC去连接屏幕上显示的M5Core的热点(like `M5Stack-a67c`),然后打开浏览器输入网址`192.168.4.1`,然后选择可联网的路由器Wi-Fi,然后输入密码。(你看,像我这样,我现在可以联网的Wi-Fi是`MasterHax_5G`)** +**用手机或者PC去连接屏幕上显示的M5Core的热点(like `M5Stack-a67c`),然后打开浏览器输入网址`192.168.4.1`,然后选择可联网的路由器Wi-Fi,然后输入密码。(您看,像我这样,我现在可以联网的Wi-Fi是`MasterHax_5G`)**
@@ -56,7 +56,7 @@
-?> **Note** 同样地,如果你想换一个可联网的wifi的话,按`SETUP`按键。 +?> **Note** 同样地,如果您想换一个可联网的wifi的话,按`SETUP`按键。
@@ -64,7 +64,7 @@ ## 最后 -现在,你可以阅读这篇文章开始使用UIFlow编程啦![UIFlow上手指南](zh_CN/quick_start/m5core/m5stack_core_get_started_MicroPython) +现在,您可以阅读这篇文章开始使用UIFlow编程啦![UIFlow上手指南](zh_CN/quick_start/m5core/m5stack_core_get_started_MicroPython) ## 视频教程 diff --git a/docs/zh_CN/related_documents/how_to_connect_wifi_using_core_with_m5cloud.md b/docs/zh_CN/related_documents/how_to_connect_wifi_using_core_with_m5cloud.md index 13d4be29..d99da75f 100644 --- a/docs/zh_CN/related_documents/how_to_connect_wifi_using_core_with_m5cloud.md +++ b/docs/zh_CN/related_documents/how_to_connect_wifi_using_core_with_m5cloud.md @@ -1,8 +1,8 @@ # 如何连接WIFI (For M5Cloud) {docsify-ignore-all} -?> *如果你的M5Cloud还没预先烧录名为`M5Cloud`固件的话,请阅读这篇文章[如何烧录使用M5Burner烧录固件](zh_CN/related_documents/how_to_burn_firmware)* +?> *如果您的M5Cloud还没预先烧录名为`M5Cloud`固件的话,请阅读这篇文章[如何烧录使用M5Burner烧录固件](zh_CN/related_documents/how_to_burn_firmware)* -**重启M5Core之后,你会看到M5Core出现下图界面。现在我们就开始连接WIFI吧** +**重启M5Core之后,您会看到M5Core出现下图界面。现在我们就开始连接WIFI吧**
@@ -32,17 +32,17 @@
-?> 如果你的M5Core没成功连接WIFI,请重试一次. +?> 如果您的M5Core没成功连接WIFI,请重试一次. ## 3. 重启M5Core -**在M5Core成功连接WIFI之后,重启你的Core** +**在M5Core成功连接WIFI之后,重启您的Core**
-!> **Note** 可是如果你的Core之前绑定过M5Cloud账号(也就是之前有过将check code输入到[M5Cloud](http://cloud.m5stack.com)),这时M5Core屏幕会如下图所示。 +!> **Note** 可是如果您的Core之前绑定过M5Cloud账号(也就是之前有过将check code输入到[M5Cloud](http://cloud.m5stack.com)),这时M5Core屏幕会如下图所示。
@@ -50,4 +50,4 @@ ## 最后 -现在,你可以阅读这篇文章开始使用M5Cloud编程啦![M5Cloud上手指南](zh_CN/quick_start/m5core/m5stack_core_get_started_MicroPython_m5cloud) +现在,您可以阅读这篇文章开始使用M5Cloud编程啦![M5Cloud上手指南](zh_CN/quick_start/m5core/m5stack_core_get_started_MicroPython_m5cloud) diff --git a/docs/zh_CN/related_documents/how_to_install_git_and_arduino.md b/docs/zh_CN/related_documents/how_to_install_git_and_arduino.md index 17f28cb3..47ed6bfd 100644 --- a/docs/zh_CN/related_documents/how_to_install_git_and_arduino.md +++ b/docs/zh_CN/related_documents/how_to_install_git_and_arduino.md @@ -1,7 +1,7 @@ # 安装Git和Arduino IDE (Windows) {docsify-ignore-all} ## 1. 安装`Git` -如果你已经安装了`Git`,请直接从第2步开始。 +如果您已经安装了`Git`,请直接从第2步开始。 否则点击这里下载[Git](https://git-scm.com/download/win)并安装它 diff --git a/docs/zh_CN/related_documents/upgrade_m5stack_lib.md b/docs/zh_CN/related_documents/upgrade_m5stack_lib.md index ed532f9d..3183b6b6 100644 --- a/docs/zh_CN/related_documents/upgrade_m5stack_lib.md +++ b/docs/zh_CN/related_documents/upgrade_m5stack_lib.md @@ -10,7 +10,7 @@ ### 3. 如果显示如下,则点击`Update`. -**但是如果显示`Install`,这意味着你之前还没安装M5Stack库,所以点击`Install`进行安装。** +**但是如果显示`Install`,这意味着您之前还没安装M5Stack库,所以点击`Install`进行安装。**
Screenshot of coverpage diff --git a/docs/zh_CN/unit/396port.md b/docs/zh_CN/unit/396port.md index d07aa9bd..26eaad2c 100644 --- a/docs/zh_CN/unit/396port.md +++ b/docs/zh_CN/unit/396port.md @@ -8,7 +8,7 @@ ## 描述 -**3.96port** 是一个 GROVE 接口 转 VH3.96-4Pin 接口的转换模块. 如果你想外接 VH3.96-4Pin 接口的设备的话,最好使用上这个 Unit,会更加方便. +**3.96port** 是一个 GROVE 接口 转 VH3.96-4Pin 接口的转换模块. 如果您想外接 VH3.96-4Pin 接口的设备的话,最好使用上这个 Unit,会更加方便. ## 特性 diff --git a/docs/zh_CN/unit/adc.md b/docs/zh_CN/unit/adc.md index 426df549..17b4a1c2 100644 --- a/docs/zh_CN/unit/adc.md +++ b/docs/zh_CN/unit/adc.md @@ -8,7 +8,7 @@ ## 描述 -ADC 是带自校准功能的16位模拟数字转换unit,相比ESP32芯片自带的ADC(12位)功能分辨率高了不少,意味着你可以测量更小幅值的电压等模拟量,也就是能测量更细微一倍的模拟量,比如采集心电电压做心电监护项目、做血压监测项目、高精度电压监控项目等等。unit集成的ADC芯片**ADS1100**通过I2C接口与M5的主控通讯(I2C地址为0x48),可以设置成单周期转换和连续转换方式。 +ADC 是带自校准功能的16位模拟数字转换unit,相比ESP32芯片自带的ADC(12位)功能分辨率高了不少,意味着您可以测量更小幅值的电压等模拟量,也就是能测量更细微一倍的模拟量,比如采集心电电压做心电监护项目、做血压监测项目、高精度电压监控项目等等。unit集成的ADC芯片**ADS1100**通过I2C接口与M5的主控通讯(I2C地址为0x48),可以设置成单周期转换和连续转换方式。 ## 特性 diff --git a/docs/zh_CN/unit/button.md b/docs/zh_CN/unit/button.md index 7942a9b1..ce312cc4 100644 --- a/docs/zh_CN/unit/button.md +++ b/docs/zh_CN/unit/button.md @@ -1,4 +1,4 @@ -# BUTTON - 单按键Unit {docsify-ignore-all} +# Unit BUTTON {docsify-ignore-all} @@ -8,13 +8,29 @@ ## 描述 -BUTTON 是一个单按键 unit 。这个 Unit 能检测你是否按下了按键。 +**BUTTON** 是一个瞬时单按键开关 unit。这个 Unit 内置了一个瞬时按键,这个瞬时按键能够在按压释放时会自动弹回。当按键按下时立即输出一个低电压的逻辑电平,释放时立即输出一个高电压的逻辑平。NC 引脚在该模块没有用到,Btn (GPIO36) 引脚为按钮的信号输出。 + +如图下图所示: + + + +该 Unit 与 M5Core 通过 Grove B 接口通信。 ## 特性 - GROVE 接口,支持 [UIFlow](http://flow.m5stack.com) 编程,[Arduino](http://www.arduino.cc) 编程 - Unit 内置两个 Lego 插件孔,方便与 Lego 件结合 +## 包含 + +- 1x BUTTON Unit +- 1x Grove 线 + +## 应用 + +- 灯座开关 +- 远程控制开关 + ## 相关链接 - **[官方频道视频](https://i.youku.com/i/UNjE1ODA2MzE0OA==?spm=a2hzp.8253869.0.0)** @@ -42,17 +58,12 @@ cur_value = digitalRead(36);// read the value of BUTTON M5.update(); ``` - ### 2. UIFlow *具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/UIFlow)。* - - - - ## 原理图 @@ -60,6 +71,6 @@ M5.update(); ### 管脚映射 - +
M5Core(GROVE 接口 B)GPIO36GPIO265VGND
M5Core (GROVE 接口 B)Btn (GPIO36)NC (GPIO26)5VGND
单按键 Unit按键引脚 5VGND
\ No newline at end of file diff --git a/docs/zh_CN/unit/dual_button.md b/docs/zh_CN/unit/dual_button.md index f2e6b8fb..8dd1dadd 100644 --- a/docs/zh_CN/unit/dual_button.md +++ b/docs/zh_CN/unit/dual_button.md @@ -1,4 +1,4 @@ -# DUAL_BUTTON - 双按键Unit {docsify-ignore-all} +# Unit Dual-BUTTON {docsify-ignore-all} @@ -8,7 +8,7 @@ ## 描述 -**Dual Button** 是一款双机械按键 Unit。机械按键是瞬时按键开关,能够在按压释放时会自动弹回。当按键按下时立即输出一个高电压的逻辑电平,释放时立即输出一个低电压的逻辑平。 +**Dual Button** 是一个瞬时双按键开关 unit。这个 Unit 内置了两个同类型的瞬时按键,这个瞬时按键能够在按压释放时会自动弹回。当按键按下时立即输出一个低电压的逻辑电平,释放时立即输出一个高电压的逻辑平。GPIO36 引脚输出 Button A (蓝色按键)的电平信号,GPIO26 (红色按键)引脚输出 Button B 的电平信号。 @@ -61,11 +61,6 @@ M5.update(); *具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DUAL_BUTTON/UIFlow)。* - - - - - ## 原理图 @@ -75,7 +70,7 @@ M5.update(); ### 管脚映射 - +
M5Core(GROVE接口B)GPIO36GPIO265VGND
M5Core (GROVE 接口 B)GPIO36GPIO265VGND
双按键 Unit按键 A 引脚按键 B 引脚5VGND
diff --git a/docs/zh_CN/unit/esp32cam.md b/docs/zh_CN/unit/esp32cam.md index 31b85ffa..dad9a228 100644 --- a/docs/zh_CN/unit/esp32cam.md +++ b/docs/zh_CN/unit/esp32cam.md @@ -8,9 +8,9 @@ ## 描述 -**ESP32Cam** 是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,但**不带 including PSRAM,也就是模块的 RAM 只有 520KB**。你可以通过 ESP-IDF 来编程摄像头功能。 +**ESP32Cam** 是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,但**不带 including PSRAM,也就是模块的 RAM 只有 520KB**。您可以通过 ESP-IDF 来编程摄像头功能。 -同时,ESP32CAM Unit 还预留了 9 轴陀螺仪 (MPU6050)、大气压 3 合 1 传感器 (BME280)和**模拟麦克风 (SPQ2410)** 的焊接口,如果你需要这些器件,可以焊接到对应位置上。ESP32CAM Unit 还预留了电池接口,如果你需要做可移动的摄像头,那么可以焊接手头的锂电池到对应位置上。 +同时,ESP32CAM Unit 还预留了 9 轴陀螺仪 (MPU6050)、大气压 3 合 1 传感器 (BME280)和**模拟麦克风 (SPQ2410)** 的焊接口,如果您需要这些器件,可以焊接到对应位置上。ESP32CAM Unit 还预留了电池接口,如果您需要做可移动的摄像头,那么可以焊接手头的锂电池到对应位置上。 **注意:选配不同硬件时,ESP32CAM 的命名不一样,遵循以下规则** diff --git a/docs/zh_CN/unit/light.md b/docs/zh_CN/unit/light.md index 3505818b..d1e93738 100644 --- a/docs/zh_CN/unit/light.md +++ b/docs/zh_CN/unit/light.md @@ -8,7 +8,7 @@ ## 描述 -**LIGHT** 是一款集成**光敏电阻和 10K 的可调电阻**的 Unit。光敏电阻对光线十分敏感,其在无光照时,呈高阻状态,10K,光照越强,阻值就越低,随着光照强度的升高,电阻值迅速降低,电阻值可小至 1K 欧姆以下。你可以旋转可调电阻,改变调节光线强度触发 Unit 输出高或低电平的光强阈值。 +**LIGHT** 是一款集成**光敏电阻和 10K 的可调电阻**的 Unit。光敏电阻对光线十分敏感,其在无光照时,呈高阻状态,10K,光照越强,阻值就越低,随着光照强度的升高,电阻值迅速降低,电阻值可小至 1K 欧姆以下。您可以旋转可调电阻,改变调节光线强度触发 Unit 输出高或低电平的光强阈值。 该 Unit 的 GRVE 接口可以输出数字信号或者光强对应的模拟信号(电压信号)。在光照弱的时候,数字引脚输出高电平,即数字信号 "1" ,否则输出 "0" 。 diff --git a/docs/zh_CN/unit/m5camera.md b/docs/zh_CN/unit/m5camera.md index d27e6c3b..beaf64eb 100644 --- a/docs/zh_CN/unit/m5camera.md +++ b/docs/zh_CN/unit/m5camera.md @@ -8,13 +8,13 @@ ## 描述 -**M5Camera** 是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **PSRAM**。你可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。 +**M5Camera** 是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **PSRAM**。您可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。 M5Camera Unit 有 A Model 和 B Model 两种接口版本。 -同时,M5Camera Unit 还预留了9轴陀螺仪 (MPU6050) 、大气压3合1传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果你需要这些器件,可以焊接到对应位置上。M5Camera Unit 还预留了电池接口,如果你需要做可移动的摄像头,那么可以焊接手头的锂电池到对应位置上。 +同时,M5Camera Unit 还预留了9轴陀螺仪 (MPU6050) 、大气压3合1传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果您需要这些器件,可以焊接到对应位置上。M5Camera Unit 还预留了电池接口,如果您需要做可移动的摄像头,那么可以焊接手头的锂电池到对应位置上。 **注意:选配不同硬件时,M5Camera 的命名不一样,遵循以下规则** diff --git a/docs/zh_CN/unit/m5camera_f.md b/docs/zh_CN/unit/m5camera_f.md index 98242f8f..010eaeb7 100644 --- a/docs/zh_CN/unit/m5camera_f.md +++ b/docs/zh_CN/unit/m5camera_f.md @@ -15,11 +15,11 @@ ## 描述 -**M5CameraF**是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **PSRAM**,镜头采用 **鱼眼镜头**,你可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。 +**M5CameraF**是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **PSRAM**,镜头采用 **鱼眼镜头**,您可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。 -这个 Unit 还预留了 9 轴陀螺仪 (MPU6050) 、温湿度气压传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果你需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraF。M5CameraF Unit 还预留了电池接口。外壳内可以容纳的电池大小对应电池容量为 **80mAh**。 +这个 Unit 还预留了 9 轴陀螺仪 (MPU6050) 、温湿度气压传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果您需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraF。M5CameraF Unit 还预留了电池接口。外壳内可以容纳的电池大小对应电池容量为 **80mAh**。 **注意:选配不同硬件时,M5CameraF 的命名不一样,遵循以下规则** diff --git a/docs/zh_CN/unit/m5camera_x.md b/docs/zh_CN/unit/m5camera_x.md index 89f236f1..94179911 100644 --- a/docs/zh_CN/unit/m5camera_x.md +++ b/docs/zh_CN/unit/m5camera_x.md @@ -17,11 +17,11 @@ ## 描述 -**M5CameraX**是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **PSRAM**,镜头采用 **鱼眼镜头**,你可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。 +**M5CameraX**是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **PSRAM**,镜头采用 **鱼眼镜头**,您可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。 -这个 Unit 还预留了 9 轴陀螺仪 (MPU6050) 、温湿度气压传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果你需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraX。M5CameraX Unit 还预留了电池接口。外壳内可以容纳的电池大小对应电池容量为 **80mAh**。 +这个 Unit 还预留了 9 轴陀螺仪 (MPU6050) 、温湿度气压传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果您需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraX。M5CameraX Unit 还预留了电池接口。外壳内可以容纳的电池大小对应电池容量为 **80mAh**。 **注意:选配不同硬件时,M5CameraX 的命名不一样,遵循以下规则** diff --git a/docs/zh_CN/unit/ncir.md b/docs/zh_CN/unit/ncir.md index a19fcebe..896ec264 100644 --- a/docs/zh_CN/unit/ncir.md +++ b/docs/zh_CN/unit/ncir.md @@ -1,4 +1,4 @@ -# NCIR - 单点红外测温Unit {docsify-ignore-all} +# Unit NCIR {docsify-ignore-all} @@ -8,21 +8,30 @@ ## 描述 -**NCIR** 是一款内置了红外传感器 **MLX90614**,可以测量人体或者其他物体表面温度的 Unit 。它与 **[Thermal Unit](zh_CN/unit/thermal)** 的区别,主要是 NCIR Unit 做表面单点温度测量,而Thermal Unit 做大面积范围的温度测量。 +**NCIR** 是一款内置了红外传感器 **MLX90614**的 Unit。使用它可以测量人体或者其他物体表面的温度。 -该 Unit 与 m5core 通过 IIC 通信,IIC 地址为 0x5A。 +与大多数温度传感器不同,该传感器 MLX90614 测量从远处物体反射的红外光,因此它可以感知温度而无需物理接触它们。只需将传感器指向您想要测量的位置,它就会通过吸收发射的红外波来检测温度。因为它不需要触摸它所测量的物体,所以它可以感知比大多数数字传感器更宽的温度范围:从 -70°C 到 + 380°C !它的视场角是90度,需要在 90 度视野范围内进行测量,因此它可以方便地确定区域的平均温度。 + +该 Unit 与 M5Core 通过 Grove A 接口通信,IIC 地址是 0x5A。 ## 特性 -- 高精度 -- 测量温度范围: -70℃~382.2℃ -- GROVE接口,支持[UIFlow](http://flow.m5stack.com)编程,[Arduino](http://www.arduino.cc)编程 -- Unit内置两个Lego插件孔,方便与Lego件结合 +- 工作电压:4.5 to 5.5V +- 测量温度范围: -70℃ ~ 382.2℃ +- 室温下测量精度:±0.5°C +- 视场角:90° +- GROVE 接口,支持 [UIFlow](http://flow.m5stack.com) 编程,[Arduino](http://www.arduino.cc) 编程 +- Unit 内置两个 Lego 插件孔,方便与 Lego 件结合 + +## 包含 + +- 1x NCIR Unit +- 1x Grove 线 ## 应用 - 人体体温测量 -- 物体(生物)移动检测 +- 物体 ( 生物 ) 移动检测 ## 相关链接 @@ -77,6 +86,6 @@ temperature = result * 0.02 - 273.15; ### 管脚映射 - - + +
M5Core(GROVE接口A)GPIO22GPIO215VGND
红外测温UnitSCLSDA5VGND
M5Core ( GROVE 接口 A )GPIO22GPIO215VGND
红外测温 UnitSCLSDA5VGND
\ No newline at end of file diff --git a/docs/zh_CN/unit/proto.md b/docs/zh_CN/unit/proto.md index 13062e1f..f7e2e78c 100644 --- a/docs/zh_CN/unit/proto.md +++ b/docs/zh_CN/unit/proto.md @@ -10,9 +10,9 @@ **PROTO** 是一款空白电路板 Unit ,便于自定义的简单电路集成到 Unit 外壳中。 -如果你需要定制简单电路,并希望采用 Unit 这种封装方式的话,可以直接将电路焊接到 PROTO Unit 中。最后通过 GROVE 线连接到 M5Core ,实现 M5Core 来控制你的自定义电路。 +如果您需要定制简单电路,并希望采用 Unit 这种封装方式的话,可以直接将电路焊接到 PROTO Unit 中。最后通过 GROVE 线连接到 M5Core ,实现 M5Core 来控制您的自定义电路。 - + ## 特性