mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add docs for CATEAR and BUTTERFLY
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 117 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 440 KiB |
@@ -0,0 +1,27 @@
|
||||
# BUTTERFLY
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_01.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
: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
|
||||
|
||||
**<mark>BUTTERFLY</mark>** 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.
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_06.png" width="70%" height="70%">
|
||||
|
||||
## 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.
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_02.png" width="70%" height="70%">
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_04.png" width="70%" height="70%">
|
||||
|
||||
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".
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_03.png" width="70%" height="70%">
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_05.png" width="70%" height="70%">
|
||||
@@ -0,0 +1,59 @@
|
||||
# CATEAR
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_catear_01.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_catear_02.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_catear_03.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
: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
|
||||
|
||||
**<mark>CATEAR</mark>** 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
|
||||
|
||||
<!-- ### 1. Arduino IDE -->
|
||||
|
||||
### UIFlow
|
||||
|
||||
*If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/CATEAR/UIFlow).*
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/CATEAR/example_unit_catear_01.png">
|
||||
|
||||
### PinMap
|
||||
|
||||
**If CATEAR was connected to GROVE A**
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>CATEAR Unit</td><td> </td><td>CATEAR Pin</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
**If CATEAR was connected to GROVE B**
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>CATEAR Unit</td><td> </td><td>CATEAR Pin</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
**If CATEAR was connected to GROVE C**
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE C)</td><td>GPIO16</td><td>GPIO17</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>CATEAR Unit</td><td> </td><td>CATEAR Pin</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
+5
-2
@@ -117,7 +117,6 @@
|
||||
|
||||
[](en/unit/adc) [](en/unit/dac) [](en/unit/makey) [](en/unit/rgb)
|
||||
|
||||
|
||||
|
||||
|
||||
[](en/unit/relay) [](en/unit/hub) [](en/unit/396port) [](en/unit/proto)
|
||||
@@ -130,7 +129,11 @@
|
||||
|
||||
**Visual class**
|
||||
|
||||
[](en/unit/neopixel) [](en/unit/hex) [](en/unit/neoflash)
|
||||
[](en/unit/neopixel) [](en/unit/catear) [](en/unit/hex) [](en/unit/neoflash)
|
||||
|
||||
|
||||
|
||||
[](en/unit/butterfly)
|
||||
|
||||
<!-- [](en/unit/catear) -->
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
**套件**
|
||||
|
||||
[](zh_CN/core/m5go_iot_starter_kit) [](zh_CN/core/face_kit)
|
||||
[](zh_CN/core/m5go_iot_starter_kit) [](zh_CN/core/m5go_lite) [](zh_CN/core/face_kit)
|
||||
|
||||
<!-- M5GO物联网开发套件 FACES套件 -->
|
||||
|
||||
@@ -112,7 +112,9 @@
|
||||
|
||||
**视觉类Unit**
|
||||
|
||||
[](zh_CN/unit/neopixel) [](zh_CN/unit/hex) [](zh_CN/unit/neoflash)
|
||||
[](zh_CN/unit/neopixel) [](zh_CN/unit/catear) [](zh_CN/unit/hex) [](zh_CN/unit/neoflash)
|
||||
|
||||
[](zh_CN/unit/butterfly)
|
||||
|
||||
<!-- [](zh_CN/unit/catear) -->
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# BUTTERFLY
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_01.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[描述](#描述)** :bulb:**[装配](#装配)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.10.63fb425eBx48kT&id=583025433070)**
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>BUTTERFLY</mark>** 是一个由舵机驱动的蝴蝶模型。当控制舵机是 **0 度**时,舵机发射装置上锁;当控制舵机 **90 度**时,发射装置解锁,释放“蝴蝶”。
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_06.png" width="70%" height="70%">
|
||||
|
||||
## 装配
|
||||
|
||||
使用前,烧录 BUTTERFLY 的 UIFlow [例程](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTERFLY/UIFlow) 到 Core,然后通过 GROVE 线和 Grove2Pin转接板,将 Core 和 发射装置连接在一起,使得能够用 Core 上的按键控制舵机转动。
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_02.png" width="70%" height="70%">
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_04.png" width="70%" height="70%">
|
||||
|
||||
装配“蝴蝶”,控制舵机 **90 度**,将“蝴蝶”通过皮筋绑定发射装置上,并控制舵机为 **0 度**,上锁。
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_03.png" width="70%" height="70%">
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_butterfly_05.png" width="70%" height="70%">
|
||||
@@ -1,13 +1,59 @@
|
||||
# CATEAR
|
||||
# CATEAR - 猫耳朵
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_finger_01.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_finger_02.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_finger_grove_c.png" width="30%" height="30%">
|
||||
<img src="assets/img/product_pics/unit/unit_catear_01.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_catear_02.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_catear_03.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
: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:**[例程](#例程)** :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)**
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>CATEAR</mark>**
|
||||
**<mark>CATEAR</mark>** 是猫耳朵形状的 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/)**
|
||||
|
||||
## 例程
|
||||
|
||||
<!-- ### 1. Arduino IDE -->
|
||||
|
||||
### UIFlow
|
||||
|
||||
*具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/CATEAR/UIFlow).*
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/CATEAR/example_unit_catear_01.png">
|
||||
|
||||
### 管脚映射
|
||||
|
||||
**如果CATEAR接GROVE A**
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE接口A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>CATEAR Unit</td><td> </td><td>CATEAR 引脚</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
**如果CATEAR接GROVE B**
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE接口B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>CATEAR Unit</td><td> </td><td>CATEAR 引脚</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
**如果CATEAR接GROVE C**
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE接口C)</td><td>GPIO16</td><td>GPIO17</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>CATEAR Unit</td><td> </td><td>CATEAR 引脚</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
@@ -77,7 +77,7 @@ void loop(){
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/HEX/example_unit_dual_button_03.png">
|
||||
|
||||
### UIFlow
|
||||
### 2. UIFlow
|
||||
|
||||
*具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEX/UIFlow).*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user