diff --git a/docs/assets/img/product_pics/unit/unit_butterfly_05.png b/docs/assets/img/product_pics/unit/unit_butterfly_05.png index b1336332..f9f8f6b3 100644 Binary files a/docs/assets/img/product_pics/unit/unit_butterfly_05.png and b/docs/assets/img/product_pics/unit/unit_butterfly_05.png differ diff --git a/docs/assets/img/product_pics/unit/unit_butterfly_06.png b/docs/assets/img/product_pics/unit/unit_butterfly_06.png new file mode 100644 index 00000000..70100985 Binary files /dev/null and b/docs/assets/img/product_pics/unit/unit_butterfly_06.png differ diff --git a/docs/assets/img/product_pics/unit/unit_example/BUTTERFLY/example_unit_butterfly_04.png b/docs/assets/img/product_pics/unit/unit_example/BUTTERFLY/example_unit_butterfly_04.png new file mode 100644 index 00000000..7bf7c15f Binary files /dev/null and b/docs/assets/img/product_pics/unit/unit_example/BUTTERFLY/example_unit_butterfly_04.png differ diff --git a/docs/assets/img/product_pics/unit/unit_example/CATEAR/example_unit_catear_01.png b/docs/assets/img/product_pics/unit/unit_example/CATEAR/example_unit_catear_01.png new file mode 100644 index 00000000..ac22f523 Binary files /dev/null and b/docs/assets/img/product_pics/unit/unit_example/CATEAR/example_unit_catear_01.png differ diff --git a/docs/en/unit/butterfly.md b/docs/en/unit/butterfly.md new file mode 100644 index 00000000..92fdd1b8 --- /dev/null +++ b/docs/en/unit/butterfly.md @@ -0,0 +1,27 @@ +# BUTTERFLY + + + +*** + +:memo:**[Description](#Description)**      :bulb:**[Assembly](#Assembly)**      🛒**[购买链接](https://www.aliexpress.com/store/product/M5Stack-Official-Rubber-Band-Powered-Butterfly-Launcher-with-SERVO-control-and-GROVE-Cable-Adapter-Children-s/3226069_32956965036.html?spm=2114.12010615.8148356.2.486b2682Z5xogF)** + +## Description + +**BUTTERFLY** is a butterfly model driven by Servo Motor. When servo turn to **0 degree**, "butterfly" will be locked; When servo turns to **90 degree**, "butterfly" will be released and fly out. + + + +## Assembly + +Before "butterfly" fly out, we need assemble it. First, burn this [example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTERFLY/UIFlow) into Core, then connect Core with Launcher through GROVE cable and Grove2Pin convertor so that you can control the Lanuncher(Servo Motor) through the Core. + + + + + +Assemble "butterfly", control the Servo Motor to **90 degree**, then bind "butterfly" to the Lanuncher, and control the Servo Motor to **0 degree** for locking "butterfly". + + + + \ No newline at end of file diff --git a/docs/en/unit/catear.md b/docs/en/unit/catear.md new file mode 100644 index 00000000..aaa7ad51 --- /dev/null +++ b/docs/en/unit/catear.md @@ -0,0 +1,59 @@ +# CATEAR + + + +*** + +:memo:**[Description](#Description)**      :octocat:**[Example](#Example)**      🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-Cute-Cat-Ears-Acrylic-Handbands-with-118Pcs-NeoPixel-LED-Lights-Control-by-UI-Flow/3226069_32956969127.html?spm=2114.12010615.8148356.2.7e9f55cfahQyM2)** + +## Description + +**CATEAR** is a cat ear shaped Neopixel bar built in 118 RGB LEDs. It can be connected to GROVE A, B or C on M5Core. + +## Feature + +- The number of RGB: 118 +- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) + +## Related Link + +- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** + +- **[Forum](http://forum.m5stack.com/)** + +- **[FastLED Library](https://github.com/FastLED/FastLED/wiki/Overview)** + +- **[FastLED Reference(Chinese version)](http://www.taichi-maker.com/homepage/reference-index/arduino-library-index/fastled-library/)** + +## Example + + + +### UIFlow + +*If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/CATEAR/UIFlow).* + + + +### PinMap + +**If CATEAR was connected to GROVE A** + + + + +
M5Core(GROVE A)GPIO22GPIO215VGND
CATEAR Unit CATEAR Pin5VGND
+ +**If CATEAR was connected to GROVE B** + + + + +
M5Core(GROVE B)GPIO36GPIO265VGND
CATEAR Unit CATEAR Pin5VGND
+ +**If CATEAR was connected to GROVE C** + + + + +
M5Core(GROVE C)GPIO16GPIO175VGND
CATEAR Unit CATEAR Pin5VGND
diff --git a/docs/index.md b/docs/index.md index 3f8a619a..ceadff0a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -117,7 +117,6 @@ [![unit_adc.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_adc_01.png)](en/unit/adc)         [![unit_dac.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_dac_01.png)](en/unit/dac)         [![unit_makey.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_makey_01.png)](en/unit/makey)         [![unit_rgb.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_rgb_01.png)](en/unit/rgb) -   [![unit_relay.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_relay_01.png)](en/unit/relay)         [![unit_hub.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_hub_01.png)](en/unit/hub)         [![unit_396port.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_396port_01.png)](en/unit/396port)         [![unit_proto.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_proto_01.png)](en/unit/proto) @@ -130,7 +129,11 @@ **Visual class** -[![unit_neopixel.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neopixel_01.png)](en/unit/neopixel)         [![unit_hex.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_hex_01.png)](en/unit/hex)         [![unit_neoflash.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neoflash_01.png)](en/unit/neoflash) +[![unit_neopixel.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neopixel_01.png)](en/unit/neopixel)         [![unit_catear.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_catear_01.png)](en/unit/catear)         [![unit_hex.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_hex_01.png)](en/unit/hex)         [![unit_neoflash.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neoflash_01.png)](en/unit/neoflash) + +  + +[![unit_butterfly.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_butterfly_01.png)](en/unit/butterfly) diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index 19f29d2d..522a94eb 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -23,7 +23,7 @@ **套件** -[![kit_m5go.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/kit_m5go_01.png)](zh_CN/core/m5go_iot_starter_kit)         [![kit_faces.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/kit_faces_01.png)](zh_CN/core/face_kit) +[![kit_m5go.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/kit_m5go_01.png)](zh_CN/core/m5go_iot_starter_kit)         [![kit_m5go_lite.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/kit_m5go_lite_01.png)](zh_CN/core/m5go_lite)         [![kit_faces.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/kit_faces_01.png)](zh_CN/core/face_kit) @@ -112,7 +112,9 @@ **视觉类Unit** -[![unit_neopixel.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neopixel_01.png)](zh_CN/unit/neopixel)         [![unit_hex.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_hex_01.png)](zh_CN/unit/hex)         [![unit_neoflash.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neoflash_01.png)](zh_CN/unit/neoflash) +[![unit_neopixel.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neopixel_01.png)](zh_CN/unit/neopixel)         [![unit_catear.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_catear_01.png)](zh_CN/unit/catear)         [![unit_hex.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_hex_01.png)](zh_CN/unit/hex)         [![unit_neoflash.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neoflash_01.png)](zh_CN/unit/neoflash) + +[![unit_butterfly.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_butterfly_01.png)](zh_CN/unit/butterfly) diff --git a/docs/zh_CN/unit/butterfly.md b/docs/zh_CN/unit/butterfly.md new file mode 100644 index 00000000..bbf8a499 --- /dev/null +++ b/docs/zh_CN/unit/butterfly.md @@ -0,0 +1,27 @@ +# BUTTERFLY + + + +*** + +:memo:**[描述](#描述)**      :bulb:**[装配](#装配)**      🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.10.63fb425eBx48kT&id=583025433070)** + +## 描述 + +**BUTTERFLY** 是一个由舵机驱动的蝴蝶模型。当控制舵机是 **0 度**时,舵机发射装置上锁;当控制舵机 **90 度**时,发射装置解锁,释放“蝴蝶”。 + + + +## 装配 + +使用前,烧录 BUTTERFLY 的 UIFlow [例程](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTERFLY/UIFlow) 到 Core,然后通过 GROVE 线和 Grove2Pin转接板,将 Core 和 发射装置连接在一起,使得能够用 Core 上的按键控制舵机转动。 + + + + + +装配“蝴蝶”,控制舵机 **90 度**,将“蝴蝶”通过皮筋绑定发射装置上,并控制舵机为 **0 度**,上锁。 + + + + \ No newline at end of file diff --git a/docs/zh_CN/unit/catear.md b/docs/zh_CN/unit/catear.md index 2913bb45..b52c9db0 100644 --- a/docs/zh_CN/unit/catear.md +++ b/docs/zh_CN/unit/catear.md @@ -1,13 +1,59 @@ -# CATEAR +# CATEAR - 猫耳朵 - + *** -:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://pt.aliexpress.com/store/product/M5Stack-Official-Cute-Cat-Ears-Acrylic-Handbands-with-118Pcs-NeoPixel-LED-Lights-Control-by-UI-Flow/3226069_32956969127.html?spm=a2g03.12010615.8148356.2.1f4631c86nrIn6)**       - - +:memo:**[描述](#描述)**      :octocat:**[例程](#例程)**      🛒**[购买链接](https://www.aliexpress.com/store/product/M5Stack-Official-Cute-Cat-Ears-Acrylic-Handbands-with-118Pcs-NeoPixel-LED-Lights-Control-by-UI-Flow/3226069_32956969127.html?spm=2114.12010615.8148356.2.7e9f55cfahQyM2)**       ## 描述 -**CATEAR** \ No newline at end of file +**CATEAR** 是猫耳朵形状的 Neopixel 灯条。CATEAR 总共有 118 颗 RGB LED。它可以接 M5Core 的 GROVE A, B, C 接口。 + +## 特性 + +- RGB LED灯数: 118 +- GROVE接口,支持 [UiFlow](http://flow.m5stack.com) 编程,[Arduino](http://www.arduino.cc) 编程 + +## 相关链接 + +- **[官方频道视频](https://i.youku.com/i/UNjE1ODA2MzE0OA==?spm=a2hzp.8253869.0.0)** + +- **[官方论坛](http://forum.m5stack.com/)** + +- **[FastLED库说明](https://github.com/FastLED/FastLED/wiki/Overview)** + +- **[FastLED参考(中文)](http://www.taichi-maker.com/homepage/reference-index/arduino-library-index/fastled-library/)** + +## 例程 + + + +### UIFlow + +*具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/CATEAR/UIFlow).* + + + +### 管脚映射 + +**如果CATEAR接GROVE A** + + + + +
M5Core(GROVE接口A)GPIO22GPIO215VGND
CATEAR Unit CATEAR 引脚5VGND
+ +**如果CATEAR接GROVE B** + + + + +
M5Core(GROVE接口B)GPIO36GPIO265VGND
CATEAR Unit CATEAR 引脚5VGND
+ +**如果CATEAR接GROVE C** + + + + +
M5Core(GROVE接口C)GPIO16GPIO175VGND
CATEAR Unit CATEAR 引脚5VGND
\ No newline at end of file diff --git a/docs/zh_CN/unit/hex.md b/docs/zh_CN/unit/hex.md index 13fafd20..e0646473 100644 --- a/docs/zh_CN/unit/hex.md +++ b/docs/zh_CN/unit/hex.md @@ -77,7 +77,7 @@ void loop(){ -### UIFlow +### 2. UIFlow *具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEX/UIFlow).*