From 4ef480bdf4fab800bee2c8644da63243074a26fc Mon Sep 17 00:00:00 2001
From: Gitshaoxiang <1026025056@qq.com>
Date: Tue, 26 Jan 2021 19:01:29 +0800
Subject: [PATCH] update some info
---
docs/en/core/m5paper.md | 2 +-
docs/en/module/servo2.md | 3 +
docs/zh_CN/app/bala2.md | 2 +-
docs/zh_CN/core/m5paper.md | 2 +-
docs/zh_CN/core/tough.md | 42 +++++++++-----
docs/zh_CN/module/servo2.md | 1 +
docs/zh_CN/unit/dds.md | 107 ++++++++++++++++++++++++++++++++++++
docs/zh_CN/unit/uwb.md | 2 +-
8 files changed, 143 insertions(+), 18 deletions(-)
create mode 100644 docs/zh_CN/unit/dds.md
diff --git a/docs/en/core/m5paper.md b/docs/en/core/m5paper.md
index 74f1780a..dd4d2ded 100644
--- a/docs/en/core/m5paper.md
+++ b/docs/en/core/m5paper.md
@@ -247,7 +247,7 @@ For more info on specific pin functions refer to the official ESP32 Docs[ESP32 d
- [M5EPD_TTFExample](https://github.com/m5stack/M5EPD_TTFExample)
- [M5EPD-Lib](https://github.com/m5stack/M5EPD)
->When using FactoryTest to load special characters (such as Chinese, Japanese), please put the font file into the TF card and name it as `font.ttf`.[download ttf file](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/example/Font.ttf)
+>When using FactoryTest to load special characters (such as Chinese, Japanese), please put the font file into the TF card root directory and name it as `font.ttf`.[download ttf file](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/example/Font.ttf)
## Schematic
diff --git a/docs/en/module/servo2.md b/docs/en/module/servo2.md
index 9690a171..262ec757 100644
--- a/docs/en/module/servo2.md
+++ b/docs/en/module/servo2.md
@@ -10,6 +10,9 @@
The maximum total power output of dual channel is 35W (5V / 3.5A * 2), and the maximum output power of single channel is 25W (5V / 5A). When the battery base is used for power supply, the maximum output power is 5V / 2A. The module communicates with the host directly through I2C (the default address is 0x40) however the I2C address can be changed(0x40 - 0x47) through the dial switch. This also means that multiple Servo 2 modules can be stacked and used simultaneously. There is a power switch on the board to control the power supply of Servo 2.
+
+>The module must use the external power supply of DC interface when driving the servo. When using the AXP192 power management chip's main control (such as CORE2), the M-BUS power mode needs to be configured as input when the program is initialized.
+
## Product Features
- 16x actuator drive channel
diff --git a/docs/zh_CN/app/bala2.md b/docs/zh_CN/app/bala2.md
index cd1b16b7..d17d4d21 100644
--- a/docs/zh_CN/app/bala2.md
+++ b/docs/zh_CN/app/bala2.md
@@ -42,7 +42,7 @@
## 使用和校准
-注意:出厂时BALA2已经进行校准,开机即可自动保持平衡,如需手动进行校准请参考[快速上手](#/zh_CN/quick_start/bala2/bala2_quick_start.md)
+注意:出厂时BALA2已经进行校准,开机即可自动保持平衡,如需手动进行校准请参考[快速上手](zh_CN/quick_start/bala2/bala2_quick_start)
## 规格参数
diff --git a/docs/zh_CN/core/m5paper.md b/docs/zh_CN/core/m5paper.md
index 413afb5f..857b7fad 100644
--- a/docs/zh_CN/core/m5paper.md
+++ b/docs/zh_CN/core/m5paper.md
@@ -247,7 +247,7 @@
- [M5EPD_TTFExample](https://github.com/m5stack/M5EPD_TTFExample)
- [M5EPD-Lib](https://github.com/m5stack/M5EPD)
->在使用FactoryTest加载特殊字符(如中文,日文)时,请向TF卡中放入字体文件,并命名为`font.ttf`。[ttf文件下载地址](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/example/Font.ttf)
+>在使用FactoryTest加载特殊字符(如中文,日文)时,请向TF卡根目录放入字体文件,并命名为`font.ttf`。[ttf文件下载地址](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/example/Font.ttf)
## 原理图
diff --git a/docs/zh_CN/core/tough.md b/docs/zh_CN/core/tough.md
index 4be8676a..9a8dac0c 100644
--- a/docs/zh_CN/core/tough.md
+++ b/docs/zh_CN/core/tough.md
@@ -6,15 +6,7 @@
## 描述
-**TOUGH** 是M5Stack开发套件系列中面向工业场景的嵌入式主控。
-
-主控ESP32型号为D0WDQ6-V3,具有两个可以单独控制的 Xtensa® 32-bit LX6 处理器,主频高达240Mhz,支持WiFi与蓝牙功能,板载16MB Flash与8MB PSRAM,可通过TYPE-C接口下载程序,强劲的配置满足复杂应用的资源开销。
-
-正面搭载一块2.0寸一体化电阻式触摸屏
-
-内建的RTC模块可提供精准计时功能。电源部分搭载AXP192电源管理芯片可有效控制机身功耗,续航时间更持久。
-
-同时机身内配备了TF-card(microSD)卡槽与扬声器,为了保证获得更高质量的声音效果,采用I2S数字音频接口的功放芯片,能有效防止信号失真。
+**TOUGH** 是M5Stack开发套件系列中面向工业场景的嵌入式主控。主控ESP32型号为D0WDQ6-V3,具有两个可以单独控制的 Xtensa® 32-bit LX6 处理器,主频高达240Mhz,支持WiFi与蓝牙功能,板载16MB Flash与8MB PSRAM,可通过TYPE-C接口下载程序,强劲的配置满足复杂应用的资源开销。正面搭载一块2.0寸一体化电阻式触摸屏。内建的RTC模块可提供精准计时功能。电源部分搭载AXP192电源管理芯片。同时机身内配备了TF-card(microSD)卡槽与扬声器,采用I2S数字音频接口的功放芯片,能有效防止音频信号失真。
## 产品特性
@@ -65,8 +57,8 @@
2.0"@320*240 ILI9342C |
- | 电阻式触摸屏IC |
- ??? |
+ 电阻式触摸屏驱动IC |
+ NS2009 |
| 扬声器 |
@@ -178,7 +170,7 @@ TF 卡最大支持 16GB
| ESP32 chip | GPIO21 | GPIO22 | GPIO39 |
- | Res.TOUCH | SDA | SCL | INT | RST |
+ | Res.TOUCH/NS2009 | SDA | SCL | PENIRQ |
**NS4168功放**
@@ -188,7 +180,6 @@ TF 卡最大支持 16GB
| NS4168 | BCLK | LRCK | DATA | SPK_EN |
-
**RTC**
@@ -210,9 +201,10 @@ TF 卡最大支持 16GB
| ESP32 Chip | GPIO21 | GPIO22 |
| AXP192 | SDA | SCL |
| BM8563 | SDA | SCL |
+ | NS2009 | SDA | SCL |
-## M5Core2 M-BUS示意图
+## TOUGH M-BUS示意图
@@ -277,3 +269,25 @@ TF 卡最大支持 16GB
- [Arduino API](zh_CN/arduino/arduino_home_page?id=m5core2_api)
+## 原理图
+
+
+
+## 案例程序
+
+### Arduino IDE
+
+- [FactoryTest](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/M5Core2/Arduino)
+- [M5Tough-Lib](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/M5Core2/Arduino)
+
+
+
\ No newline at end of file
diff --git a/docs/zh_CN/module/servo2.md b/docs/zh_CN/module/servo2.md
index 40a61bdc..4f4dd89c 100644
--- a/docs/zh_CN/module/servo2.md
+++ b/docs/zh_CN/module/servo2.md
@@ -8,6 +8,7 @@
**SERVO 2** 是M5Stack堆叠模块系列中的一款舵机驱动模块,内部采用PCA9685 16通道PWM控制器,可以同时控制16路舵机。采用直流电源输入(6-12V)设计,通过两片SY8368AQQC进行降压,双通道输出最大总功率35W (5V/3.5A*2),单通道输出最大功率25W(5V/5A),当使用电池底座供电时最高支持5V/2A输出。模块与主机直接通过I2C进行通讯(默认0x40),通过拨码开关可改变I2C地址(0x40~0x47),这也意味着多个SERVO2可以堆叠使用,板上有一个电源切换开关,可控制SERVO2电源通断。
+>该模块驱动舵机时必须使用DC接口外部供电。使用AXP192电源管理芯片的主控(如CORE2),在程序初始化时需要将M-BUS电源模式配置为输入。
## 产品特性
diff --git a/docs/zh_CN/unit/dds.md b/docs/zh_CN/unit/dds.md
new file mode 100644
index 00000000..9b418db4
--- /dev/null
+++ b/docs/zh_CN/unit/dds.md
@@ -0,0 +1,107 @@
+# DDS
+
+SKU:U100
+
+
+
+## 描述
+
+**DDS** 是一款信号源Unit.
+
+内部集成AD9833可编程波形发生器。
+
+集成STM32F0控制方案
+
+I2C通信方式
+
+能够产生正弦波、三角波、方波输出、锯齿波输出。
+
+能够非常方便的控制输出波形,与调整频率、相位
+
+支持休眠策略
+
+
+## 产品特性
+
+- 数字可编程频率和相位
+- 信号输出幅值0-0.6V
+- 正弦波/三角波/方波输出/锯齿波/DC输出
+
+## 包含
+
+- 1x DDS Unit
+- 1x HY2.0-4P线缆
+
+## 应用
+
+- 频率刺激/波形发生
+- 液流和气流测量
+- 传感器应用:接近度、运动和缺陷检测
+- 线路损耗/衰减
+- 测试与医疗设备
+- 扫描/时钟发生器
+- 时域反射(TDR)应用
+
+## 规格参数
+
+
+
+ | 规格 |
+ 参数 |
+
+
+ | 净重 |
+ 7g |
+
+
+ | 毛重 |
+ 19g |
+
+
+ | 产品尺寸 |
+ 48*24*8mm |
+
+
+ | 包装尺寸 |
+ 67*53*12mm |
+
+
+
+## 相关链接
+
+- **[AD9833](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/dds/ad9833.pdf)**
+
+## EasyLoader
+
+
+## 案例程序
+
+### Arduino IDE
+
+- [Arduino示例程序](https://github.com/m5stack/M5Stack/blob/master/examples/Unit/DDS_AD9833/DDS_AD9833.ino)
+
+
+## 原理图
+
+
+
+## 管脚映射
+
+
+ | M5Core | SCL | SDA | 5V | GND |
+ | DDS Unit | GPIO22 | GPIO21 | 5V | GND |
+
+
+## I2C寄存器
+
+- I2C Address: **0x31**
+
+
+
\ No newline at end of file
diff --git a/docs/zh_CN/unit/uwb.md b/docs/zh_CN/unit/uwb.md
index 0048db1d..f8ea9120 100644
--- a/docs/zh_CN/unit/uwb.md
+++ b/docs/zh_CN/unit/uwb.md
@@ -22,7 +22,7 @@
- 开发平台: Arduino, UIFlow(Blockly, Python)
- 2x LEGO 兼容孔
-## 套件清单
+## 包含
- 1x UWB Unit
- 1x HY2.0-4P线缆