Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自制甲醛检测器 #318

Open
Bpazy opened this issue Jan 19, 2024 · 7 comments
Open

自制甲醛检测器 #318

Bpazy opened this issue Jan 19, 2024 · 7 comments

Comments

@Bpazy
Copy link
Owner

Bpazy commented Jan 19, 2024

硬件: ESP32WROOM32 + SFA30
固件: ESPHome

@Bpazy
Copy link
Owner Author

Bpazy commented Jan 30, 2024

GB/T 18883-2022 规定甲醛室内标准为 1 小时平均不超过 0.08mg/m³,约 60 ppb
有孕妇、宝宝生活的室内环境,建议执行更高的标准,甲醛含量应低于0.05mg/m³,约 41ppb

ppb 到 mg/m³ 在线换算: https://teesing.com/en/tools/ppm-mg3-converter

@Bpazy
Copy link
Owner Author

Bpazy commented Feb 5, 2024

SFA30

image

https://www.mouser.cn/new/sensirion/sensirion-sfa30-formaldehyde-sensor-module/

特性

  • 对乙醇的交叉灵敏度低
  • 长期稳定性和六年使用寿命
  • 专利电化学电池,采用防干技术
  • I2C/UART接口,终身校准输出
  • 通过Sensirion RHT传感器进行完全温度和湿度补偿

应用

  • HCHO气体浓度实时读数(单位为ppm)
  • 空调和空气交换器
  • 空气净化器
  • 室内空气质量监测器

规范

  • 精度为±20ppb或测量值的±20%(以较大者为准)
  • I2C/UART接口
  • 电流消耗:1.0mA(平均值)
  • 测量范围:0ppb至1000ppb
  • 甲醛度浓度(单位为ppb)、RH、T传感器输出
  • 响应时间:<2分钟
  • 检测限制:<20ppb

SFA30 数据手册:
Sensirion_Formaldehyde_Sensors_SFA30_Datasheet-1929586.pdf

@Bpazy
Copy link
Owner Author

Bpazy commented Feb 25, 2024

硬件部分

SFA30 接口信息

  • 胶壳: 505565-0701(MOLEX)
  • 端子: 505431-1000(MOLEX)
  • 线材:UL1061, 26AWG

SFA30 的接口为 molex 5055650701,间距 1.25mm,淘宝未搜到成品。

在立创商城找到了端子: https://item.szlcsc.com/898109.html

初步尝试压接以失败告终,1.25 的簧片、导线都太小了,很容易压断。

再次搜索淘宝后找到一家商城有货,就是价格很贵,1 根线 5 块,邮费 18,干就完了,买!https://item.taobao.com/item.htm?id=759157375740

ESP32

采购于淘宝的「泽杰旗舰店」,ESP32 WROOM CH340 芯片版本的开发板。

管脚定义:
image

@Bpazy
Copy link
Owner Author

Bpazy commented Feb 28, 2024

软件部分

采用 ESPHome 制作,配置文件参考仓库:https://github.com/Bpazy/sfa30

有关于 ESPHome 的 i2c 端口名词解释,看这里: #331

@Bpazy
Copy link
Owner Author

Bpazy commented Mar 4, 2024

成品展示

image image

@563816752
Copy link

请问要加上拉电阻嘛?

@Bpazy
Copy link
Owner Author

Bpazy commented Dec 3, 2024

请问要加上拉电阻嘛?

我这块板不用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants