SCD40---微型CO2传感器使用

传感器介绍

SCD40尺寸仅为10 x 10 x 7 mm3 ,以光声传感原理为基础,同时集成温湿度传感器SHTW2实现片上信号补偿。

二氧化碳是室内空气质量的一个关键指标,因为高水平会损害人类的认知表现和健康。SCD4x使智能通风系统能够以最节能和最人性化的方式调节通风。此外,基于SCD4x的室内空气质量监测器和其他连接设备可以帮助在一个健康、高效的环境中保持较低的二氧化碳浓度。
通过上述介绍,SCD4X传感器可以应用到家用的气体监测等设备上。
有一点需要注意的是手册中标注的监测范围是0-40000ppm,高精度±(40ppm+5%)
在这里插入图片描述
但是在手册的另一个地方表示具有高精度的范围是:
以SCD40为例:高精度的范围是400-2000ppm,使用时需要注意。
在这里插入图片描述

SCD40使用

SCD40传感器使用的是IIC接口,从机地址为0x62。
从SCD40传感器中我们可以获取到温度、湿度和CO2浓度。

一些注意事项

1.上电后等待稳定

3.1 Power-Up and Communication Start
The sensor starts powering-up after reaching the power-up threshold voltage VDD,Min = 2.25 V. After reaching this threshold 
voltage, the sensor needs 1000 ms to enter the idle state. Once the idle state is entered it is ready to receive commands from 
the master

传感器上电后边需要1000ms才能进入空闲状态。一旦进入空闲状态,它就可以接收来自主节点的命令了。
2.有一些指令在周期测量期间不能使用
在这里插入图片描述

在运行定期测量时,除了读取测量、获取数据就绪状态、停止周期测量和设置环境压力外,不得发出其他命令。
3.周期测量的时间为5秒
4.拆包后168小时内完成焊接,否则会影响传感器测量效果。咨询供应商,是因为传感器拆开后湿度增加,在高温焊接后会影响敏感元件的性能。

驱动步骤

强制校准

3.7.1 perform_forced_recalibration
Description: To successfully conduct an accurate forced recalibration, the following steps need to be carried out: 
1. Operate the SCD4x in the operation mode later used in normal sensor operation (periodic measurement, low power 
periodic measurement or single shot) for > 3 minutes in an environment with homogenous and constant CO2
concentration. 
2. Issue stop_periodic_measurement. Wait 500 ms for the stop command to complete.
3. Subsequently issue the perform_forced_recalibration command and optionally read out the FRC correction (i.e. the 
magnitude of the correction) after waiting for 400 ms for the command to complete. • A return value of 0xffff indicates that the forced recalibration has failed.
Note that the sensor will fail to perform a forced recalibration if it was not operated before sending the command. Please make 
sure that the sensor is operated at the voltage desired for the application when applying the forced recalibration sequence

在这里插入图片描述
SCD40传感器提供强制校准指令,校准步骤为:
1.设备在周期测量状态下在恒定条件下运行3min以上;
2.发送停止周期测量指令;
3.等待500ms,向传感器发送强制校准指令(该指定带一个参数为恒定条件的CO2浓度)
4.等待400ms,读取偏移量,如果偏移量为0xffff则表示校准失败。

延伸

室内CO2浓度标准

在《GB/T 17094-1997 室内空气中二氧化碳卫生标准》中说明:

室内空气中二氧化碳的卫生标准值≤0.10%(2000mg/m3)
注:2000mg/m3≈1000ppm

查找网络上的资料

所以在判定室内CO2浓度状态时,根据以上依据,将CO2浓度分为优、良、差三个等级:
(0ppm,1000ppm]:优;
(1000ppm,1500ppm]:良;
(1500ppm,+∞]:差。

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值