diff --git a/docs/en/unit/butterfly.md b/docs/en/unit/butterfly.md index 92fdd1b8..e0399600 100644 --- a/docs/en/unit/butterfly.md +++ b/docs/en/unit/butterfly.md @@ -4,11 +4,11 @@ *** -: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)** +:memo:**[Description](#Description)**      :bulb:**[Assembly](#Assembly)**      🛒**[Purchase](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. +**BUTTERFLY** is a butterfly model driven by Servo Motor. When servo turn to **0 degree**, "butterfly" will be locked; When servo turns to **30 degree**, "butterfly" will be released and fly out. @@ -20,7 +20,7 @@ Before "butterfly" fly out, we need assemble it. First, burn this [example](http -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". +Assemble "butterfly", control the Servo Motor to **30 degree**, then bind "butterfly" to the Lanuncher, and control the Servo Motor to **0 degree** for locking "butterfly". diff --git a/docs/en/unit/neoflash.md b/docs/en/unit/neoflash.md index b6d3d8a7..4d6b85cb 100644 --- a/docs/en/unit/neoflash.md +++ b/docs/en/unit/neoflash.md @@ -8,7 +8,7 @@ ## Description -**NEOFLASH**is a RGB LED panel with 192 RGB LED(24x8). The upper right corner is the first LED, and the LEDs are incremented from left to right and top to bottom. NEOFLASH is also equipped with three GROVE A interfaces (IIC interfaces) for easy integration with Neoflash. +**NEOFLASH**is a RGB LED panel with 192 RGB LED(24x8). The upper left corner is the first LED, and the LEDs are incremented from left to right and top to bottom. NEOFLASH is also equipped with three GROVE A interfaces (IIC interfaces) for easy integration with Neoflash. diff --git a/docs/ja/README.md b/docs/ja/README.md index 4ce38ee5..dfccf7fa 100644 --- a/docs/ja/README.md +++ b/docs/ja/README.md @@ -97,9 +97,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)](ja/unit/neopixel)         [![unit_hex.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_hex_01.png)](ja/unit/hex)         [![unit_neoflash.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neoflash_01.png)](ja/unit/neoflash) +[![unit_neopixel.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neopixel_01.png)](ja/unit/neopixel)         [![unit_catear.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_catear_01.png)](ja/unit/catear)         [![unit_hex.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_hex_01.png)](ja/unit/hex)         [![unit_neoflash.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_neoflash_01.png)](ja/unit/neoflash) - +  + +[![unit_butterfly.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/unit/unit_butterfly_01.png)](ja/unit/butterfly) *** diff --git a/docs/ja/module/lora.md b/docs/ja/module/lora.md index e3522b83..343c7597 100644 --- a/docs/ja/module/lora.md +++ b/docs/ja/module/lora.md @@ -10,7 +10,7 @@ **LORA**モジュールはRa-02と呼ばれる小型のLoRa™モジュールを採用しています。 -LoRa™は少ない消費電力で広いエリアをカバーする無線通信方式の一つです。 +LoRa™は少ない消費電力で広いエリア(1~2km)をカバーする無線通信方式の一つです。Wi-FiやBluetoothなどとは補完の関係にあります。 ## 特徴 @@ -49,45 +49,52 @@ LoRa™は少ない消費電力で広いエリアをカバーする無線通信 ### Arduino IDE +2台以上のLoRaモジュールを用い、長距離通信を行うサンプルコードです。 +- メッセージの送信に成功したら、青い文字列が表示されます。 +- メッセージの受信に成功したら、黄色い文字列が表示されます。 +- 初期化に失敗したら、赤い文字列が表示されます。 + +*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LORA/Arduino)* + ```arduino #include #include -//declaration -String outgoing; // outgoing message -byte msgCount = 0; // count of outgoing messages -byte localAddress = 0xBB; // address of this device -byte destination = 0xFF; // destination to send to +// 宣言 +String outgoing; // 送信メッセージ +byte msgCount = 0; // 送信メッセージ数 +byte localAddress = 0xBB; // このデバイスのアドレス +byte destination = 0xFF; // 送信先 -//initialization +// 初期化 M5.begin(); -LoRa.setPins(); // set CS, reset, IRQ pin -LoRa.begin(433E6); // initialize ratio at 915 MHz +LoRa.setPins(); // CS, reset, IRQピンの設定 +LoRa.begin(433E6); // 915 MHzで初期化 -//send message +// メッセージ送信 void sendMessage(String outgoing) { - LoRa.beginPacket(); // start packet - LoRa.write(destination); // add destination address - LoRa.write(localAddress); // add sender address - LoRa.write(msgCount); // add message ID - LoRa.write(outgoing.length()); // add payload length - LoRa.print(outgoing); // add payload - LoRa.endPacket(); // finish packet and send it - msgCount++; // increment message ID + LoRa.beginPacket(); // パケット開始 + LoRa.write(destination); // 送信先アドレスの追加 + LoRa.write(localAddress); // 送信者アドレスの追加 + LoRa.write(msgCount); // メッセージIDの追加 + LoRa.write(outgoing.length()); // ペイロード長の追加 + LoRa.print(outgoing); // ペイロードの追加 + LoRa.endPacket(); // パケット送信 + msgCount++; // メッセージIDインクリメント } -//receive message +// メッセージ受信 void onReceive(int packetSize) { - if (packetSize == 0) return; // if there's no packet, return - int recipient = LoRa.read(); // recipient address - byte sender = LoRa.read(); // sender address - byte incomingMsgId = LoRa.read(); // incoming msg ID - byte incomingLength = LoRa.read(); // incoming msg length + if (packetSize == 0) return; // パケットが無い場合リターン + int recipient = LoRa.read(); // 受信者アドレス + byte sender = LoRa.read(); // 送信者アドレス + byte incomingMsgId = LoRa.read(); // 受信メッセージID + byte incomingLength = LoRa.read(); // 受信メッセージ長 String incoming = ""; while (LoRa.available()) { - incoming += (char)LoRa.read(); + incoming += (char)LoRa.read(); // メッセージ取得 } } diff --git a/docs/ja/unit/butterfly.md b/docs/ja/unit/butterfly.md new file mode 100644 index 00000000..eade2608 --- /dev/null +++ b/docs/ja/unit/butterfly.md @@ -0,0 +1,27 @@ +# BUTTERFLY + + + +*** + +:memo:**[概要](#概要)**      :bulb:**[組み立て](#組み立て)**      🛒**[購入リンク](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)** + +## 概要 + +**BUTTERFLY**はServoモータによって駆動する蝶々のモデルです。サーボを**0度**に設定すると"butterfly"はロック状態になります。サーボを**30度**にすると"butterfly"は羽ばたきながら飛び出します。 + + + +## 組み立て + +"butterfly"が飛び立つ前にそれらを組み立てる必要があります。はじめにこの[サンプルコード](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTERFLY/UIFlow)をM5Coreに書き込む必要があります。次に発射台とM5CoreをGROVEケーブルでGrove2Pinコンバータを介して接続します。 + + + + + +組み立て後、サーボモータを**30度**にしてから"butterfly"を発射台にセットします。そしてサーボモータを**0度**にしてロック状態にします。 + + + + \ No newline at end of file diff --git a/docs/ja/unit/catear.md b/docs/ja/unit/catear.md new file mode 100644 index 00000000..dd45bb2e --- /dev/null +++ b/docs/ja/unit/catear.md @@ -0,0 +1,59 @@ +# CATEAR + + + +*** + +: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)** + +## 概要 + +**CATEAR**はフルカラーLEDを118個搭載した猫耳型のアクセサリです。M5CoreとGROVEコネクタで接続します。 + +## 特徴 + +- フルカラーLED: 118個 +- GROVEインターフェース、[UIFlow](http://flow.m5stack.com)と[Arduino](http://www.arduino.cc)をサポート + +## 関連リンク + +- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** + +- **[フォーラム](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 Pin5VGND
+ +**CATEARをGROVE Bに接続** + + + + +
M5Core(GROVE B)GPIO36GPIO265VGND
CATEAR Unit CATEAR Pin5VGND
+ +**CATEARをGROVE Cに接続** + + + + +
M5Core(GROVE C)GPIO16GPIO175VGND
CATEAR Unit CATEAR Pin5VGND
diff --git a/docs/ja/unit/extio.md b/docs/ja/unit/extio.md index 88ad3c37..03193661 100644 --- a/docs/ja/unit/extio.md +++ b/docs/ja/unit/extio.md @@ -4,31 +4,32 @@ *** -:memo:**[Description](#Description)**      🛒**[Purchase](https://pt.aliexpress.com/store/product/M5Stack-Official-Extend-Serial-IO-I-O-Unit-Grove-Cable-I2C-Interface-for-Arduino-Blockly-ESP32/3226069_32966582585.html?spm=a2g03.12010615.8148356.48.3b773d71o7oNY1)** +:memo:**[概要](#概要)**      🛒**[購入リンク](https://www.aliexpress.com/item/M5Stack-Official-Extend-Serial-IO-I-O-Unit-Grove-Cable-I2C-Interface-for-Arduino-Blockly-ESP32/32966582585.html)** -## Description +## 概要 -**EXT.IO** is a unit used to expand I/O port. It integrates PCA9554PW that can achieve two I/O pins expand to 8 bits of General Purpose parallel Input/Output(GPIO). +**EXT.IO**ユニットはI/Oポートを拡張します。2本のI/Oピンを8ビットの汎用パラレル入出力(GPIO)に拡張可能なPCA9554PWを統合しています。 -This unit connects to GRVOE A interface on M5Core, and it communicates with M5Core through IIC(the IIC address is 0x27). +このユニットはM5CoreのGRVOE Aを経て、I2C通信で接続されます。I2Cアドレスは**0x27**です。 -## Feature +## 特徴 -- Expanded I/O number: 8 -- GROVE interface, support [UiFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) -- Two Lego installation holes +- I/O拡張数: 8 +- GROVEインターフェース、[UiFlow](http://flow.m5stack.com)と[Arduino](http://www.arduino.cc)をサポート +- LEGO互換の穴 -## Related Link +## 関連リンク -- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** +- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** -- **[Forum](http://forum.m5stack.com/)** +- **[フォーラム](http://forum.m5stack.com/)** -- Datasheet - **[PCA9554PW](https://pdf1.alldatasheet.com/datasheet-pdf/view/86709/PHILIPS/PCA9554PW.html)** +- Datasheet + - **[PCA9554PW](https://pdf1.alldatasheet.com/datasheet-pdf/view/86709/PHILIPS/PCA9554PW.html)** -### PinMap +### ピンマップ diff --git a/docs/ja/unit/finger.md b/docs/ja/unit/finger.md index d6c8bdca..e68f9994 100644 --- a/docs/ja/unit/finger.md +++ b/docs/ja/unit/finger.md @@ -4,47 +4,47 @@ *** -:memo:**[Description](#Description)**      :electric_plug:**[Schematic](#Schematic)**      🛒**[Purchase](https://pt.aliexpress.com/store/product/M5Stack-Official-Finger-Print-Unit-FPC1020A-Capacitive-Fingerprint-Identification-Module-Grove-Cable-UART-Interface-for-ESP32/3226069_32966642182.html?spm=a2g03.12010612.8148356.36.73ee56a05T9uR7)**      :clapper:**[Related Video](#Related-Video)** +:memo:**[概要](#概要)**      :electric_plug:**[回路図](#回路図)**      🛒**[購入リンク](https://www.aliexpress.com/item/M5Stack-Official-Finger-Print-Unit-FPC1020A-Capacitive-Fingerprint-Identification-Module-Grove-Cable-UART-Interface-for-ESP32/32966642182.html)**      :clapper:**[関連動画](#関連動画)** -## Description +## 概要 -**FINGER** is a fingerprint recognition unit. The unit integrates the FPC1020A capacitive fingerprint recognition module and Fingerprint recognition algorithm chip. It can realize fingerprint information entry, fingerprint deletion, fingerprint search, feature extraction for multiple people and so on. The unit also can be set fingerprint recognition comparison level and different security level. +**FINGER**は指紋認識ユニットです。静電容量式指紋認識モジュール(FPC1020A)という指紋認識アルゴリズムチップを搭載しています。指紋情報入力、指紋削除、指紋検索、複数人の特徴抽出などを実現できます。 このユニットは指紋認識・比較レベルや様々なセキュリティレベルを設定することができます。 -It's serial communication(UART Interface) between FINGER and M5Core. +FINGERとM5Coreはシリアル通信(UART)で接続されます。 -The parameter of USART: Baudrate(default: 19200bps), Start bits(1 bit), Stop bits(1 bit), Parity(no) +USARTパラメータ: ボーレート(デフォルト: 19200bps), スタートビット(1 bit), ストップビット(1 bit), パリティ(no) -## Feature +## 特徴 -- Fingerprint recognition capacity: 150 pices -- Comparison mode: 1:N or 1:1 -- Comparison level: 0 ~ 9(default: 5) -- Security level: 1 ~ 5(default: 3) -- Response time: fingerprint preprocessing < 0.45s -- Input voltage range: 3.3 ~ 6V -- Operating temperature and humidity: -10 ~ 60°, 20% ~ 80% +- 静電容量式指紋認識: 150 pices +- 比較モード: 1:N or 1:1 +- 比較レベル: 0 ~ 9(default: 5) +- セキュリティレベル: 1 ~ 5(default: 3) +- 応答時間: fingerprint preprocessing < 0.45s +- 入力電圧範囲: 3.3 ~ 6V +- 動作温度および湿度: -10 ~ 60°, 20% ~ 80% -## Related Link +## 関連リンク -- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** +- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** -- **[Forum](http://forum.m5stack.com/)** +- **[フォーラム](http://forum.m5stack.com/)** -## Schematic +## 回路図 -### PinMap +### ピンマップ
M5Core(GROVE A)GPIO22GPIO215VGND
M5Core(GROVE C)U2RXDU2TXD5VGND
FINGER UnitTXDRXD5VGND
-## Related Video +## 関連動画 -- **FINGER Application** +- **FINGERアプリケーション** \ No newline at end of file diff --git a/docs/ja/unit/hex.md b/docs/ja/unit/hex.md index b2afb5d8..cb8dc2f9 100644 --- a/docs/ja/unit/hex.md +++ b/docs/ja/unit/hex.md @@ -4,42 +4,42 @@ *** -:memo:**[Description](#Description)**      :octocat:**[Example](#Example)**      🛒**[Purchase](https://pt.aliexpress.com/store/product/M5Stack-New-HEX-NeoPixel-LED-Board-with-WS6812-37pcs-NeoPixel-Three-GROVE-Port-and-Power-Input/3226069_32961683136.html?spm=a2g03.12010615.8148356.2.d4652ef23dWS29)** +:memo:**[概要](#概要)**      :octocat:**[サンプルコード](#サンプルコード)**      🛒**[購入リンク](https://www.aliexpress.com/item/M5Stack-New-HEX-NeoPixel-LED-Board-with-WS6812-37pcs-NeoPixel-Three-GROVE-Port-and-Power-Input/32961683136.html)** -## Description +## 概要 -**HEX** is a hexagon RGB LED unit built in 37 RGB. And you can connect many HEXs in series one by one. +**HEX**は37個のフルカラーLEDを備えた六角形LEDパネルユニットです。複数のHEXを直列に接続する事が可能です。 -This's a figure about HEX serial number. +LEDの番号は下図の通りです。 -## Feature +## 特徴 -- The number of RGB: 37 -- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) +- フルカラーLED: 37個 +- GROVEインターフェース、[UIFlow](http://flow.m5stack.com)と[Arduino](http://www.arduino.cc)をサポート -## Related Link +## 関連リンク -- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** +- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** -- **[Forum](http://forum.m5stack.com/)** +- **[フォーラム](http://forum.m5stack.com/)** -- **[FastLED Library](https://github.com/FastLED/FastLED/wiki/Overview)** +- **[FastLEDライブラリ](https://github.com/FastLED/FastLED/wiki/Overview)** -- **[FastLED Reference(Chinese version)](http://www.taichi-maker.com/homepage/reference-index/arduino-library-index/fastled-library/)** +- **[FastLEDリファレンス(中国語)](http://www.taichi-maker.com/homepage/reference-index/arduino-library-index/fastled-library/)** -## Example +## サンプルコード ### 1. Arduino IDE -This is a HEX example that displays gradient rainbow color. Before compiling this example, you need to install FastLED library and connect HEX to GROVE A of M5Core. +このサンプルコードはHEXを虹色にグラデーション表示します。プログラムを実行する前に、あらかじめFastLEDライブラリをインストールしてください。HEXとM5Coreは`GROVE A`で接続してください。 -*If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEX/Arduino)。* +*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEX/Arduino)。* ```arduino /* - Install FastLED library first.(HEX is connected to GROVE A) + プログラムを実行する前に、あらかじめFastLEDライブラリをインストールしてください。(HEXをGROVE Aに接続) */ #include #include "FastLED.h" @@ -60,7 +60,7 @@ void setup() { M5.Lcd.setCursor(0, 25); M5.Lcd.println("Display rainbow effect"); - // Neopixel initialization + // Neopixel初期化 FastLED.addLeds/ (leds, NUM_LEDS).setCorrection(TypicalLEDStrip); FastLED.setBrightness(10); @@ -77,27 +77,27 @@ void loop(){ ### UIFlow -*If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEX/UIFlow).* +*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEX/UIFlow).* -### PinMap +### ピンマップ -**If HEX was connected to GROVE A** +**HEXをGROVE Aに接続**
M5Core(GROVE A)GPIO22GPIO215VGND
HEX Unit HEX Pin5VGND
-**If HEX was connected to GROVE B** +**HEXをGROVE Bに接続**
M5Core(GROVE B)GPIO36GPIO265VGND
HEX Unit HEX Pin5VGND
-**If HEX was connected to GROVE C** +**HEXをGROVE Cに接続** diff --git a/docs/ja/unit/neoflash.md b/docs/ja/unit/neoflash.md index b6d3d8a7..ff70d1fe 100644 --- a/docs/ja/unit/neoflash.md +++ b/docs/ja/unit/neoflash.md @@ -4,40 +4,40 @@ *** -:memo:**[Description](#Description)**      :octocat:**[Example](#Example)**      🛒**[Purchase](https://pt.aliexpress.com/store/product/M5Stack-Newest-NeoFlash-Light-Board-made-of-Acrylic-with-192pcs-NeoPixels-and-PIR-Sensor-compatible-with/3226069_32957760176.html?spm=a2g03.12010615.8148356.2.66ca32c6EOLxpR)** +:memo:**[概要](#概要)**      :octocat:**[サンプルコード](#サンプルコード)**      🛒**[購入リンク](https://www.aliexpress.com/item/M5Stack-Newest-NeoFlash-Light-Board-made-of-Acrylic-with-192pcs-NeoPixels-and-PIR-Sensor-compatible-with/32957760176.html)** -## Description +## 概要 -**NEOFLASH**is a RGB LED panel with 192 RGB LED(24x8). The upper right corner is the first LED, and the LEDs are incremented from left to right and top to bottom. NEOFLASH is also equipped with three GROVE A interfaces (IIC interfaces) for easy integration with Neoflash. +**NEOFLASH**は192個のフルカラーLED(24x8)と人感センサー(PIR)を搭載したLEDパネルユニットです。左上が1番目ののLEDです。左から右、上から下にいくにつれて番号が増えていきます。NEOFLASHは、3つの`GROVE A`インターフェース(I2C)を備えており、他のNEOFLASHを接続する事が可能です。 -## Feature +## 特徴 -- The number of RGB: 192 -- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) +- フルカラーLED: 192個 +- GROVEインターフェース、[UIFlow](http://flow.m5stack.com)と[Arduino](http://www.arduino.cc)をサポート -## Related Link +## 関連リンク -- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** +- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** -- **[Forum](http://forum.m5stack.com/)** +- **[フォーラム](http://forum.m5stack.com/)** -- **[FastLED Library](https://github.com/FastLED/FastLED/wiki/Overview)** +- **[FastLEDライブラリ](https://github.com/FastLED/FastLED/wiki/Overview)** -- **[FastLED Reference(Chinese version)](http://www.taichi-maker.com/homepage/reference-index/arduino-library-index/fastled-library/)** +- **[FastLEDリファレンス(中国語)](http://www.taichi-maker.com/homepage/reference-index/arduino-library-index/fastled-library/)** -## Example +## サンプルコード ### 1. Arduino IDE -This is a example that takes real-time time from the network and displays it on NEOFLASH. Show real time when someone is shaking before NEOFLASH, otherwise the time "disappears". +人を検知したらネットワークから現在時刻を取得してNEOFLASHに表示します。何も検知しないと時計は消えます。 -*If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/Arduino)。* +*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/Arduino)。* -### PinMap +### ピンマップ
M5Core(GROVE C)GPIO16GPIO175VGND
diff --git a/docs/ja/unit/rs485.md b/docs/ja/unit/rs485.md index 0ddff9fb..77832ab7 100644 --- a/docs/ja/unit/rs485.md +++ b/docs/ja/unit/rs485.md @@ -4,30 +4,32 @@ *** -:memo:**[Description](#Description)**      🛒**[Purchase](https://pt.aliexpress.com/store/product/M5Stack-Official-RS485-to-TTL-Unit-GROVE-Grove-Cable-UART-Interface-for-Arduino-ESP32-Development-Board/3226069_32966570641.html?spm=a2g03.12010615.8148356.2.5e6e66005SP84o)** +:memo:**[概要](#概要)**      🛒**[購入リンク](https://www.aliexpress.com/store/product/M5Stack-RS485-Oficial-a-Unidade-BOSQUE-Arvoredo-Cabo-de-Interface-UART-TTL/3226069_32966570641.html)** -## Description +## 概要 -**RS485** is a unit used for converting TTL level to RS485 level. If the device to be controlled only can communicate with other device through RS485, you can connect this device with M5Core through this unit. In this case, you could easily control a RS485 device with [UIFlow](http://flow.m5stack.com). +**RS485**ユニットは、信号レベルをTTLレベルからRS485レベルに変換するユニットです。制御対象デバイスが他のデバイスとRS485でのみ通信できる場合は、本ユニットを介してM5Coreと接続できます。 この場合、[UIFlow](http://flow.m5stack.com)を使ってRS485デバイスを簡単に制御できます。 -## Feature +## 特徴 -- Built in MAX485/SP485EEN -- Drive RS485 devices up to 12V -- GROVE interface, support [UiFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) -- Two Lego installation holes +- MAX485/SP485EEN内蔵 +- 12VまでのRS485デバイス制御 +- GROVEインターフェース、[UiFlow](http://flow.m5stack.com)と[Arduino](http://www.arduino.cc)をサポート +- 2つのLEGO互換ホール -## Related Link +## 関連リンク -- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** +- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** -- **[Forum](http://forum.m5stack.com/)** +- **[フォーラム](http://forum.m5stack.com/)** -- Datasheet - **[MAX485](https://pdf1.alldatasheet.com/datasheet-pdf/view/73463/MAXIM/MAX485.html)** - **[SP485EEN](https://pdf1.alldatasheet.com/datasheet-pdf/view/45954/SIPEX/SP485EEN.html)** +- データシート + - **[MAX485](https://pdf1.alldatasheet.com/datasheet-pdf/view/73463/MAXIM/MAX485.html)** + - **[SP485EEN](https://pdf1.alldatasheet.com/datasheet-pdf/view/45954/SIPEX/SP485EEN.html)** -### PinMap +### ピンマップ
M5Core(GROVE B)GPIO36GPIO265VGND
diff --git a/docs/zh_CN/unit/butterfly.md b/docs/zh_CN/unit/butterfly.md index bbf8a499..aa6da2dc 100644 --- a/docs/zh_CN/unit/butterfly.md +++ b/docs/zh_CN/unit/butterfly.md @@ -8,7 +8,7 @@ ## 描述 -**BUTTERFLY** 是一个由舵机驱动的蝴蝶模型。当控制舵机是 **0 度**时,舵机发射装置上锁;当控制舵机 **90 度**时,发射装置解锁,释放“蝴蝶”。 +**BUTTERFLY** 是一个由舵机驱动的蝴蝶模型。当控制舵机是 **0 度**时,舵机发射装置上锁;当控制舵机 **30 度**时,发射装置解锁,释放“蝴蝶”。 @@ -20,7 +20,7 @@ -装配“蝴蝶”,控制舵机 **90 度**,将“蝴蝶”通过皮筋绑定发射装置上,并控制舵机为 **0 度**,上锁。 +装配“蝴蝶”,控制舵机 **30 度**,将“蝴蝶”通过皮筋绑定发射装置上,并控制舵机为 **0 度**,上锁。 diff --git a/docs/zh_CN/unit/neoflash.md b/docs/zh_CN/unit/neoflash.md index 3a1d171e..026deba4 100644 --- a/docs/zh_CN/unit/neoflash.md +++ b/docs/zh_CN/unit/neoflash.md @@ -10,7 +10,7 @@ ## 描述 -**NEOFLASH**是24x8阵列的Neopixel RGB LED面板。一共有192颗RGB LED。NEOFLASH上RGB LED接M5Core的GPIO26, 右上角是第一个颗LED,LED递增顺序为从左到右,从上到下。NEOFLASH还配置了3个GROVE A接口(IIC接口)方便结合Neoflash做拓展应用。 +**NEOFLASH**是24x8阵列的Neopixel RGB LED面板。一共有192颗RGB LED。NEOFLASH上RGB LED接M5Core的GPIO26, 左上角是第一个颗LED,LED递增顺序为从左到右,从上到下。NEOFLASH还配置了3个GROVE A接口(IIC接口)方便结合Neoflash做拓展应用。
M5Core(GROVE C)U2RXD(GPIO16)U2TXD(GPIO17)5VGND