From 25f4573a2b57b02c33dd9f47111f01d6a457b989 Mon Sep 17 00:00:00 2001 From: shaoxiang <1026025056@qq.com> Date: Fri, 26 Jul 2019 22:41:11 +0800 Subject: [PATCH 1/2] add purchase links for 485 butterfly --- docs/en/accessory/485t.md | 2 +- docs/en/unit/butterfly.md | 2 +- docs/index.html | 3 +- docs/zh_CN/accessory/485t.md | 4 +-- docs/zh_CN/unit/butterfly.md | 56 +++++++++++++++++++++++++++++++++--- 5 files changed, 56 insertions(+), 11 deletions(-) diff --git a/docs/en/accessory/485t.md b/docs/en/accessory/485t.md index 50532712..d30c5133 100644 --- a/docs/en/accessory/485t.md +++ b/docs/en/accessory/485t.md @@ -6,7 +6,7 @@ -:memo:**[Description](#Description)**      🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/frame-panel-extended-install-components)** +:memo:**[Description](#Description)**      🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/m5stack-rs485t)** ## Description diff --git a/docs/en/unit/butterfly.md b/docs/en/unit/butterfly.md index f740f83b..af9ea567 100644 --- a/docs/en/unit/butterfly.md +++ b/docs/en/unit/butterfly.md @@ -5,7 +5,7 @@ *** -:memo:**[Description](#Description)**      :bulb:**[Assembly Steps](#Assembly-Steps)**      🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stack-butterfly-magic-prop-toy)**       +:memo:**[Description](#Description)**      :bulb:**[Assembly Steps](#Assembly-Steps)**      🛒**[Purchase](https://m5stack.com/collections/m5-application/products/butterfly-launcher)**       ## Description diff --git a/docs/index.html b/docs/index.html index 0c76b488..90a84a28 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,14 +18,13 @@ //监听加载状态改变 document.onreadystatechange = completeLoading; - //加载状态为complete时移除loading效果 function completeLoading() {     if (document.readyState == "complete") {         var loadingMask = document.getElementById('loading');         loadingMask.parentNode.removeChild(loadingMask);     } - } + } diff --git a/docs/zh_CN/accessory/485t.md b/docs/zh_CN/accessory/485t.md index 8b52736f..0082aa68 100644 --- a/docs/zh_CN/accessory/485t.md +++ b/docs/zh_CN/accessory/485t.md @@ -2,9 +2,7 @@ -:memo:**[描述](#描述)**       - - +:memo:**[描述](#描述)**      🛒**[购买链接](https://m5stack.com/collections/m5-accessory/products/m5stack-rs485t)** ## 描述 diff --git a/docs/zh_CN/unit/butterfly.md b/docs/zh_CN/unit/butterfly.md index cd0f496d..f09df34c 100644 --- a/docs/zh_CN/unit/butterfly.md +++ b/docs/zh_CN/unit/butterfly.md @@ -4,16 +4,15 @@ *** -:memo:**[描述](#描述)**      :bulb:**[步骤](#步骤)**      🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stack-butterfly-magic-prop-toy)**       +:memo:**[描述](#描述)**      :bulb:**[步骤](#步骤)**      🛒**[购买链接](https://m5stack.com/collections/m5-application/products/butterfly-launcher)**       ## 描述 **Butterfly Launcher** 是一个酷炫的蝴蝶模型发射器,相比旧版本的发射器,新版配备了MEGA328微处理器、锂电池组件、18个彩色LED灯,以及提供了两个拓展端口(分别用于电源,串口通信). 实际使用时能够同时串联多个设备,并独立控制它们. - +
串行通信机制:将多个设备进行串联,为了准确的向某个设备发送指令,我们在代码中附加"id"变量,当指令通过控制器串行传输到设备时,每经过一个设备,变量都将进行减一操作,读取到变量为0的设备则执行命令. - +
因此,1,我们能够独立控制串行设备中的任意一个,并单独设置它们的LED颜色,闪烁模式,亮度和伺服状态. - 2,如同下方视频所示,在LED灯演示时,存在着一定的延迟,假设每个设备有100ms的延迟,并且我们总共有10个,则最后一个设备将有1s的延迟时间.为了优化这种延迟,我们可以对第一个设备进行编程以等待最后一个设备(由于协议的特性,延迟的产生是无法避免的) ## 产品特性 @@ -43,6 +42,45 @@ + +## 装配步骤 + +### 按钮功能(正面) + - 右:单击打开电源,双击打开电源。 + - 左:长按直到led cricle变为另一种颜色,松开按钮。然后短按它将调整伺服臂。重复上述过程以获得正确的位置。 + +### 装配蝴蝶模型 + + + + +### 外接电源(在设备连接超过10个的情况下,会需要外接电源使其稳定) + +

+ + +注意: +1)在线路末端添加电源,或者使用(GROVE-usbA连接线+充电宝)或(GROVE-usbA连接线 + 5V充电头) +2)grove 2 usbA连接线 +3)带GROVE公端口的墙上插头 + + +## 推荐步骤 + +1)使用m5go连接设备,在末端连接额外的电源。 +2)使用uiflow测试代码测试线路,确保每个设备正常工作。 +3)使用设备上的按钮加载蝴蝶. +4)编程M5GO上的按钮启动发射蝴蝶 +  + + + + + +## 程序部分 + 关于控制程序,我们在UIFLow上封装了一个特别的程序块, 这使得您能够简单地编写控制程序.下面将向您展示如何在UIFlow上添加程序块. >1,导航到"自定义",单击"打开"* m5d @@ -56,3 +94,13 @@ >3,展开Custom选项,选择蝴蝶程序块. + + + + +## Video + + + From 5dc90060727d19b2ec329512a031ce8801a99cdf Mon Sep 17 00:00:00 2001 From: shaoxiang <1026025056@qq.com> Date: Mon, 29 Jul 2019 14:46:52 +0800 Subject: [PATCH 2/2] change hex homepage pic --- docs/index.html | 137 ++++++++++++++++++------------------ docs/index.md | 2 +- docs/zh_CN/README.md | 2 +- docs/zh_CN/module/lte.md | 2 +- docs/zh_CN/module/nb-iot.md | 2 +- 5 files changed, 74 insertions(+), 71 deletions(-) diff --git a/docs/index.html b/docs/index.html index 90a84a28..465356c4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,32 +5,30 @@ - + M5Stack - A series of modular stackable development devices - + - @@ -47,20 +45,21 @@
-
M5Stack Docs
+
+ M5Stack Docs
- - 中文 + + 中文
loading...
@@ -91,7 +90,7 @@ '/.*/navbar.md': '/navbar.md', '/en/': '/', }, - auto2top: true, + auto2top: true, mergeNavbar: true, maxLevel: 4, subMaxLevel: 3, @@ -107,98 +106,102 @@ } @@ -224,4 +227,4 @@ - + \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 9dd92e44..62b71768 100644 --- a/docs/index.md +++ b/docs/index.md @@ -934,7 +934,7 @@
- +

HEX

diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index a8c91e25..ff44002a 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -846,7 +846,7 @@
- +

HEX

diff --git a/docs/zh_CN/module/lte.md b/docs/zh_CN/module/lte.md index b561b467..9c5aa469 100644 --- a/docs/zh_CN/module/lte.md +++ b/docs/zh_CN/module/lte.md @@ -8,7 +8,7 @@ ## 描述 -**LTE** 是M5Stack堆叠模块系列中的一款,LTE通信模块.内部集成**M8321** LTE工业级通信模组. 提供 TD-LTE/FDD-LTE/WCDMA/TDSCDMA/GSM/GPRS/EDGE 的频段.丰富的 Internet 协议、行业标准接口和功能,支持多种操作系统的USB驱动程序,能够给用户带来快速且稳定的通信体验. +**LTE** 是M5Stack堆叠模块系列中的一款,LTE通信模块.内部集成**M8321** LTE全网通工业级通信模组. 提供 TD-LTE/FDD-LTE/WCDMA/TDSCDMA/GSM/GPRS/EDGE 的频段.丰富的 Internet 协议、行业标准接口和功能,支持多种操作系统的USB驱动程序,能够给用户带来快速且稳定的通信体验. diff --git a/docs/zh_CN/module/nb-iot.md b/docs/zh_CN/module/nb-iot.md index 6fec2e7c..35f56a1b 100644 --- a/docs/zh_CN/module/nb-iot.md +++ b/docs/zh_CN/module/nb-iot.md @@ -8,7 +8,7 @@ ## 描述 -**NB-IoT** 是M5Stack堆叠模块系列中的一款,NB-IoT通信模块.内部集成高性能 NB-IoT 无线通信模组**M5311**.低功耗设计可以帮助客户获得更长的终端使用寿命.M5311 提供丰富的外部接口和协议栈,支持外接传感器设备,为用户的产品开发提供了极大的便利.同时支持 OneNET 云平台协议,真正实现无缝对接,快速开发. +**NB-IoT** 是M5Stack堆叠模块系列中的一款,NB-IoT通信模块.内部集成高性能 NB-IoT 全网通无线通信模组**M5311**.低功耗设计可以帮助客户获得更长的终端使用寿命.M5311 提供丰富的外部接口和协议栈,支持外接传感器设备,为用户的产品开发提供了极大的便利.同时支持 OneNET 云平台协议,真正实现无缝对接,快速开发. 该模块特别适用于以超低功耗、超小尺寸为核心需求的智能表计、智能穿戴、智能停车、市政管理等loT行业