xuos-web/docs/doc/sensor/gas_sensor.md

125 lines
4.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 气敏传感器
<head>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
<!--$表示行内元素$$表示块状元素 -->
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
<!--加载MathJax的最新文件 async表示异步加载进来 -->
<script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js">
</script>
</head>
## TB600B-IAQ-10 空气质量检测模组
<div class = "wrapper">
<table style="margin-left: auto; margin-right: auto; table-layout: fixed;" >
<tr>
<td style="width: 50%;">
<!--左侧内容-->
<img src = "./imagesrc/TB600B.png" alt="TB600B" width =100% max-width= 100% >
</td>
<td style="width: 50%;">
<!--右侧内容-->
多种有害气体测量反应计算,可有效评估空气新鲜度;</br></br>
可检测VOC有机挥发物类、硫化物、氮氧化物、胺类、烃类、酮类、醇类、一氧化碳等多种无机气体</br></br>
长寿命、检测稳定、可靠性高;</br></br>
快速响应;</br></br>
独立温湿度数字传感器,结合智能算法,环境适应性强;</br></br>
小体积低功耗;</br></br>
</td>
</tr>
</table>
</div>
### 应用领域
+ 室内家居空气质量污染监测
+ 家用、商用新风在线净化系统
+ 家用新风机、净化器
+ 商业场所空气质量污染监测
+ 室内温湿度监测仪
+ 车载空气净化器
+ 公共交通工具空间内空气监测
+ 暖通空调系统
+ 智能可穿戴设备(腕表、口罩、手机)
+ 健康运动设备
+ 抽油烟机和智能家具产品
+ 实验室排风柜系统
+ 超净实验室环境监测
+ 小型无人机环境空气质量监测
### 接线说明
<div style="display: flex;justify-content: center;align-items: center;">
<img src = "./imagesrc/TB600B_2.png" alt="TB600B_2" width =80% max-width= 80% >
</br>
</div>
按照上图中从上到下的顺序:
<div>
<table style="margin-left: auto; margin-right: auto; table-layout: fixed;" width = 600>
<tr>
<td width = 100>序号</td>
<td width = 250>TB600B模块</td>
<td width = 250>备注</td>
</tr>
<tr>
<td>1</td>
<td>TX</td>
<td>接嵌入式系统RX引脚</td>
</tr>
<tr>
<td>2</td>
<td>RX</td>
<td>接嵌入式系统TX引脚</td>
</tr>
<tr>
<td>3</td>
<td>GND</td>
<td>模块公共地</td>
</tr>
<tr>
<td>4</td>
<td>VCC</td>
<td>供电电压3.3 V~5.5 V</td>
</tr>
</table>
</div>
### 使用步骤
+ 接线
+ 空气质量检测模组上电后需要短暂的数据稳定时间通常在1min以内。
+ 该检测模组为扩散式检测环境气体需要确保流量在500ml以内且保证流量稳定。流量较大时会带来压力的变化从而导致传感器信号值变化。流速会产生压力压力的变化会导致输出信号的变化压力增大信号变大传感器信号会出现峰值突变。避免在负压环境下使用对传感器造成物理无法恢复的损坏。
### 通信协议
#### 一、通用设置
传感器使用串行通讯方式。
<div>
<table style="margin-left: auto; margin-right: auto; table-layout: fixed;" width = 600>
<tr>
<td width = 200>波特率</td>
<td width = 400>9600</td>
</tr>
<tr>
<td>数据位</td>
<td>8位</td>
</tr>
<tr>
<td>停止位</td>
<td>1位</td>
</tr>
<tr>
<td>校验位</td>
<td></td>
</tr>
</table>
</div>
注意: 通讯分为主动上传和问答式,上电默认为问答式。