From 15f44bc0ae5708ed2de2e64d166410cc47edc29a Mon Sep 17 00:00:00 2001
From: watson134 <854410664@qq.com>
Date: Wed, 7 Nov 2018 23:52:32 +0800
Subject: [PATCH] add lorawan doc
---
docs/en/product_documents.md | 2 +-
.../product_documents/modules/module_lora.md | 2 +-
.../modules/module_lorawan.md | 49 ++++++++++++++++++
.../product_documents/modules/module_lora.md | 2 +-
docs/zh_CN/product_documents.md | 2 +-
.../product_documents/modules/module_lora.md | 2 +-
.../modules/module_lorawan.md | 50 +++++++++++++++++++
7 files changed, 104 insertions(+), 5 deletions(-)
create mode 100644 docs/en/product_documents/modules/module_lorawan.md
create mode 100644 docs/zh_CN/product_documents/modules/module_lorawan.md
diff --git a/docs/en/product_documents.md b/docs/en/product_documents.md
index 286df2bf..45375470 100644
--- a/docs/en/product_documents.md
+++ b/docs/en/product_documents.md
@@ -24,7 +24,7 @@
| [LORA](/en/product_documents/modules/module_lora) | [BATTERY](/en/product_documents/modules/module_battery) | [SERVO](/en/product_documents/modules/module_servo) |
| / | [BTC](/en/product_documents/modules/module_btc) | / |
| [SIM800/GPRS/GSM](/en/product_documents/modules/module_sim800) | [PLUS](/en/product_documents/modules/module_plus) | [COMMU](/en/product_documents/modules/module_commu) |
-| / | / | / |
+| [LoRaWAN](/en/product_documents/modules/module_lorawan) | / | / |
| / | / | / |
| / | / | / |
| / | / | / |
diff --git a/docs/en/product_documents/modules/module_lora.md b/docs/en/product_documents/modules/module_lora.md
index 71abcf2e..2ccac461 100644
--- a/docs/en/product_documents/modules/module_lora.md
+++ b/docs/en/product_documents/modules/module_lora.md
@@ -41,9 +41,9 @@ account the distance, anti-interference and power consumption
you to add the two statements code followed by ``m5.begin();`` as shown
below
```cpp
- m5.begin();
pinMode(5,OUTPUT);
digitalWrite(5,HIGH);
+ m5.begin();
```
?> **Note** Because GPIO5 who has connected NSS pin of LoRa module need be pull-up
at the moment your board(or system) power on to prevent system's LCD
diff --git a/docs/en/product_documents/modules/module_lorawan.md b/docs/en/product_documents/modules/module_lorawan.md
new file mode 100644
index 00000000..125e516e
--- /dev/null
+++ b/docs/en/product_documents/modules/module_lorawan.md
@@ -0,0 +1,49 @@
+# LoRaWAN
+
+## DESCRIPTION
+
+LoRaWAN is a small LoRa terminal module built-in LoRa chip(SX1276) and ST MCU that means this module has been built with complete LoRa protocal stack. So you can develop a LoRaWAN module through UART or simple AT command with M5Core.
+
+By default, the UART configuration: "9600, 8, n, 1"(8 bits data, no parity, 1 stop bit)
+
+?> **Notice** The 5 holes which are under the silk screen "LoRaWAN" are designed for upgrading the firmware of LoRaWAN module.
+
+## FEATURES
+
+- Supports 433/470MHz and 868/915MHz
+- Supports DataRate: 0.018-38.4kbps
+- Output Power: 17 ± 0.5dbm
+- Supports ADR(Adaptive Data Rate)
+- Build-in Antenna
+
+## INCLUDES
+
+- 1x LoRa Module
+
+## Applications
+
+- Automatic meter reading
+- Home building automation
+- Remote irrigation system
+
+## PinMap
+
+| *RHF76-052_UART* | *ESP32 Chip* |
+| :----------: |:------------: |
+| RXD | GPIO16 |
+| TXD | GPIO17 |
+
+## DOCUMENTS
+
+- **[Example](en/file_to_display_null)**
+- **[LoRaWAN Info](http://wiki.ai-thinker.com/sx127x-052) (LoRaWAN)**
+- **[AT command for LoRaWAN](http://wiki.ai-thinker.com/_media/rhf-ps01509_lorawan_class_ac_at_command_specification_-_v4.4.pdf)**
+- **[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-LoRaWAN-Module-433-470Mhz-868-915MHz-with-Internal-Antenna-and-MCX-External-Antenna-Port/3226069_32953098569.html?spm=a2g1y.12024536.productList_5885011.pic_2)**
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/ja/product_documents/modules/module_lora.md b/docs/ja/product_documents/modules/module_lora.md
index 2a0a244b..0ffc9eb3 100644
--- a/docs/ja/product_documents/modules/module_lora.md
+++ b/docs/ja/product_documents/modules/module_lora.md
@@ -38,9 +38,9 @@ LoRa™は少ない消費電力で広いエリアをカバーする無線通信
?> **メモ** もしあなたのLCD画面が表示されない場合は、以下のソースのように``m5.begin()``のあとに以下の2行を追加してみてください。GPIO5がLoRaモジュールのNSSピンに接続されている為、GPIO5をプルアップする必要があります。
```cpp
- m5.begin();
pinMode(5,OUTPUT);
digitalWrite(5,HIGH);
+ m5.begin();
```
## 関連情報
diff --git a/docs/zh_CN/product_documents.md b/docs/zh_CN/product_documents.md
index 2cd60ff9..bd429efc 100644
--- a/docs/zh_CN/product_documents.md
+++ b/docs/zh_CN/product_documents.md
@@ -20,7 +20,7 @@
| [LORA](zh_CN/product_documents/modules/module_lora) | [BATTERY](zh_CN/product_documents/modules/module_battery) | [SERVO](/zh_CN/product_documents/modules/module_servo) |
| / | [BTC](zh_CN/product_documents/modules/module_btc) | / |
| [SIM800/GPRS/GSM](zh_CN/product_documents/modules/module_sim800) | [PLUS](zh_CN/product_documents/modules/module_plus) | [COMMU](zh_CN/product_documents/modules/module_commu) |
-| / | / | / |
+| [LoRaWAN](/zh_CN/product_documents/modules/module_lorawan) | / | / |
| / | / | / |
| / | / | / |
| / | / | / |
diff --git a/docs/zh_CN/product_documents/modules/module_lora.md b/docs/zh_CN/product_documents/modules/module_lora.md
index 71abcf2e..2ccac461 100644
--- a/docs/zh_CN/product_documents/modules/module_lora.md
+++ b/docs/zh_CN/product_documents/modules/module_lora.md
@@ -41,9 +41,9 @@ account the distance, anti-interference and power consumption
you to add the two statements code followed by ``m5.begin();`` as shown
below
```cpp
- m5.begin();
pinMode(5,OUTPUT);
digitalWrite(5,HIGH);
+ m5.begin();
```
?> **Note** Because GPIO5 who has connected NSS pin of LoRa module need be pull-up
at the moment your board(or system) power on to prevent system's LCD
diff --git a/docs/zh_CN/product_documents/modules/module_lorawan.md b/docs/zh_CN/product_documents/modules/module_lorawan.md
new file mode 100644
index 00000000..4b11d055
--- /dev/null
+++ b/docs/zh_CN/product_documents/modules/module_lorawan.md
@@ -0,0 +1,50 @@
+# LoRaWAN
+
+## 描述
+
+LoRaWAN是一个内置了LoRaWAN模块的M5模块,LoRaWAN模块主要由LoRa芯片(SX1276)和ST的MCU组成,集成了完整的LoRa协议栈。 所以,在使用这个高集成度模块的时候,你可以直接将它与M5Core堆叠,通过串口发送AT命令就可以开发它,比如配置串口信息、配置射频信息(频率、带宽、发送功率等)、发送信息的内容等等。
+
+LoRaWAN默认的串口配置:
+波特率:9600;8位数据位;无奇偶校验;1位停止位。
+
+?> **注意** 丝印"LoRaWAN"底下的5个孔是专门预留用于升级LoRaWAN模块固件。
+
+## 特性
+
+- 支持频段: 433/470MHz and 868/915MHz
+- 支持数据率范围: 0.018-38.4kbps
+- 输出功率: 17 ± 0.5dbm
+- 支持 ADR(自适应数据速率)
+- 内置天线
+
+## 包含
+
+- 1x LoRa Module
+
+## 应用
+
+- 自动远程抄表
+- 智能交通智能停车场
+- 远程灌溉及环境监测
+
+## 管脚映射
+
+| *RHF76-052_UART* | *ESP32 Chip* |
+| :----------: |:------------: |
+| RXD | GPIO16 |
+| TXD | GPIO17 |
+
+## 文档
+
+- **[例程](en/file_to_display_null)**
+- **[LoRaWAN模组信息](http://wiki.ai-thinker.com/sx127x-052) (LoRaWAN)**
+- **[LoRaWAN的AT指令集](http://wiki.ai-thinker.com/_media/rhf-ps01509_lorawan_class_ac_at_command_specification_-_v4.4.pdf)**
+- **[旗舰店](https://www.aliexpress.com/store/product/M5Stack-New-LoRaWAN-Module-433-470Mhz-868-915MHz-with-Internal-Antenna-and-MCX-External-Antenna-Port/3226069_32953098569.html?spm=a2g1y.12024536.productList_5885011.pic_2)**
+
+
+
+
+
+
+
+
\ No newline at end of file