diff --git a/docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch.webp b/docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch.webp new file mode 100755 index 00000000..9cc2ac79 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch_02.webp b/docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch_02.webp new file mode 100755 index 00000000..89e6846b Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch_02.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomhub_switch/atomhub_switch_sch.webp b/docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch_sch.webp similarity index 100% rename from docs/assets/img/product_pics/atom_base/atomhub_switch/atomhub_switch_sch.webp rename to docs/assets/img/product_pics/atom_base/atomhub_switch/atomswitch_sch.webp diff --git a/docs/assets/img/product_pics/atom_base/atomhub_switch/uiflow_atomswitch.webp b/docs/assets/img/product_pics/atom_base/atomhub_switch/uiflow_atomswitch.webp new file mode 100644 index 00000000..dcaeadbd Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomhub_switch/uiflow_atomswitch.webp differ diff --git a/docs/en/atom/atomhub_switch.md b/docs/en/atom/atomhub_switch.md new file mode 100644 index 00000000..cad41ac1 --- /dev/null +++ b/docs/en/atom/atomhub_switch.md @@ -0,0 +1,136 @@ +# ATOM SWITCH Kit + +
SKU:K042
+ +
+ +## Description + +**ATOM SWITCH** is a bi-directional control programable switch for the M5ATOM. It can be connected to bi-directional AC / DC circuits for simultaneous on-off control. The on-board relay can support up to 250V / 16A AC or 5V / 1A DC output. Built in step-down module can provide 5V / 1A DC power supply. In order to ensure safe use, its DC circuit has a built-in self recovery fuse (250V / 1A), which can effectively disconnect the circuit in case of over current or short circuit. In order to facilitate the use of users in industrial scenarios, an SP485EE level-conversion IC is built in. There are also a set of RS485 interfaces provided for the user to connect RS485 equipment. In addition, a set of PH2.0 interfaces is also provided for connecting I2C peripheral equipment or general I/O equipment. With the Bluetooth and WiFi functions of M5ATOM, you can easily setup a remote control switch. If you have multiple M5ATOM HUB SWITCH modules, you can set them up in parallel through the RS485 interface. + + +## Product Features + +- Compatible ATOM Matrix/ATOM Lite +- AC/DC input +- 2-way relay +- Built-in RS485 level-conversion, supporting Modbus +- PH2.0 port extend +- Self recovery fuse protection +- Remote control via Bluetooth, WiFi and RS485 + +## Include + +- 1x ATOM SWITCH +- 1x ATOM Lite +- 4x Magnet +- 1x Magnet double-side tape +- 1x DIN Rail +- 1x 3.96*4P plug +- 3x 3.96*3P plug +- 1x M4 Hex Key +- 2x M4*10mm Hexagon countersunk screw +- 1x M2*20mm Hexagon socket cup head machine screw + +## Applications + +- Intelligent switch + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SpecificationParameter
RelayAC 250V/16A, DC 5V/1A
Input powerAC 250V, DC 5V
Interface1x PH2.0(PORT A), 1x VH3.96 4P(RS485), 2x VH3.96 3P(Relay), 1x VH3.96 3P(AC/DC IN)
net weight134g
Gross weight158g
Product Size72*40*30mm
Package Size104*77*35mm
Case materialPlastic ( PC )
+ +## EasyLoader + +>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) + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

Description:

+

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

+
+
+
+ +## Related Link + +- **Datasheet** + - [SP485EE](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/SP485EEN_en.pdf) + +### Pin Map + + + + +
ATOM221933232521
ATOM HUB SWITCHRelay1Relay2RXTXSDASCL
+ +## Schematic + + + +## Example + +- Arduino Example [Click Here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomHubSwitch/AtomHubSwitch) + +- UIFlow Example [Click Here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomHubSwitch/UIFlow) + + + + \ No newline at end of file diff --git a/docs/en/unit/env.md b/docs/en/unit/env.md index 928dda19..d45cb387 100644 --- a/docs/en/unit/env.md +++ b/docs/en/unit/env.md @@ -39,7 +39,7 @@ BMP280 is an absolute barometric pressure sensor especially designed for mobile 20 ~ 95 %RH / ±0.1% - 大Air pressure measuring range/resolution + Air pressure measuring range/resolution 300 ~ 1100hPa / ±1hPa diff --git a/docs/index.md b/docs/index.md index 3bcd3173..b5d56c66 100644 --- a/docs/index.md +++ b/docs/index.md @@ -34,6 +34,7 @@ {a:"/#/en/atom/atomictf", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomictf_01.webp", p:"ATOM TF-CARD Kit", sku:"K044" ,kw:"ATOM TF"}, {a:"/#/en/atom/atomic232", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.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://m5stack.oss-cn-shenzhen.aliyuncs.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://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomswitch.webp", p:"ATOM SWITCH Kit", sku:"K042" ,kw:"ATOM SWITCH RS485"}, ] const module_list = [ diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index 3f1510bd..2393b45d 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -35,6 +35,7 @@ {a:"/#/zh_CN/atom/atomictf", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomictf_01.webp", p:"ATOM TF-CARD Kit", sku:"K044" ,kw:"ATOM TF "}, {a:"/#/zh_CN/atom/atomic232", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.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://m5stack.oss-cn-shenzhen.aliyuncs.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://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomswitch.webp", p:"ATOM SWITCH Kit", sku:"K042" ,kw:"ATOM RS485 SWITCH"}, ] const module_list = [ diff --git a/docs/zh_CN/atom/atomhub.md b/docs/zh_CN/atom/atomhub.md index 1c88f309..2be2e181 100644 --- a/docs/zh_CN/atom/atomhub.md +++ b/docs/zh_CN/atom/atomhub.md @@ -72,7 +72,7 @@ 包装尺寸 - 104 x 77 x 35mm + 104**77*35mm 外壳材质 diff --git a/docs/zh_CN/atom/atomhub_switch.md b/docs/zh_CN/atom/atomhub_switch.md new file mode 100644 index 00000000..b749ee09 --- /dev/null +++ b/docs/zh_CN/atom/atomhub_switch.md @@ -0,0 +1,135 @@ +# ATOM HUB SWITCH + +
SKU:K042
+ +
+ +## 描述 + +**ATOM HUB SWITCH** 是一款支持ATOM的双路控制可编程开关,可同时接入两路交流/直流电路进行通断控制。内置降压模块可提供5V/1A的直流电源,板载继电器最高支持250V/16A的交流电或5V/1A的直流电输出,为了保障使用安全,其直流电路中内置自恢复保险丝(250V/1A),当电流过大或发生短路时能有效断开电路。为了方便用户在工业场景中使用,我们内置了一颗SP485EE电平转换芯片,提供一组RS485接口供用户连接RS485设备,此外还提供了一组PH2.0接口用于连接I2C外设或通用I/O设备。借助于ATOM的蓝牙与WIFI功能,您可以轻松实现远程遥控开关设备,如果您有多个ATOM HUB SWITCH,可以通过RS485接口进行并联。 + +## 产品特性 + +- 适配ATOM Matrix/ATOM Lite +- AC/DC输入 +- 2路继电器 +- 内置RS485电平转换,支持Modbus +- PH2.0扩展 +- 自恢复保险丝保护 +- 可通过蓝牙、WIFI、RS485进行遥控 + +## 包含 + +- 1x ATOM HUB SWITCH +- 1x ATOM Lite +- 4x 强力磁铁 +- 1x 双面胶 +- 1x 轨道夹具 +- 1x 3.96*4P 公头 +- 3x 3.96*3P 公头 +- 1x M4内六角扳手 +- 2x M4*10mm 内六角沉头螺丝 +- 1x M2*20mm 内六角杯头机械牙螺丝 + +## 应用 + +- 智能开关 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
继电器AC 250V/16A, DC 5V/1A
输入电源AC 250V, DC 5V
接口1x PH2.0(PORT A), 1x VH3.96 4P(RS485), 2x VH3.96 3P(Relay), 1x VH3.96 3P(AC/DC IN)
净重134g
毛重158g
产品尺寸72*40*30mm
包装尺寸104*77*35mm
外壳材质Plastic ( PC )
+ +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

案例描述:

+

按键控制开关,呼吸灯状态表示继电器序号及开关状态,当红灯或绿灯亮起时按下按键切换状态

+
+
+
+ +## 相关链接 + +- **Datasheet** + - [SP485EE](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/SP485EEN_en.pdf) + +### 管脚映射 + + + + +
ATOM221933232521
ATOM HUB SWITCHRelay1Relay2RXTXSDASCL
+ +## 原理图 + + + +## 案例程序 + +- Arduino代码示例 [点击这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomHubSwitch/AtomHubSwitch) + +- UIFlow代码示例 [点击这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomHubSwitch/UIFlow) + + + + \ No newline at end of file