add ja btc base

This commit is contained in:
塩入孔章
2018-12-27 16:41:57 +08:00
parent 19329c920f
commit e57a607bd9
+21 -26
View File
@@ -1,4 +1,4 @@
# BTC Base
# BTC ベース
<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%">
@@ -6,56 +6,51 @@
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[Example](#Example)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[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:**[概要](#概要)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[サンプルコード](#サンプルコード)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[購入リンク](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)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[Example](#Example)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[Schematic](#Schematic)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[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.
BTCベースはDHT12を内蔵しており、周囲の温度、湿度を検出することが可能です。あなたのM5StackBTCベースを組み合わせて、情報表示ボード、小型のIoT集中制御デバイスとして置いておくことができます。付属のUSB Type-Cケーブルを利用することで、ベース経由でM5Stackを充電することができます。
# Feature
# 特徴
- DHT12 inside
- DHT12内蔵
# Include
# パッケージ内容
- Type-C USB Cable
- M3 x 16
- Tools
- USB Type-C ケーブル
- M3 x 16 ネジ
- ツール
# PinMap
# ピンマップ
**DHT12**
| DHT12 | ESP32 |
| :----------: |:------------:|
| SCL | G22 |
| GND | GND |
| SDA | G21 |
| 3V3 | 3V3 |
| 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.
#include <Wire.h> // DHT12とのI2C通信で使用
void setup() {
M5.begin();
@@ -78,4 +73,4 @@ void loop() {
}
```
For specific example `BTC.ino`, click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BTC/Arduino) please.
`BTC.ino`サンプルは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BTC/Arduino)から。