更新 button dual-button 把 你 改成 您

This commit is contained in:
LiHuashen
2019-04-16 20:25:11 +08:00
parent 2554abe842
commit 27593a1d94
49 changed files with 147 additions and 113 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

+19 -7
View File
@@ -1,4 +1,4 @@
# BUTTON {docsify-ignore-all}
# Unit BUTTON {docsify-ignore-all}
<img src="assets/img/product_pics/unit/M5GO_Unit_button.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_button_grove_b.png" width="30%" height="30%">
@@ -8,13 +8,29 @@
## Description
The Unit BUTTON is a sigle-button unit that can be detected whether the button pressed or not
**<mark>BUTTON</mark>** 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:
<img src="assets/img/product_pics/unit/button/unit_button_02.png">
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).*
<!-- <img src="assets/img/product_pics/unit/unit_example/DUAL_BUTTON/1.png" width="30%" height="30%"> <img src="assets/img/product_pics/unit/unit_example/DUAL_BUTTON/2.png" width="55%" height="55%"><img src="assets/img/product_pics/unit/unit_example/DUAL_BUTTON/3.png" width="55%" height="55%"> -->
<img src="assets/img/product_pics/unit/unit_example/BUTTON/example_unit_button_03.png">
<!-- width="30%" height="30%" -->
## Schematic
<img src="assets/img/product_pics/unit/button_sch.JPG">
@@ -59,6 +71,6 @@ M5.update();
### PinMap
<table>
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
<tr><td>M5Core(GROVE B)</td><td>Btn (GPIO36)</td><td>NC (GPIO26)</td><td>5V</td><td>GND</td></tr>
<tr><td>BUTTON Unit</td><td>BUTTON Pin</td><td> </td><td>5V</td><td>GND</td></tr>
</table>
+3 -5
View File
@@ -1,4 +1,4 @@
# Unit DUAL_BUTTON {docsify-ignore-all}
# Unit Dual-BUTTON {docsify-ignore-all}
<img src="assets/img/product_pics/unit/M5GO_Unit_dual_button.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_dual_button_grove_b.png" width="30%" height="30%">
@@ -8,7 +8,7 @@
## Description
**<mark>Dual Button</mark>** 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.
**<mark>Dual Button</mark>** 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.
<img src="assets/img/product_pics/unit/dual_button/unit_dual_button_05.png" width="50%" height="50%">
@@ -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).*
<!-- <img src="assets/img/product_pics/unit/unit_example/DUAL_BUTTON/1.png" width="30%" height="30%"> <img src="assets/img/product_pics/unit/unit_example/DUAL_BUTTON/2.png" width="55%" height="55%"><img src="assets/img/product_pics/unit/unit_example/DUAL_BUTTON/3.png" width="55%" height="55%"> -->
<img src="assets/img/product_pics/unit/unit_example/DUAL_BUTTON/example_unit_dual_button_05.png">
## Schematic
@@ -72,7 +70,7 @@ M5.update();
### PinMap
<table>
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
<tr><td>M5Core (GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
<tr><td>DUAL_BUTTON Unit</td><td>Blue Button Pin</td><td>Red Button Pin</td><td>5V</td><td>GND</td></tr>
</table>
+17 -8
View File
@@ -8,21 +8,30 @@
## Description
**<mark>NCIR</mark>** 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.
**<mark>NCIR</mark>** 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
<table>
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>M5Core (GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>NCIR Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
</table>
+1 -1
View File
@@ -12,7 +12,7 @@
<img src="assets/img/product_pics/unit/unit_m5camera_f_04.png">
このユニットは他にも、6 DoF IMU (MPU6050)、温度湿度気圧の環境センサ (BME280)、**デジタルシリコンマイク (SPM1423)**用のパターンを備えており、如果需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraX。M5CameraX Unit 还预留了电池インターフェース。外壳内可以容纳的电池大小对应电池容量为 **80mAh**
このユニットは他にも、6 DoF IMU (MPU6050)、温度湿度気圧の環境センサ (BME280)、**デジタルシリコンマイク (SPM1423)**用のパターンを備えており、如果需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraX。M5CameraX Unit 还预留了电池インターフェース。外壳内可以容纳的电池大小对应电池容量为 **80mAh**
**注意:选配不同硬件时,M5CameraX 的命名不一样,遵循以下规则**
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -8,7 +8,7 @@
## 描述
<mark>BALA</mark>是堆叠了M5Fire,以[M5Fire](http://docs.m5stack.com/#/zh_CN/core/fire)做主控的平衡车应用,还包括了MEGA328为主控的2路直流电机驱动模块和两个轮子。可以Arduino或MicroPython编程它。
<mark>BALA</mark>是堆叠了M5Fire,以[M5Fire](http://docs.m5stack.com/#/zh_CN/core/fire)做主控的平衡车应用,还包括了MEGA328为主控的2路直流电机驱动模块和两个轮子。可以Arduino或MicroPython编程它。
2路直流电机模块与M5Fire之间通过IIC通信,它的IIC地址是**0x56**。
+1 -1
View File
@@ -17,7 +17,7 @@
<img src="assets/img/product_pics/base/node_04.png" width="50%" height="50%">
可以使用 M5Core 和 Node 底座实现红外遥控家电,因为内置高保真音频编解码芯片,甚至还可以实现智能音箱功能。
可以使用 M5Core 和 Node 底座实现红外遥控家电,因为内置高保真音频编解码芯片,甚至还可以实现智能音箱功能。
## 特性
+1 -1
View File
@@ -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 功能的引脚没引出)。
+1 -1
View File
@@ -8,7 +8,7 @@
## 描述
**<mark>FIRE</mark>** 是一款基于 **ESP32** 芯片(集成 Wi-Fi 和蓝牙)的升级版开发板,包括红色的主板、M5GO 底座和 M5GO 充电底座。可以用 [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/) 或 [Arduino](http://www.arduino.cc) 来编程它. 这个红色主板包含 3 个按键、喇叭、LCD(320x240)、TF 卡插槽、**MPU9250**。
**<mark>FIRE</mark>** 是一款基于 **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)。
+1 -1
View File
@@ -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。
+2 -2
View File
@@ -12,9 +12,9 @@
**<mark>M5GO IOT Starter Kit</mark>** 是一款以白色 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 对它编程。
我们也提供了一些物联网开发课程方便更快上手使用,如果对这个感兴趣的话,欢迎给我司发邮件 <tech@m5stack.com>。
我们也提供了一些物联网开发课程方便更快上手使用,如果对这个感兴趣的话,欢迎给我司发邮件 <tech@m5stack.com>。
<!-- **充电指示说明:**在充电过程中,底座上的红色 LED 会闪烁,充满了常亮。
+2 -2
View File
@@ -15,9 +15,9 @@
**<mark>M5GO Lite</mark>** 是一款以白色 M5Core 主控为核心,附带1个 **ENV unit** 和 [M5GO 底座](zh_CN/base/m5go_bottom)的物联网开发套件。它是 [M5GO IOT Starter Kit](zh_CN/core/m5go) 的简单版本。
可以用 [UIFlow](http://flow.m5stack.com) 或 Arduino IDE 对它编程。
可以用 [UIFlow](http://flow.m5stack.com) 或 Arduino IDE 对它编程。
我们也提供了一些物联网开发课程方便更快上手使用,如果对这个感兴趣的话,欢迎给我司发邮件<tech@m5stack.com>。
我们也提供了一些物联网开发课程方便更快上手使用,如果对这个感兴趣的话,欢迎给我司发邮件<tech@m5stack.com>。
## 特性
+1 -1
View File
@@ -8,7 +8,7 @@
## 描述
<mark>**M5StickC**</mark> 是一个包含 0.96 寸 **TFT 彩屏** (80 x 160 分辨率)、**红色** LED 灯、按键、**麦克风**、红外发射管、六轴姿态传感器 (SH200Q) 和 80mAH 的电池的小型 **ESP32 开发板**。M5StickC 内的 ESP32 模组 **ESP32-Pico** 还内置了 4MB 的flash。如果 M5StickC 装配上表带底座和表带,可以将它戴在手腕上。
<mark>**M5StickC**</mark> 是一个包含 0.96 寸 **TFT 彩屏** (80 x 160 分辨率)、**红色** LED 灯、按键、**麦克风**、红外发射管、六轴姿态传感器 (SH200Q) 和 80mAH 的电池的小型 **ESP32 开发板**。M5StickC 内的 ESP32 模组 **ESP32-Pico** 还内置了 4MB 的flash。如果 M5StickC 装配上表带底座和表带,可以将它戴在手腕上。
**开关机操作:**
+1 -1
View File
@@ -10,7 +10,7 @@
## 描述
**<mark>COMMU</mark>** 是一个通讯接口转换模块,能将M5Core的IO口转换并外拓成其他类型的接口,满足多种产品设计需求。目前模块外拓2个I2C接口,MCU的TTL电平已经转换成一个CAN接口和一个RS485接口,同时也附带一个直接外拓的TTL电平接口。这意味着,当设计产品需要用到CAN通讯或RS485通讯的设备时,可以直接使用该模块,堆叠与M5Core主控板,即可驱动对应设备,无需另外订做接口转换电路板。
**<mark>COMMU</mark>** 是一个通讯接口转换模块,能将M5Core的IO口转换并外拓成其他类型的接口,满足多种产品设计需求。目前模块外拓2个I2C接口,MCU的TTL电平已经转换成一个CAN接口和一个RS485接口,同时也附带一个直接外拓的TTL电平接口。这意味着,当设计产品需要用到CAN通讯或RS485通讯的设备时,可以直接使用该模块,堆叠与M5Core主控板,即可驱动对应设备,无需另外订做接口转换电路板。
COMMU模块中的TTL接口,实际上是串口接口,默认连接的是串口0,不过可以通过焊接跳转接口,可以跳转成连接串口2。跳线接口Jumper是J6, J7, J9, J10。
+1 -1
View File
@@ -10,7 +10,7 @@
**<mark>GPS</mark>** 是一款内置了 GPS 模组 ( NEO-M8N ) 的全球定位导航模块。
堆叠了 M5Core 之后,可以用 [UIFlow](http://flow.m5stack.com)、 [Arduino](http://www.arduino.cc) 和 [MicroPython](http://www.micropython.org) 来编程它。烧录了程序后,只要 GPS 处于窗边或室外,它就可获取模块的全球定位信息。
堆叠了 M5Core 之后,可以用 [UIFlow](http://flow.m5stack.com)、 [Arduino](http://www.arduino.cc) 和 [MicroPython](http://www.micropython.org) 来编程它。烧录了程序后,只要 GPS 处于窗边或室外,它就可获取模块的全球定位信息。
模块上电之后,就会一直接收定位信息。M5Core 烧录[例程](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/GPS/Arduino),堆叠了 GPS 模块和连接 PC 串口之后,屏幕和 PC 的串口显示终端就会打印 GPS 接收到的信息。
+1 -1
View File
@@ -8,7 +8,7 @@
## 描述
**<mark>LoRa</mark>** 是内置了Ra-02小模组的LoRa模块。堆叠了M5Core之后,可以用UIFlow、Arduino和MicroPython来编程它。
**<mark>LoRa</mark>** 是内置了Ra-02小模组的LoRa模块。堆叠了M5Core之后,可以用UIFlow、Arduino和MicroPython来编程它。
M5Stack LoRa模块适用于长距离通信,结合多个LoRa模块,能组成长达1-2公里的物联网低功耗通信网络。它克服了传统物联网通信中长距离可是高功耗的难点。与蓝牙WIFI等通信技术相互弥补。
+1 -1
View File
@@ -8,7 +8,7 @@
## 描述
**<mark>LoRaWAN</mark>** 是一个内置了LoRaWAN模块的M5模块,LoRaWAN模块主要由LoRa芯片(SX1276)和ST的MCU组成,集成了完整的LoRa协议栈。 所以,在使用这个高集成度模块的时候,可以直接将它与M5Core堆叠,通过串口发送**AT命令**就可以开发它,比如配置串口信息、配置射频信息(频率、带宽、发送功率等)、发送信息的内容等等。
**<mark>LoRaWAN</mark>** 是一个内置了LoRaWAN模块的M5模块,LoRaWAN模块主要由LoRa芯片(SX1276)和ST的MCU组成,集成了完整的LoRa协议栈。 所以,在使用这个高集成度模块的时候,可以直接将它与M5Core堆叠,通过串口发送**AT命令**就可以开发它,比如配置串口信息、配置射频信息(频率、带宽、发送功率等)、发送信息的内容等等。
LoRaWAN**默认的串口配置:**
波特率:9600;8位数据位;无奇偶校验;1位停止位。
+1 -1
View File
@@ -8,7 +8,7 @@
## 描述
<mark>Plus</mark>是一个增强型模块,内置了500mAh的电池、齿轮电位器(encoder)、IR发送器、麦克风焊盘、PORT B(GPIO Port)和PORT C(UART Port)。可以把它与M5Core堆叠在一起,增强M5Core的功能,Plus模块与M5Core通过I2C通信。I2C地址是0x62。
<mark>Plus</mark>是一个增强型模块,内置了500mAh的电池、齿轮电位器(encoder)、IR发送器、麦克风焊盘、PORT B(GPIO Port)和PORT C(UART Port)。可以把它与M5Core堆叠在一起,增强M5Core的功能,Plus模块与M5Core通过I2C通信。I2C地址是0x62。
## 特性
+1 -1
View File
@@ -8,7 +8,7 @@
## 描述
PROTO模块是一款可以自由焊接元器件的洞洞板模块。如果需要实现什么M5Stack模块体系没有的电路,可以自行在PROTO模块上焊接相关的元器件,最后还是可以通过堆叠在M5Core主控上,方便控制和打造产品。
PROTO模块是一款可以自由焊接元器件的洞洞板模块。如果需要实现什么M5Stack模块体系没有的电路,可以自行在PROTO模块上焊接相关的元器件,最后还是可以通过堆叠在M5Core主控上,方便控制和打造产品。
## 特性

Some files were not shown because too many files have changed in this diff Show More