mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
Merge branch 'master' of github.com:m5stack/m5-docs
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -578,7 +578,7 @@ div.card-img-overlay:hover {
|
||||
}
|
||||
|
||||
mark {
|
||||
background-color: #2673ffe0;
|
||||
background-color: #ffa105e0;
|
||||
color: white;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 108 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
@@ -2,11 +2,11 @@
|
||||
|
||||
<el-tag effect="plain">SKU:K042-D</el-tag>
|
||||
|
||||
<div class="product_pic"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch.webp"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_02.webp"></div>
|
||||
<div class="product_pic"><img src="assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_01.webp"><img src="assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_02.webp"></div>
|
||||
|
||||
## Description
|
||||
|
||||
**Atom Hub Switch D** is a dual relay expansion kit. The D in the name stands for “Direct” since the power supply is directly connected to the relays. The AC/DC power supply flows to the NO(Normally Open) contacts of the two relays and can be controlled via the M5Atom. When in use, the user only needs to connect the electrical load to the relay, and there is no need to connect the power line separately. Compared with the previous relay control scheme, this module will be more concise and efficient in controlling the electric load. In addition to the power supply for the relay, the input power supply will also provide 5V/1A DC power supply for the ATOM through the built-in step-down module. In order to ensure the safety of use, the power input circuit has overheating and short-circuit protection, when the current is too high or a short circuit occurs It can effectively disconnect the circuit to prevent damage to the components. A built-in SP485EE level conversion chip, provides an RS485 communication interface to support multi-device communication. It also integrates a 9-24V step-down 5V circuit to adapt to the power demand in industrial scenarios, and expand power supply capabilities.
|
||||
**Atom Hub Switch D** is a dual relay expansion kit. The D in the name stands for "Direct" since the power supply is directly connected to the relays. The AC/DC power supply flows to the NO(Normally Open) contacts of the two relays and can be controlled via the M5Atom. When in use, the user only needs to connect the electrical load to the relay, and there is no need to connect the power line separately. Compared with the previous relay control scheme, this module will be more concise and efficient in controlling the electric load. In addition to the power supply for the relay, the input power supply will also provide 5V/1A DC power supply for the ATOM through the built-in step-down module. In order to ensure the safety of use, the power input circuit has overheating and short-circuit protection, when the current is too high or a short circuit occurs It can effectively disconnect the circuit to prevent damage to the components. A built-in SP485EE level conversion chip, provides an RS485 communication interface to support multi-device communication. It also integrates a 9-24V step-down 5V circuit to adapt to the power demand in industrial scenarios, and expand power supply capabilities.
|
||||
|
||||
A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I/O devices. Combined with ATOM's built-in Bluetooth and WIFI functions, ATOM HUB SWITCH D can quickly build remote device switch applications.
|
||||
|
||||
@@ -22,7 +22,7 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I
|
||||
|
||||
## Include
|
||||
|
||||
- 1x ATOM SWITCH
|
||||
- 1x ATOM SWITCH D
|
||||
- 1x ATOM Lite
|
||||
- 4x Magnet
|
||||
- 1x double-side tape
|
||||
@@ -38,6 +38,31 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I
|
||||
|
||||
- Intelligent switch
|
||||
|
||||
## Switch & Switch-D Compared
|
||||
|
||||
<table>
|
||||
<tr style="font-weight:bold">
|
||||
<td>/</td>
|
||||
<td>Switch</td>
|
||||
<td>Switch-D</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Relay Current</td>
|
||||
<td>AC 250V/10A</td>
|
||||
<td>AC 250V/5A</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Power Input</td>
|
||||
<td>HT3.96R 2P</td>
|
||||
<td>HT3.96R 3P</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Relay Interface</td>
|
||||
<td>(NO,NC,COM) x2</td>
|
||||
<td>(NO<mark>(AC power supply)</mark>, COM) x2</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## Specification
|
||||
|
||||
<table>
|
||||
@@ -87,26 +112,8 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I
|
||||
|
||||
>EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/ATOM_BASE/EasyLoader_AtomHubSwitch.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/ATOM_BASE/EasyLoader_AtomHubSwitch.dmg">MacOS</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/AtomBase/AtomSwitch.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>Description:</p>
|
||||
<p>Press the key to control the switch. The status of breathing light indicates the relay serial number and switch status. When the red light or green light is on, press the key to switch the status</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
- **Windows**
|
||||
- [FactoryTest](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/CORE/EasyLoader_M5Paper_FactoryTest.exe)
|
||||
|
||||
## Related Link
|
||||
|
||||
@@ -117,12 +124,12 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I
|
||||
|
||||
<table>
|
||||
<tr><td>ATOM</td><td>22</td><td>19</td><td>33</td><td>23</td><td>25</td><td>21</td></tr>
|
||||
<tr><td>ATOM HUB SWITCH</td><td>Relay1</td><td>Relay2</td><td>RX</td><td>TX</td><td>SDA</td><td>SCL</td></tr>
|
||||
<tr><td>ATOM HUB SWITCH D</td><td>Relay1</td><td>Relay2</td><td>RX</td><td>TX</td><td>SDA</td><td>SCL</td></tr>
|
||||
</table>
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_sch.webp">
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_03.webp">
|
||||
|
||||
## Example
|
||||
|
||||
@@ -132,9 +139,15 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch/uiflow_atomswitch.webp" width = "50%">
|
||||
|
||||
## Video
|
||||
|
||||
<video class="video_size" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/AtomBase/ATOM_SWITCH_D.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = 'https://m5stack.com/collections/m5-atom/products/atom-hub-switch-kit';
|
||||
var purchase_link = 'https://m5stack.com/products/atom-hub-switchd-2-relay-kit';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
@@ -188,7 +188,7 @@ The customized M5GO Bottom2 included on the Core2 for AWS adds additional featur
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Core/CORE2%20.mp4" type="video/mp4">
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Core/CORE2_FOR_AWS.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
{"a":"/#/en/atom/atomic232", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom232.webp", "p":"ATOM RS-232 Kit", "sku":"K046" ,"kw":"ATOM RS232"},
|
||||
{"a":"/#/en/atom/atomic485", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom485.webp", "p":"ATOM RS-485 Kit", "sku":"K045" ,"kw":"ATOM RS485"},
|
||||
{"a":"/#/en/atom/atomhub_switch", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atomswitch.webp", "p":"ATOM SWITCH Kit", "sku":"K042" ,"kw":"ATOM SWITCH RS485"},
|
||||
{"a":"/#/zh_CN/atom/atomhub_switch_d", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom_switch_d_01.webp", "p":"ATOM SWITCH-D Kit", "sku":"K042-D" ,"kw":"ATOM SWITCH RS485"},
|
||||
{"a":"/#/en/atom/atomfly", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atomfly.webp", "p":"ATOM FLY Kit", "sku":"K040" ,"kw":"ATOM FLY"},
|
||||
{"a":"/#/en/atom/atom_mate", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom_mate.webp", "p":"ATOM MATE", "sku":"A086" ,"kw":"ATOM MATE HAT MOUNT PIN"},
|
||||
{"a":"/#/en/atom/atomic_step_motor", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom_stepmotor.webp", "p":"ATOM STEPMOTOR Kit", "sku":"K047" ,"kw":"ATOM STEP MOTOR"}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<el-tag effect="plain">SKU:K042-D</el-tag>
|
||||
|
||||
<div class="product_pic"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch.webp"><img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_02.webp"></div>
|
||||
<div class="product_pic"><img src="assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_01.webp"><img src="assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_02.webp"></div>
|
||||
|
||||
## 描述
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
- 智能开关
|
||||
|
||||
## Switch & Switch-D
|
||||
## Switch & Switch-D 对比
|
||||
|
||||
<table>
|
||||
<tr style="font-weight:bold">
|
||||
@@ -59,7 +59,7 @@
|
||||
<tr>
|
||||
<td>继电器接口</td>
|
||||
<td>(NO,NC,COM) x2</td>
|
||||
<td>(NO(直连AC电源), COM) x2</td>
|
||||
<td>(NO<mark>(直连AC电源)</mark>, COM) x2</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -113,26 +113,8 @@
|
||||
|
||||
>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)**
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/ATOM_BASE/EasyLoader_AtomHubSwitch.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/ATOM_BASE/EasyLoader_AtomHubSwitch.dmg">MacOS</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/AtomBase/AtomSwitch.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>案例描述:</p>
|
||||
<p>按键控制开关,呼吸灯状态表示继电器序号及开关状态,当红灯或绿灯亮起时按下按键切换状态</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
- **Windows**
|
||||
- [FactoryTest](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/CORE/EasyLoader_M5Paper_FactoryTest.exe)
|
||||
|
||||
## 相关链接
|
||||
|
||||
@@ -148,7 +130,7 @@
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch/atomswitch_sch.webp">
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_03.webp">
|
||||
|
||||
## 案例程序
|
||||
|
||||
@@ -156,11 +138,15 @@
|
||||
|
||||
- UIFlow代码示例 [点击这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomHubSwitch/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/atom_base/atomhub_switch/uiflow_atomswitch.webp" width = "50%">
|
||||
## 相关视频
|
||||
|
||||
<video class="video_size" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/AtomBase/ATOM_SWITCH_D.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = 'https://m5stack.com/collections/m5-atom/products/atom-hub-switch-kit';
|
||||
var purchase_link = 'https://m5stack.com/products/atom-hub-switchd-2-relay-kit';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Core/CORE2%20.mp4" type="video/mp4">
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Core/CORE2_FOR_AWS.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
@@ -383,6 +383,7 @@ TF 卡最大支持 16GB
|
||||
- [UIFlow](zh_CN/quick_start/core2/m5stack_core2_get_started_MicroPython)
|
||||
- [Arduino](zh_CN/arduino/arduino_core2_development)
|
||||
|
||||
<el-divider content-position="right">Last Updated: 2020-12-10</el-divider>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
{"a":"/#/zh_CN/atom/atomic232", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom232.webp", "p":"ATOM RS-232 Kit", "sku":"K046" ,"kw":"ATOM RS232"},
|
||||
{"a":"/#/zh_CN/atom/atomic485", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom485.webp", "p":"ATOM RS-485 Kit", "sku":"K045" ,"kw":"ATOM RS485"},
|
||||
{"a":"/#/zh_CN/atom/atomhub_switch", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atomswitch.webp", "p":"ATOM SWITCH Kit", "sku":"K042" ,"kw":"ATOM SWITCH RS485"},
|
||||
{"a":"/#/zh_CN/atom/atomhub_switch_d", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom_switch_d_01.webp", "p":"ATOM SWITCH-D Kit", "sku":"K042-D" ,"kw":"ATOM SWITCH RS485"},
|
||||
{"a":"/#/zh_CN/atom/atomfly", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atomfly.webp", "p":"ATOM FLY Kit", "sku":"K040" ,"kw":"ATOM FLY"},
|
||||
{"a":"/#/zh_CN/atom/atom_mate", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom_mate.webp", "p":"ATOM MATE", "sku":"A086" ,"kw":"ATOM MATE HAT MOUNT PIN"},
|
||||
{"a":"/#/zh_CN/atom/atomic_step_motor", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/atom_base/atom_stepmotor.webp", "p":"ATOM STEPMOTOR Kit", "sku":"K047" ,"kw":"ATOM STEP MOTOR"}
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**3.96port** 是一款GROVE-to-HT3.96接口转换器. 我们的转换器上有4个针脚,HT3.96是一种常见规格的可插拔的端子连接器。
|
||||
**3.96port** 是一款HY2.0-4P-to-HT3.96接口转换器. 我们的转换器上有4个针脚,HT3.96是一种常见规格的可插拔的端子连接器。
|
||||
|
||||
通过HT3.96接口转换器.能够将GROVE线转接成能够自由插接的端子,常用于电力开关的插座控制,方便连接电源和地的接口。
|
||||
通过HT3.96接口转换器.能够将HY2.0-4P线转接成能够自由插接的端子,常用于电力开关的插座控制,方便连接电源和地的接口。
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_396port_03.webp"><img src="assets/img/product_pics/unit/unit_396port_04.webp">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
## 包含
|
||||
|
||||
- 1x 3.96PORT Unit
|
||||
- 1x Grove 线
|
||||
- 1x HY2.0-4P线缆
|
||||
- 1x HT3.96 母头
|
||||
|
||||
## 规格参数
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
## 包含
|
||||
|
||||
- 1x 4-Relay Unit
|
||||
- 1x Grove 线(20cm)
|
||||
- 1x HY2.0-4P线缆(20cm)
|
||||
- 4x VH3.96-4P接线端子
|
||||
|
||||
## 应用
|
||||
@@ -100,7 +100,7 @@
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>SDA(GPIO21)</td><td>SCL(GPIO22)</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Core(PORT A)</td><td>SDA(GPIO21)</td><td>SCL(GPIO22)</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>4-relay Unit</td><td>SDA</td><td>SCL</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
## 套件清单
|
||||
|
||||
- 1x ACCEL unit
|
||||
- 1x GROVE 线
|
||||
- 1x HY2.0-4P线缆
|
||||
|
||||
## 应用
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core ( GROVE A )</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Core ( PORT A )</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>ACC Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
## 包含
|
||||
|
||||
- 1x ADC unit
|
||||
- 1x GROVE 线
|
||||
- 1x HY2.0-4P线缆
|
||||
- 1x HT3.96 Male Socket(2 pins)
|
||||
|
||||
## 应用
|
||||
@@ -104,7 +104,7 @@
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core ( GROVE A )</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Core ( PORT A )</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>ADC Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
## 包含
|
||||
|
||||
- 1x Ammeter Unit
|
||||
- 1x Grove 线(20cm)
|
||||
- 1x HY2.0-4P线缆(20cm)
|
||||
|
||||
## 应用
|
||||
|
||||
@@ -142,7 +142,7 @@ bool Voltmeter::saveCalibration2EEPROM(voltmeterGain_t gain, int16_t hope, int16
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>SDA(GPIO21)</td><td>SCL(GPIO22)</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Core(PORT A)</td><td>SDA(GPIO21)</td><td>SCL(GPIO22)</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>A Meter Unit</td><td>SDA</td><td>SCL</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
电位器是具有三个引出端、阻值可按某种变化规律调节的电阻元件.根据此原理,ESP32通过端口B获取电位器输出电压的大小,再经过AD转换得到对应的映射数据.在"音量,亮度调节,或是电机调速"等需要连续信号控制的应用场景中,Angle Unit会是一个不错的选择.
|
||||
|
||||
在M5Stack产品体系中,通场Grove接口的颜色代表其使用的通信协议类型.
|
||||
在M5Stack产品体系中,通场HY2.0-4P接口的颜色代表其使用的通信协议类型.
|
||||
- 黑色: 单总线 (AD ,DA ,GPIO)
|
||||
- 红色: I2C
|
||||
- 蓝色:UART
|
||||
@@ -20,13 +20,13 @@
|
||||
|
||||
## 产品特性
|
||||
|
||||
- GROVE 接口, 支持 [UIFlow](http://flow.m5stack.com) 、 [Arduino](http://www.arduino.cc) .
|
||||
- HY2.0-4P 接口, 支持 [UIFlow](http://flow.m5stack.com) 、 [Arduino](http://www.arduino.cc) .
|
||||
- 2x LEGO 兼容孔
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x ADC Unit
|
||||
- 1x Grove 线
|
||||
- 1x HY2.0-4P线缆
|
||||
|
||||
## 规格参数
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Core(PORT B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>ANGLE Unit</td><td>Sensor Pin</td><td>/</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
## 包含
|
||||
|
||||
- 1x Barometric Pressure Unit
|
||||
- 1x Grove 线(5cm)
|
||||
- 1x HY2.0-4P线缆(5cm)
|
||||
|
||||
## 应用
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Core(PORT A)</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>IMU Unit</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -96,9 +96,9 @@
|
||||
<img src="assets/img/product_pics/app/butterfly/6.webp" width="30%" height="30%">
|
||||
|
||||
注意:
|
||||
1)在线路末端添加电源,或者使用(GROVE-usbA连接线+充电宝)或(GROVE-usbA连接线 + 5V充电头)
|
||||
2)grove 2 usbA连接线
|
||||
3)带GROVE公端口的墙上插头
|
||||
1)在线路末端添加电源,或者使用(HY2.0-4P-usbA连接线+充电宝)或(HY2.0-4P-usbA连接线 + 5V充电头)
|
||||
2)HY2.0-4P 2 usbA连接线
|
||||
3)带HY2.0-4P公端口的墙上插头
|
||||
|
||||
## 推荐步骤
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**BUTTON** 是一个单按键 Unit,通过检测输入引脚高/低电平变化,进而判断按键状态.该 Unit 通过GROVE B端口与M5Core进行通信.
|
||||
**BUTTON** 是一个单按键 Unit,通过检测输入引脚高/低电平变化,进而判断按键状态.该 Unit 通过PORT B端口与M5Core进行通信.
|
||||
|
||||
**如下图所示:**
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
## 产品特性
|
||||
|
||||
- GROVE 接口, 支持 [UIFlow](http://flow.m5stack.com) 、 [Arduino](http://www.arduino.cc).
|
||||
- HY2.0-4P 接口, 支持 [UIFlow](http://flow.m5stack.com) 、 [Arduino](http://www.arduino.cc).
|
||||
- 2x LEGO 兼容孔
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x BUTTON Unit
|
||||
- 1x Grove 线
|
||||
- 1x HY2.0-4P线缆
|
||||
|
||||
## 应用
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
## 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE B)</td><td>Btn (GPIO36)</td><td>NC (GPIO26)</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Core(PORT 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>
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user