2019-02-14 10:21:14 +08:00
|
|
|
# LEGO+ モジュール {docsify-ignore-all}
|
2018-12-25 16:04:58 +08:00
|
|
|
|
2019-01-15 18:13:30 +08:00
|
|
|
<img src="assets/img/product_pics/module/module_lego_plus_01.png" width="30%" height="30%"><img src="assets/img/product_pics/module/module_lego_plus_02.png" width="60%" height="60%">
|
2018-12-25 17:20:16 +08:00
|
|
|
|
|
|
|
|
***
|
|
|
|
|
|
2019-03-07 18:28:11 +08:00
|
|
|
:memo:**[概要](#概要)** :octocat:**[サンプルコード](#サンプルコード)** :electric_plug:**[回路図](#回路図)** 🛒**[購入リンク](https://www.aliexpress.com/store/product/M5Stack-MEGA328-4-DC-10-DC-I2C/3226069_32961587834.html)** :clapper:**[関連動画](#関連動画)**
|
2018-12-25 17:20:16 +08:00
|
|
|
|
2018-12-25 16:04:58 +08:00
|
|
|
## 概要
|
|
|
|
|
|
2019-01-23 11:45:16 +08:00
|
|
|
**<mark>LEGO+</mark>** モジュールは、ATmega328を内蔵したDCモーターコントロールモジュールです。LEGO+モジュールはI2Cを介してM5Coreと通信します。I2Cアドレスは<mark>**0x56**</mark>です。このモジュールには、高電圧入力ドライブのモーターが必要な場合に接続できるDC電源ジャックも装備されています。
|
2018-12-25 16:04:58 +08:00
|
|
|
## 特徴
|
|
|
|
|
|
|
|
|
|
- DCコネクタ許容入力電圧範囲:6-12V
|
|
|
|
|
|
|
|
|
|
## パッケージ内容
|
|
|
|
|
|
|
|
|
|
- 1x LEGO+モジュール
|
|
|
|
|
- 1x 10cm LEGOケーブル
|
|
|
|
|
- 1x DCジャック
|
|
|
|
|
|
2018-12-25 17:20:16 +08:00
|
|
|
## 関連リンク
|
2018-12-25 16:04:58 +08:00
|
|
|
|
2018-12-25 17:20:16 +08:00
|
|
|
- **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)**
|
2018-12-25 16:04:58 +08:00
|
|
|
|
2018-12-25 17:20:16 +08:00
|
|
|
- **[フォーラム](http://forum.m5stack.com/)**
|
2018-12-25 16:04:58 +08:00
|
|
|
|
2018-12-29 18:15:57 +08:00
|
|
|
- **[モジュール内のMEGA328ファームウェア](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LEGO_PLUS/firmware_328p)**
|
|
|
|
|
|
2018-12-25 17:20:16 +08:00
|
|
|
## サンプルコード
|
2018-12-25 16:04:58 +08:00
|
|
|
|
2018-12-29 18:15:57 +08:00
|
|
|
<!-- ### 1. Arduino IDE -->
|
2018-12-25 16:04:58 +08:00
|
|
|
|
2018-12-25 17:20:16 +08:00
|
|
|
### 2. UIFlow
|
|
|
|
|
|
2018-12-29 18:15:57 +08:00
|
|
|
*特定のルーチンをクリックしてください[ルーチン](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LEGO_PLUS/UIFlow)。*
|
|
|
|
|
|
|
|
|
|
<img src="assets/img/product_pics/module/module_example/LEGO_PLUS/example_module_lego_plus_01.png" width="40%" height="40%"> <img src="assets/img/product_pics/module/module_example/LEGO_PLUS/example_module_lego_plus_02.png" width="45%" height="45%">
|
|
|
|
|
|
2019-01-15 18:13:30 +08:00
|
|
|
## 回路図
|
2018-12-25 17:20:16 +08:00
|
|
|
|
2019-03-07 18:17:21 +08:00
|
|
|
<img src="assets/img/product_pics/module/lego_plus_sch.png">
|
|
|
|
|
|
2019-03-07 18:28:11 +08:00
|
|
|
## 関連動画
|
2019-03-07 18:17:21 +08:00
|
|
|
|
2019-03-07 18:28:11 +08:00
|
|
|
**LEGO+ - 戦車**
|
2019-03-07 18:17:21 +08:00
|
|
|
|
2019-03-20 16:32:45 +08:00
|
|
|
<video width="500" height="315" controls>
|
|
|
|
|
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201901/M5%20Tank.mp4" type="video/mp4">
|
|
|
|
|
</video>
|