mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
fix bugs
This commit is contained in:
+2
-1
@@ -92,7 +92,8 @@
|
||||
<script src="https://unpkg.com/docsify/lib/docsify.min.js"></script>
|
||||
<script src="https://unpkg.com/docsify-themeable"></script>
|
||||
<script src="https://unpkg.com/docsify-tabs"></script>
|
||||
<script src="https://unpkg.com/docsify-copy-code"></script>
|
||||
<script src="https://unpkg.com/docsify-copy-code"></script> <!-- for chrome -->
|
||||
<script src="https://unpkg.com/docsify-copy-code@2"></script> <!-- for firefox -->
|
||||
<script src="https://unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
|
||||
<script src="https://unpkg.com/docsify/lib/plugins/external-script.min.js"></script>
|
||||
<script src="https://unpkg.com/docsify/lib/plugins/ga.min.js"></script>
|
||||
|
||||
+9
-7
@@ -26,9 +26,7 @@
|
||||
|
||||
**通信モジュール**
|
||||
|
||||
<!-- [](ja/module/gps) -->
|
||||
|
||||
[](ja/module/lora) [](ja/module/lorawan) [](ja/module/sim800)
|
||||
[](ja/module/gps) [](ja/module/lora) [](ja/module/lorawan) [](ja/module/sim800)
|
||||
|
||||
[](ja/module/commu) [](ja/module/usb)
|
||||
|
||||
@@ -42,16 +40,20 @@
|
||||
|
||||
**駆動モジュール**
|
||||
|
||||
[](ja/module/stepmotor) [](ja/module/servo)
|
||||
[](ja/module/stepmotor) [](ja/module/servo) [](ja/module/lego_plus)
|
||||
|
||||
<!-- [](ja/module/lego_plus) -->
|
||||
|
||||
<!-- |[STEPMOTOR]()|[SERVO]()| -->
|
||||
<!-- |[STEPMOTOR]()|[SERVO]()|[LEGO+]()| -->
|
||||
|
||||
***
|
||||
|
||||
<img src='assets/img/product_pics/5.jpg'> <img src='assets/img/product_pics/bases.png'>
|
||||
|
||||
[](ja/base/lan_base) [](ja/base/node_base) [](ja/base/btc_base)
|
||||
|
||||
***
|
||||
|
||||
<img src='assets/img/product_pics/3.jpg'> <img src='assets/img/product_pics/unit.png'>
|
||||
|
||||
[](ja/unit/m5camera)
|
||||
|
||||
[](ja/unit/env) [](ja/unit/ir) [](ja/unit/pir) [](ja/unit/angle)
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
# BTC Base
|
||||
|
||||
<img src="assets/img/product_pics/module/module_btc_01.png" width="30%" height="30%"> <img src="assets/img/product_pics/module/module_btc_02.png" width="30%" height="30%"> <img src="assets/img/product_pics/module/module_btc_03.png" width="30%" height="30%"> <img src="assets/img/product_pics/module/module_btc_04.png" width="30%" height="30%">
|
||||
|
||||
<!-- <img src="assets/img/product_pics/module/module_btc_04.png" width="30%" height="30%"> -->
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :octocat:**[Example](#Example)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-Stock-Offer-GPS-Module-with-Internal-External-Antenna-MCX-Interface-IoT-Development-Board-for/3226069_32840757048.html?spm=2114.12010615.8148356.2.7c6c2743BZthY3)**
|
||||
|
||||
<!-- :memo:**[Description](#Description)** :octocat:**[Example](#Example)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-Stock-Offer-GPS-Module-with-Internal-External-Antenna-MCX-Interface-IoT-Development-Board-for/3226069_32840757048.html?spm=2114.12010615.8148356.2.7c6c2743BZthY3)** -->
|
||||
|
||||
# Description
|
||||
|
||||
The M5Stack BTC Module is a base including DHT12 module which can detect
|
||||
temperature and humidity. Your M5Stack Core board can stay as a small
|
||||
displayer(like a small TV or a small IOT central contronller) after
|
||||
adding this BTC Module. Absolutely, it is more easier to charge M5Stack
|
||||
Core via Type-C Cable after adding this BTC Module.
|
||||
|
||||
# Feature
|
||||
|
||||
- DHT12 inside
|
||||
|
||||
# Include
|
||||
|
||||
- Type-C USB Cable
|
||||
- M3 x 16
|
||||
- Tools
|
||||
|
||||
# PinMap
|
||||
|
||||
**DHT12**
|
||||
|
||||
| DHT12 | ESP32 |
|
||||
| :----------: |:------------:|
|
||||
| SCL | G22 |
|
||||
| GND | GND |
|
||||
| SDA | G21 |
|
||||
| 3V3 | 3V3 |
|
||||
|
||||
<img src="assets/img/product_pics/module/module_btc_dht12_pinmap.png">
|
||||
|
||||
|
||||
# Related Link
|
||||
|
||||
- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)**
|
||||
|
||||
- **[Forum](http://forum.m5stack.com/)**
|
||||
|
||||
## Example
|
||||
|
||||
### Arduino IDE
|
||||
|
||||
```arduino
|
||||
#include <M5Stack.h>
|
||||
#include "DHT12.h"
|
||||
#include <Wire.h> //The DHT12 uses I2C comunication.
|
||||
|
||||
void setup() {
|
||||
M5.begin();
|
||||
Wire.begin();
|
||||
M5.Lcd.setBrightness(10);
|
||||
Serial.println(F("ENV Unit(DHT12 and BMP280) test..."));
|
||||
}
|
||||
|
||||
void loop() {
|
||||
float tmp = dht12.readTemperature();
|
||||
float hum = dht12.readHumidity();
|
||||
Serial.printf("Temperatura: %2.2f*C Humedad: %0.2f%%\r\n", tmp, hum);
|
||||
|
||||
M5.Lcd.setCursor(0, 0);
|
||||
M5.Lcd.setTextColor(WHITE, BLACK);
|
||||
M5.Lcd.setTextSize(3);
|
||||
M5.Lcd.printf("Temp: %2.1f \r\nHumi: %2.0f%% \r\n", tmp, hum);
|
||||
|
||||
delay(100);
|
||||
}
|
||||
```
|
||||
|
||||
For specific example `BTC.ino`, click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BTC/Arduino) please.
|
||||
@@ -42,7 +42,7 @@ M5Stackの無線通信が遅かったり、無線ネットワークに繋がら
|
||||
- **GitHub**
|
||||
- [M5Stack](https://github.com/m5stack/M5Stack)
|
||||
|
||||
<figure>
|
||||
<!-- <figure>
|
||||
<img src="assets/img/product_pics/bases/lan_01.jpg" alt="lan_01" width="300px" height="300px">
|
||||
</figure>
|
||||
<figure>
|
||||
@@ -50,7 +50,7 @@ M5Stackの無線通信が遅かったり、無線ネットワークに繋がら
|
||||
</figure>
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/bases/lan_03.jpg" alt="lan_03" width="300px" height="300px">
|
||||
</figure>
|
||||
</figure> -->
|
||||
|
||||
## 関連情報
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
- **サンプルコード**
|
||||
- [Arduino](https://github.com/m5stack/M5StackModule-Node/tree/master/example)
|
||||
|
||||
<figure>
|
||||
<!-- <figure>
|
||||
<img src="assets/img/product_pics/bases/node_01.jpg" alt="node_01" width="300px" height="300px">
|
||||
</figure>
|
||||
<figure>
|
||||
@@ -54,7 +54,7 @@
|
||||
</figure>
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/bases/node_04.jpg" alt="node_04" width="300px" height="300px">
|
||||
</figure>
|
||||
</figure> -->
|
||||
|
||||
## 関連情報
|
||||
|
||||
|
||||
@@ -54,4 +54,4 @@
|
||||
|
||||
## 回路図
|
||||
|
||||
<img src="assets/img/product_pics/module/commu_sch.png">
|
||||
<!-- <img src="assets/img/product_pics/module/commu_sch.png"> -->
|
||||
@@ -53,4 +53,4 @@ LoRa™は少ない消費電力で広いエリアをカバーする無線通信
|
||||
|
||||
## 回路図
|
||||
|
||||
<img src="assets/img/product_pics/module/lora_sch.png">
|
||||
<!-- <img src="assets/img/product_pics/module/lora_sch.png"> -->
|
||||
|
||||
@@ -55,4 +55,4 @@
|
||||
|
||||
## 回路図
|
||||
|
||||
<img src="assets/img/product_pics/module/lorawan_sch.png">
|
||||
<!-- <img src="assets/img/product_pics/module/lorawan_sch.png"> -->
|
||||
@@ -63,7 +63,7 @@
|
||||
- **GitHub**
|
||||
- [M5Stack](https://github.com/m5stack/M5Stack)
|
||||
|
||||
### Kit
|
||||
<!-- ### Kit
|
||||
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/module/proto_kit_01.png" alt="proto_kit_01" width="300px" height="300px">
|
||||
@@ -100,7 +100,7 @@
|
||||
</figure>
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/module/proto_board_04.png" alt="proto_board_04" width="300px" height="300px">
|
||||
</figure>
|
||||
</figure> -->
|
||||
|
||||
## 関連情報
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ M5Stackシリーズのコアを使用し、Blockly、Arduino、MicroPythonでプ
|
||||
- 低消費電力で通話、SMS、データ通信が可能
|
||||
- Bluetooth と Embedded AT
|
||||
|
||||
## ピンマッピング
|
||||
## ピンマップ
|
||||
|
||||
*After SIM800 was stacked with M5Core, they communicat through UART2*
|
||||
|
||||
|
||||
+4
-11
@@ -1,6 +1,10 @@
|
||||
# DAC ユニット
|
||||
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_dac.png" width="30%" height="30%"> <img src="assets/img/product_pics/unit/unit_dac_grove_a.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[概要](#概要)** :octocat:**[サンプルコード](#サンプルコード)** 🛒**[購入リンク](https://www.aliexpress.com/item/M5Stack-DAC-MCP4725-I2C-Dac-12-0/32947696641.html)**
|
||||
|
||||
## 概要
|
||||
|
||||
@@ -25,14 +29,3 @@
|
||||
|
||||
- **データシート**
|
||||
- [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html)
|
||||
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_dac.png" alt="M5GO_Unit_dac" height="300px" width="300px">
|
||||
</figure>
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_dac_02.png" alt="M5GO_Unit_dac_02" height="300px" width="300px">
|
||||
</figure>
|
||||
|
||||
## 関連情報
|
||||
|
||||
- [DAC ユニット 購入(AliExpress)](https://www.aliexpress.com/store/product/M5Stack-DAC-MCP4725-I2C-Dac-12-0/3226069_32947696641.html)
|
||||
+4
-7
@@ -41,12 +41,9 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/env_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>ENV Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/ir_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<!-- <img src="assets/img/product_pics/unit/earth_sch.JPG"> -->
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/light_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/makey_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/ncir_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/ncir_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/pir_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/relay_sch.JPG">
|
||||
|
||||
### ピンマッピング
|
||||
### ピンマップ
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
@@ -47,4 +47,4 @@
|
||||
|
||||
## 関連動画
|
||||
|
||||
<iframe height=498 width=510 src='https://player.youku.com/embed/XMzg5MjA2MDQxNg==' frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/48JQbPso2lw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user