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/atomhub_switch_sch.webp new file mode 100644 index 00000000..8d9806ac Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomhub_switch/atomhub_switch_sch.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomicGPS/atomicgps_01.webp b/docs/assets/img/product_pics/atom_base/atomicGPS/atomicgps_01.webp old mode 100644 new mode 100755 index 481bc9b9..06512685 Binary files a/docs/assets/img/product_pics/atom_base/atomicGPS/atomicgps_01.webp and b/docs/assets/img/product_pics/atom_base/atomicGPS/atomicgps_01.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomicRS232/atom232.webp b/docs/assets/img/product_pics/atom_base/atomicRS232/atom232.webp new file mode 100755 index 00000000..76cd2de8 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomicRS232/atom232.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomicRS232/atomic_rs232_sch.webp b/docs/assets/img/product_pics/atom_base/atomicRS232/atomic_rs232_sch.webp new file mode 100644 index 00000000..4fc0aebe Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomicRS232/atomic_rs232_sch.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomicRS485/atom485.webp b/docs/assets/img/product_pics/atom_base/atomicRS485/atom485.webp new file mode 100755 index 00000000..66dc2241 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomicRS485/atom485.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomicRS485/atomic_rs485_sch.webp b/docs/assets/img/product_pics/atom_base/atomicRS485/atomic_rs485_sch.webp new file mode 100644 index 00000000..3b204c07 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomicRS485/atomic_rs485_sch.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomicTF/atomictf_01.webp b/docs/assets/img/product_pics/atom_base/atomicTF/atomictf_01.webp old mode 100644 new mode 100755 index 8f06efd4..b34f477b Binary files a/docs/assets/img/product_pics/atom_base/atomicTF/atomictf_01.webp and b/docs/assets/img/product_pics/atom_base/atomicTF/atomictf_01.webp differ diff --git a/docs/en/api/power.md b/docs/en/api/power.md index 1b9ea243..32be9a1b 100644 --- a/docs/en/api/power.md +++ b/docs/en/api/power.md @@ -388,7 +388,7 @@ No argument. **Syntax:** -bool getBatteryLevel() +int8_t getBatteryLevel() **Description:** diff --git a/docs/en/atom/atomic232.md b/docs/en/atom/atomic232.md index e69de29b..267cef67 100644 --- a/docs/en/atom/atomic232.md +++ b/docs/en/atom/atomic232.md @@ -0,0 +1,138 @@ +# ATOM RS-232 Kit + +
SKU:K046
+ +
+ +## Description + +**ATOM RS-232** is a TTL-RS232 level-converter designed for use with the M5Atomic module. RS232 is a full-duplex communication protocol standard, which defines the electrical characteristics of the serial communication system. It is a widely used communication protocol in the field of industrial control. MAX232 chip is integrated in the module, which supports bidirectional conversion between TTL level and RS232 level. A DC/DC voltage regulator chip is integrated in the ATOM RS485, which can directly convert the 12V voltage of the RS232 hub to 5V to supply power for ATOM. + +## Product Features + +- Compatible ATOM Matrix/ATOM Lite +- Built-in DC/DC +- Full-duplex communication + +## Include + +- 1x ATOM RS-232 +- 1x ATOM Lite +- 1x Hex Key +- 1x M2*8mm Hexagon socket cup head machine screw +- 1x 18cm TYPE-C Cable + +## Applications + +- RS232 Communication +- Industrial control node + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SpecificationParameter
External portVH-3.96 4P
level-conversion ICMAX232
DC-DCA0Z1282CI
net weight26g
Gross weight36g
Product Size24*24*18mm
Package Size54*54*20mm
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:

+

Send and receive the message through RS485, LED is on, press the key to send the message

+
+
+
+ +## Related Link + +- **Datasheet** + - [MAX232](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomicRS232/MAX232.pdf) + - [AOZ1282CI](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/tail485/AOZ1282CI-datasheet.pdf) + +### Pin Map + + + + +
ATOMGPIO22GPIO195VGND
ATOM RS-232RXTX5VGND
+ +## Schematic + + + + +## Example + +### 1. Arduino IDE + +[Click here to get Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomicRS232/Arduino/AtomicRS232) + +### 2. UIFlow + +[Clicke here to get UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomicRS232/UIFlow) + + + diff --git a/docs/en/atom/atomic485.md b/docs/en/atom/atomic485.md index e69de29b..c5db1534 100644 --- a/docs/en/atom/atomic485.md +++ b/docs/en/atom/atomic485.md @@ -0,0 +1,144 @@ +# ATOM RS-485 Kit + +
SKU:K045
+ +
+ +## Description + +**ATOM RS-485** is a TTL-RS485 converter designed for use with M5Atomic. It's function is for TTL level and RS485 level-conversion. RS485 is a communication protocol standard, which is used to define the electrical characteristics of drivers and receivers of a serial communication system. It supports amulti-point system and is widely used in industry. When the applications equipment needs to communicate and be controlled through RS485, ATOM RS-485 is an excellent choice. A DC/DC voltage regulator chip is integrated in the ATOM RS-485, which can directly convert the 12V voltage of RS485 to 5V to supply power for M5ATOM, avoiding the trouble of using a separate power supply. + +## Product Features + +- Compatible ATOM Matrix/ATOM Lite +- SP3485EE +- Built-in DC/DC +- Multipoint communication + +## Include + +- 1x ATOM RS-485 +- 1x ATOM Lite +- 1x Hex Key +- 1x M2*8mm Hexagon socket cup head machine screw +- 1x 18cm TYPE-C Cable + +## Applications + +- RS485 Multipoint communication +- Industrial control node +- RS485 to WiFi + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SpecificationParameter
External portVH-3.96 4P
Conversion level5V<->12V
level-conversion ICSP3485EE
DC-DCA0Z1282CI
net weight28g
Gross weight38g
Product Size24*48*18mm
Package Size54*54*20mm
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:

+

Send and receive the message through RS485, LED is on, press the key to send the message

+
+
+
+ +## Related Link + +- **Datasheet** + - [SP485EEN](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/SP485EEN_en.pdf) + - [AOZ1282CI](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/tail485/AOZ1282CI-datasheet.pdf) + +### Pin Map + + + + +
ATOMGPIO22GPIO195VGND
ATOM RS-485RXTX5VGND
+ +## Schematic + + + + +## Example + +### 1. Arduino IDE + +[Click here to download Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomicRS485/Arduino/AtomicRS485) + +### 2. UIFlow + +[Click here to download UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomicRS485/UIFlow) + + + diff --git a/docs/en/atom/atomic_qr.md b/docs/en/atom/atomic_qr.md index 8551fe33..734e6bd3 100644 --- a/docs/en/atom/atomic_qr.md +++ b/docs/en/atom/atomic_qr.md @@ -1,4 +1,4 @@ -# ATOM QR-CODE +# ATOM QR-CODE Kit
SKU:K041
diff --git a/docs/en/atom/atomicgps.md b/docs/en/atom/atomicgps.md index 3057b3d6..703593b4 100644 --- a/docs/en/atom/atomicgps.md +++ b/docs/en/atom/atomicgps.md @@ -1,4 +1,4 @@ -# ATOM GPS +# ATOM GPS Kit
SKU:K043
diff --git a/docs/en/atom/atomictf.md b/docs/en/atom/atomictf.md index 84466b0b..9749f364 100644 --- a/docs/en/atom/atomictf.md +++ b/docs/en/atom/atomictf.md @@ -1,4 +1,4 @@ -# ATOM TF-CARD +# ATOM TF-CARD Kit
SKU:K044
diff --git a/docs/index.md b/docs/index.md index 65265717..f6203d95 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,9 +29,11 @@ {a:"/#/en/atom/tail485", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tail485_01.webp", p:"Tail485", sku:"T002" ,kw:"RS485"}, {a:"/#/en/atom/tailbat", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tailbat_01.webp", p:"TailBat", sku:"T001" ,kw:"BATTERY POWER SUPPLY LIPO"}, {a:"/#/en/atom/atomhub", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atom_hub_proto.webp", p:"ATOM HUB PROTO", sku:"K039" ,kw:"ATOM HUB PROTO BASE"}, - {a:"/#/en/atom/atomic_qr", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_qr_01.webp", p:"ATOM QR-CODE", sku:"K041" ,kw:"ATOM QR CODE SCAN"}, - {a:"/#/en/atom/atomicgps", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomicgps_01.webp", p:"ATOM GPS", sku:"K043" ,kw:"ATOM GPS TF"}, - {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", sku:"K044" ,kw:"ATOM TF"}, + {a:"/#/en/atom/atomic_qr", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_qr_01.webp", p:"ATOM QR-CODE Kit", sku:"K041" ,kw:"ATOM QR CODE SCAN"}, + {a:"/#/en/atom/atomicgps", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomicgps_01.webp", p:"ATOM GPS Kit", sku:"K043" ,kw:"ATOM GPS TF"}, + {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"}, ] const module_list = [ diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index b95928eb..98dee292 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -30,9 +30,11 @@ {a:"/#/zh_CN/atom/tail485", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tail485_01.webp", p:"Tail485", sku:"T002" ,kw:"RS485"}, {a:"/#/zh_CN/atom/tailbat", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tailbat_01.webp", p:"TailBat", sku:"T001" ,kw:"BATTERY POWER SUPPLY LIPO"}, {a:"/#/zh_CN/atom/atomhub", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atom_hub_proto.webp", p:"ATOM HUB PROTO", sku:"K039" ,kw:"ATOM HUB PROTO BASE"}, - {a:"/#/zh_CN/atom/atomic_qr", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_qr_01.webp", p:"ATOM QR-CODE", sku:"K041" ,kw:"ATOM QR CODE SCAN"}, - {a:"/#/zh_CN/atom/atomicgps", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomicgps_01.webp", p:"ATOM GPS", sku:"K043" ,kw:"ATOM GPS TF"}, - {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", sku:"K044" ,kw:"ATOM TF "}, + {a:"/#/zh_CN/atom/atomic_qr", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_qr_01.webp", p:"ATOM QR-CODE Kit", sku:"K041" ,kw:"ATOM QR CODE SCAN"}, + {a:"/#/zh_CN/atom/atomicgps", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomicgps_01.webp", p:"ATOM GPS Kit", sku:"K043" ,kw:"ATOM GPS TF"}, + {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 "}, ] const module_list = [ diff --git a/docs/zh_CN/atom/atomic232.md b/docs/zh_CN/atom/atomic232.md index 54a6a649..cb75972a 100644 --- a/docs/zh_CN/atom/atomic232.md +++ b/docs/zh_CN/atom/atomic232.md @@ -1,26 +1,31 @@ -# Atomic232 +# ATOM RS-232 Kit -
SKU:A002
+
SKU:K046
-
+
## 描述 -**Atomic232** 是一款基于Atomic设计的TTL-RS232转换器,用于TTL电平与RS232电平转换。RS232是一种全双工通信协议标准,定义了串行通信系统的电气特性,在工业控制领域是一种应用广泛的通讯协议。采用MAX232芯片,支持TTL电平与RS232电平的双向转换。 +**ATOM RS-232** 是一款基于Atomic设计的TTL-RS232电平转换器。RS232是一种全双工通信协议标准,定义了串行通信系统的电气特性,在工业控制领域是一种应用广泛的通讯协议。模块采用MAX232芯片,支持TTL电平与RS232电平的双向转换,同时内置DC-DC降压稳压芯片,可以直接通过RS232的12V电平为ATOM供电。 ## 产品特性 -- 适配ATOM Matrix/Lite -- 内置DC/DC -- 双向电平转换 +- 适配ATOM Matrix/ATOM Lite +- 全双工通讯 +- 内置DC-DC ## 包含 -- 1x Atomic485 +- 1x ATOM RS-232 +- 1x ATOM Lite +- 1x M2内六角扳手 +- 1x M2*8mm杯头机械牙螺丝 +- 1x 18cm TYPE-C数据线 ## 应用 -- RS485多点通讯 +- RS232通讯 +- 工业控制节点 ## 规格参数 @@ -37,32 +42,28 @@ VH-3.96 4P - 转换电平 - 5V<->12V + 电平转换芯片 + MAX232 - 电平转换IC - SP485EEN-L - - - 稳压降压IC - AOZ1282CI + DC-DC + A0Z1282CI 净重 - 9g + 26g 毛重 - 9g + 36g 产品尺寸 - 54*96*10mm + 24*24*18mm 包装尺寸 - 100*60*10mm + 54*54*20mm 外壳材质 @@ -79,21 +80,21 @@
- Windows - MacOS + Windows + MacOS

案例描述:

-

按下按键发送"hello",接收到消息led闪烁.

+

通过RS485收发到消息LED亮起,按下按键发送消息

@@ -101,36 +102,35 @@ ## 相关链接 - **Datasheet** - - [SP485EEN](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/SP485EEN_en.pdf) + - [MAX232](hhttps://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomicRS232/MAX232.pdf) - [AOZ1282CI](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/tail485/AOZ1282CI-datasheet.pdf) + ### 管脚映射 - - + +
ATOMGPIO26(TX)GPIO32(RX)5VGND
Atomic232RXTX5VGND
ATOMGPIO22GPIO195VGND
ATOM RS-232RXTX5VGND
## 原理图 - + ## 案例程序 ### 1. Arduino IDE -[点击这里获取Arduino示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/Tail485/Tail485) +[点击这里获取Arduino示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomicRS232/Arduino/AtomicRS232) ### 2. UIFlow -[点击这里获取UIFlow示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/Tail485/UIFlow) - - +[点击这里获取UIFlow示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/AtomBase/AtomicRS232/UIFlow)