mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
Merge branch 'master' of github.com:m5stack/m5-docs
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
@@ -0,0 +1,50 @@
|
||||
# Arduino IDE Development{docsify-ignore-all}
|
||||
|
||||
## Arduino-IDE
|
||||
|
||||
>[点击此处访问 Arduino 官网](https://www.arduino.cc/en/Main/Software),选择对应自己操作系统的安装包进行下载.
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_install.webp">
|
||||
|
||||
## M5Stack Boards Manager
|
||||
|
||||
>1.Open up Arduino IDE, navigate to `File`->`Peferences`->`Settings`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_1.webp">
|
||||
|
||||
>2.Copy the following M5Stack Boards Manager url to `Additional Boards Manager URLs:`
|
||||
|
||||
**https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json**
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/arduino_board_config.webp">
|
||||
|
||||
>3.Navigate to `Tools`->`Board:`->`Boards Manager...`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/board_manage.webp">
|
||||
|
||||
>4.Search `M5Stack` in the pop-up window, find it and click `Install`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/search_M5STACK.webp">
|
||||
|
||||
>5.select `Tools`->`Board:`->`Timer-CAM`
|
||||
|
||||
<img src="assets\img\quick_start\timer_cam\timercam_arduino_01.webp">
|
||||
|
||||
>6.select `Sketch`->`Include Library:`->`Manage Libraries`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/manage_libraries.webp">
|
||||
|
||||
>7.Search `Timer-CAM` in the pop-up window, find it and click `Install`
|
||||
|
||||
<img src="assets\img\quick_start\timer_cam\timercam_arduino_02.webp">
|
||||
|
||||
>8.`File`->`Example`->`Timer-CAM` Open the case program, modify the SSID and other information in the program according to the code comments, and compile and upload it to the device.
|
||||
|
||||
<img src="assets\img\quick_start\timer_cam\timercam_arduino_03.webp">
|
||||
|
||||
<script>
|
||||
|
||||
anchor_search();
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -16,4 +16,11 @@
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\arduino-card.webp" width="300px" data-no-zoom>
|
||||
<a href="/#/en/quick_start/timer_cam/quick_start_arduino">
|
||||
<h3>Arduino</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -416,7 +416,7 @@ V-Function is a series of **visual recognition** functional firmware developed b
|
||||
|
||||
## QRCode
|
||||
|
||||
>Recognize the QR code on the screen and return the recognition result and version.
|
||||
>Recognize the QR code on the screen and return the recognition result and version. use firmware`Find code`.
|
||||
|
||||
<img src="assets\img\quick_start\v_function\qr_code.webp" width="30%">
|
||||
|
||||
@@ -455,7 +455,7 @@ V-Function is a series of **visual recognition** functional firmware developed b
|
||||
|
||||
## BarCode
|
||||
|
||||
>Recognize the barcode on the screen and return the recognition result and version.
|
||||
>Recognize the barcode on the screen and return the recognition result and version. use firmware`Find code`.
|
||||
|
||||
<img src="assets\img\quick_start\v_function\bar_code.webp" width="30%">
|
||||
|
||||
@@ -498,7 +498,7 @@ V-Function is a series of **visual recognition** functional firmware developed b
|
||||
|
||||
## DatamatrixCode
|
||||
|
||||
>Identify the Datamatrix code in the screen, and return the recognition result, the code rotation angle, and the coordinate data.
|
||||
>Identify the Datamatrix code in the screen, and return the recognition result, the code rotation angle, and the coordinate data. use firmware`Find code`.
|
||||
|
||||
<img src="assets\img\quick_start\v_function\datamatrix_code.webp" width="30%">
|
||||
|
||||
@@ -541,7 +541,7 @@ V-Function is a series of **visual recognition** functional firmware developed b
|
||||
|
||||
## ApriltagCode
|
||||
|
||||
>Identify the Apriltag code in the screen and get its position offset.
|
||||
>Identify the Apriltag code(only supported the Tag36H11) in the screen and get its position offset. use firmware`Find code`.
|
||||
|
||||
<img src="assets\img\quick_start\v_function\apriltag_code.webp" width="30%">
|
||||
|
||||
@@ -590,7 +590,7 @@ V-Function is a series of **visual recognition** functional firmware developed b
|
||||
```
|
||||
#### Recognition mode setting JSON
|
||||
|
||||
>The above multiple identification code functions are all implemented using the same firmware. Users can configure mode switching by sending the JSON data below.
|
||||
>The above multiple identification code functions are all implemented using the same firmware `Find Code`. Users can configure mode switching by sending the JSON data below.
|
||||
|
||||
```
|
||||
|
||||
|
||||
+23
-16
@@ -7,13 +7,13 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**ECG** 是一款心率测量模块,能够用于人体的心率统计与心电图曲线的生成。心电图(ECG)是利用心电图机从体表记录心脏每一心动周期所产生的电活动变化图形的技术。在信号采集端,这款ECG模块集成ADI前端采集心电信号,经过12倍增益运放与超精密运放信号处理,将前级模拟信号输入STM32(内置心率统计算法)进行信号分析。将处理结果以串口通信形式对外输出,方便主控设备的获取与显示。在信号输出方面采用前端/数字全隔离设计,加强设备稳定性与安全性。
|
||||
**ECG** 是一款心率测量模块,能够用于人体的心率统计与心电图曲线的生成。心电图(ECG)是利用心电图机从体表记录心脏每一心动周期所产生的电活动变化图形的技术。在信号采集端,这款ECG模块集成AD8232单导联心率监护前端,采集的心电信号经过AD8603低通滤波器信号处理,由10bit-ADC(AD7476)进行模拟/数字信号输入STM32(内置心率统计算法)进行信号分析。最后将处理结果以串口通信形式对外输出,方便主控设备的获取与显示。在信号输出方面采用前端/数字全隔离设计,加强设备稳定性与安全性。
|
||||
|
||||
?>注意:该产品仅允许使用`5V`电源输入,在使用该产品时请严格遵守该电源输入标准,避免损坏设备或是造成人体伤害。
|
||||
|
||||
## 产品特性
|
||||
|
||||
- ADI集成前端
|
||||
- ADI集成前端(高信号增益G=100,带DC阻塞能力)
|
||||
- 串口数据输出
|
||||
- 内置心率统计算法
|
||||
- 前端/数字全隔离设计
|
||||
@@ -23,11 +23,13 @@
|
||||
|
||||
- 1x ECG Module
|
||||
- 3x 心电导联线
|
||||
- 6x 导联贴
|
||||
|
||||
## 应用
|
||||
|
||||
- 心率统计
|
||||
- 心电图实时检测
|
||||
- 生物电信号采集
|
||||
- 便携式ECG
|
||||
- 健身及运动心率监护仪
|
||||
|
||||
## 规格参数
|
||||
|
||||
@@ -42,11 +44,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>净重</td>
|
||||
<td>40g</td>
|
||||
<td>18g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>毛重</td>
|
||||
<td>75g</td>
|
||||
<td>101g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>产品尺寸</td>
|
||||
@@ -54,7 +56,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>包装尺寸</td>
|
||||
<td>165*60*37mm</td>
|
||||
<td>105*65*40mm</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -67,8 +69,8 @@
|
||||
<div style="background-color:white;">
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_COM_NB-IoT.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/MODULE/EasyLoader_COM_NB-IoT.dmg">MacOS</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_ECG.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/MODULE/EasyLoader_ECG_Module.dmg">MacOS</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@@ -87,26 +89,31 @@
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet**
|
||||
- [SIM7020G datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/SIM7020_en.zip)
|
||||
- **AT Command**
|
||||
- [SIM7020G AT指令表](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/SIM7020%20Series_AT%20Command%20Manual_V1.05.pdf)
|
||||
- **Datasheet**
|
||||
- [AD8232](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/AD8232_datasheet_cn.pdf)
|
||||
- [AD8603](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/AD8603_datasheet_cn.pdf)
|
||||
- [AD7476](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/AD7476_datasheet_en.pdf)
|
||||
|
||||
- **Tool**
|
||||
- [RawDisplay-PC](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/software/RawDisplay.zip)
|
||||
- [UART Pass Through Firmware](https://github.com/m5stack/M5Stack/tree/master/examples/Advanced/Serial2)
|
||||
|
||||
?>使用PC端心率读取工具时候,设备需烧录串口透传固件,将数据转发至PC。
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src = "assets/img/product_pics/module/com.x_nb-iot/com.x_nb-iot_sch.webp">
|
||||
<img src = "assets/img/product_pics/module/ecg/ecg_sch.webp">
|
||||
|
||||
## 案例程序
|
||||
|
||||
### Arduino IDE
|
||||
|
||||
以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMX_NB-IoT)
|
||||
[下载Arduino示例](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/ECG)
|
||||
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Stack</td><td>TX(GPIO0/13/17)</td><td>RX(GPIO5/15/16)</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5Stack</td><td>TX/G13</td><td>RX/G5</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>ECG</td><td>RX</td><td>TX</td><td>VIN</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
# Arduino IDE 环境搭建{docsify-ignore-all}
|
||||
|
||||
## Arduino-IDE
|
||||
|
||||
>[点击此处访问 Arduino 官网](https://www.arduino.cc/en/Main/Software),选择对应自己操作系统的安装包进行下载.
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_install.webp">
|
||||
|
||||
## M5Stack的板管理
|
||||
|
||||
>1.打开 Arduino IDE,选择 `文件`->`首选项`->`设置`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_1.webp">
|
||||
|
||||
>2.复制下方的 M5Stack 板管理网址到 `附加开发板管理器:` 中
|
||||
|
||||
**https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json**
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/arduino_board_config.webp">
|
||||
|
||||
>3.选择 `工具`->`开发板:`->`开发板管理器...`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/board_manage.webp">
|
||||
|
||||
>4.在新弹出的对话框中,输入并搜索 `M5Stack`,点击`安装`(若出现搜索失败的情况,可以尝试重启Arduino程序)
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/search_M5STACK.webp">
|
||||
|
||||
>5.选择 `工具`->`开发板:`->`Timer-CAM`
|
||||
|
||||
<img src="assets\img\quick_start\timer_cam\timercam_arduino_01.webp">
|
||||
|
||||
>6.选择`项目`->`加载库:`->`管理库`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/manage_libraries.webp">
|
||||
|
||||
>7.在弹出的对话框中搜索`Timer-CAM`-> 点击`安装`
|
||||
|
||||
<img src="assets\img\quick_start\timer_cam\timercam_arduino_02.webp">
|
||||
|
||||
>8.`File`->`Example`->`Timer-CAM` 打开案例程序,根据代码注释修改程序中的SSID等信息,并编译上传至设备。
|
||||
|
||||
<img src="assets\img\quick_start\timer_cam\timercam_arduino_03.webp">
|
||||
|
||||
<script>
|
||||
|
||||
anchor_search();
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -16,4 +16,11 @@
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\arduino-card.webp" width="300px" data-no-zoom>
|
||||
<a href="/#/zh_CN/quick_start/timer_cam/quick_start_arduino">
|
||||
<h3>Arduino</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -414,7 +414,7 @@ V-Function是由M5Stack团队针对V系列设备开发的多个**视觉识别**
|
||||
|
||||
## 二维码识别
|
||||
|
||||
>识别画面中的二维码,并返回识别结果,以及版本。
|
||||
>识别画面中的二维码,并返回识别结果,以及版本。使用固件`Find code`
|
||||
|
||||
<img src="assets\img\quick_start\v_function\qr_code.webp" width="30%">
|
||||
|
||||
@@ -453,7 +453,7 @@ V-Function是由M5Stack团队针对V系列设备开发的多个**视觉识别**
|
||||
|
||||
## 条形码识别
|
||||
|
||||
>识别画面中的条形码,并返回识别结果,以及版本。
|
||||
>识别画面中的条形码,并返回识别结果,以及版本。使用固件`Find code`
|
||||
|
||||
<img src="assets\img\quick_start\v_function\bar_code.webp" width="30%">
|
||||
|
||||
@@ -496,7 +496,7 @@ V-Function是由M5Stack团队针对V系列设备开发的多个**视觉识别**
|
||||
|
||||
## Datamatrix码识别
|
||||
|
||||
>识别画面中的Datamatrix码,并返回识别结果,以及码旋转角度,坐标数据。
|
||||
>识别画面中的Datamatrix码,并返回识别结果,以及码旋转角度,坐标数据。使用固件`Find code`
|
||||
|
||||
<img src="assets\img\quick_start\v_function\datamatrix_code.webp" width="30%">
|
||||
|
||||
@@ -539,7 +539,7 @@ V-Function是由M5Stack团队针对V系列设备开发的多个**视觉识别**
|
||||
|
||||
## Apriltag码识别
|
||||
|
||||
>识别画面中的Apriltag码,并获取其位置的偏移。
|
||||
>识别画面中的Apriltag码(仅支持Tag36H11类型),并获取其位置的偏移。使用固件`Find code`
|
||||
|
||||
<img src="assets\img\quick_start\v_function\apriltag_code.webp" width="30%">
|
||||
|
||||
@@ -588,7 +588,7 @@ V-Function是由M5Stack团队针对V系列设备开发的多个**视觉识别**
|
||||
```
|
||||
#### 识别模式设置JSON
|
||||
|
||||
>以上多个识别码功能,均使用同一个固件实现,用户可以通过发送下方JSON数据,配置模式切换。
|
||||
>以上多个识别码功能,均使用同一个固件`Find Code`实现,用户可以通过发送下方JSON数据,配置模式切换。
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user