工业级氧气浓度传感器

Industrial Oxygen (O₂) Concentration Sensor User Manual
型号 / Model: O₂-100W-M | 版本 / Ver: 3.0

📘 产品简介

本传感器采用电化学/荧光淬灭原理(根据实际硬件可选,此处以工业级高性能氧化锆/电化学原理描述),量程范围 0%~100% 氧气浓度,响应时间小于15秒。产品内置Modbus RTU协议及2.4G WiFi无线传输模块,支持远程实时监测。适用于制氧机、医疗设备、煤矿安全、温室控制、富氧燃烧控制等场景。

📘 Product Introduction

This sensor uses the electrochemical / fluorescence quenching principle with a measuring range of 0% to 100% oxygen concentration and a response time of less than 15 seconds. It integrates Modbus RTU protocol and 2.4GHz WiFi wireless module for remote real-time monitoring. Ideal for oxygen generators, medical equipment, mining safety, greenhouse control, and oxygen-enriched combustion systems.

⚙️ 技术参数 / Technical Specifications
参数 / Parameter规格 / Specification
工作原理 / Principle电化学 / 荧光光学 / Electrochemical or Fluorescence optical
测量范围 / Measuring Range0% ~ 100% O₂ (体积浓度 / Volume concentration)
响应时间 (T90) / Response Time< 15 seconds
测量精度 / Accuracy±2% FS (0~25%) ; ±3% FS (25%~100%)
分辨率 / Resolution0.1% O₂
重复性 / Repeatability< ±1% FS
长期漂移 / Long-term Drift< ±0.5% / month
预热时间 / Warm-up Time≤ 30 seconds
工作电压 / Operating VoltageDC 5V ±0.2V 或 12-24V (可选)
工作电流 / Operating Current≤ 150mA @5V
工作温度 / Operating Temp.-20℃ ~ +50℃
工作湿度 / Operating Humidity0~95% RH (非冷凝)
通信接口 / CommunicationUART (TTL) + WiFi
通信协议 / ProtocolModbus RTU / 自定义主动上报
外形尺寸 / Dimensions85 × 45 × 28 mm
寿命 / Expected Life≥ 3年 (正常使用)

🔬 工作原理

传感器采用工业级电化学氧传感器元件,内部包含工作电极和参比电极。氧气通过透气膜扩散进入电解液,在工作电极上发生还原反应,产生的电流与氧气浓度成正比。信号经放大、线性化处理和温度补偿后,输出0%~100%的浓度值。该原理不受CO₂、H₂S等气体交叉干扰,具有良好的选择性。

🔬 Working Principle

The sensor adopts an industrial electrochemical oxygen sensing element with working and reference electrodes. Oxygen diffuses through the breathable membrane into the electrolyte, and a reduction reaction occurs at the working electrode, generating a current proportional to the oxygen concentration. After amplification, linearization and temperature compensation, the final 0%~100% concentration value is output. This principle is free from cross-interference by CO₂, H₂S, etc., providing excellent selectivity.

🔌 引脚接线图 / Pinout & Wiring
引脚 / Pin名称 / Name说明 / Description
1VCC电源正极 (5V 或 12-24V) / Power +
2GND电源地 / Ground
3TX / ARS485 A (Modbus) 或 UART_TXD (TTL)
4RX / BRS485 B (Modbus) 或 UART_RXD (TTL)
5WiFi_RSTWiFi 复位按键接口 / WiFi Reset
6SET配置模式使能 (低电平进入配置)

注:默认Modbus RTU模式通过RS485接口或TTL UART,两者不同时生效。WiFi传输需要单独连接天线。

📡 通信协议 / Communication Protocol

Modbus RTU (RS485 或 TTL UART)

参数 / Parameter值 / Value
波特率 / Baud Rate9600 / 19200 (默认 9600)
数据位 / Data Bits8
停止位 / Stop Bits1
校验位 / Parity无 / None
从机地址 / Slave Address1~247 (默认 0x01)

📦 Modbus 寄存器表 / Register Map

寄存器地址 (Hex)参数 / Parameter数据类型单位
0x0000氧气浓度 / O₂ Concentrationuint16 (实际值×10)% (0.0~100.0)
0x0001温度 (内部传感器)int16×10℃
0x0002湿度 (可选)uint16×10%RH
0x0010设备状态 / Statusuint16 bitmask-
0x0020-0x0021Modbus 从机地址 (可写)uint16-

读数示例 / Read Example:
发送 / Send: 01 03 00 00 00 01 84 0A
返回 / Response: 01 03 02 03 E8 B8 FA → 0x03E8 = 1000 → 100.0% O₂

⚡ 主动上报模式 (UART)

除Modbus外,传感器可设置为主动上报模式,以1Hz频率输出字符串数据帧。
例 / Example: "O2:20.9%, T:25.3C,H:55%RH\r\n"

📶 WiFi 无线传输 / WiFi Wireless Transmission

功能特点:

  • 支持IEEE 802.11 b/g/n 2.4GHz
  • STA/AP双模式
  • MQTT / HTTP 协议上传数据至云平台
  • 支持Modbus TCP转RTU网关模式
  • 数据可推送至微信小程序、ThingsBoard、HomeAssistant
  • HTTP API读取实时氧浓度

WiFi快速配网:

  1. 长按SET键3秒,指示灯快闪进入AP模式
  2. 手机连接 WiFi “O2_Sensor_XXXX”,密码 12345678
  3. 浏览器访问 192.168.4.1,选择家庭WiFi并输入密码
  4. 传感器自动连接云平台,指示灯常亮

Features:

  • IEEE 802.11 b/g/n 2.4GHz
  • STA/AP dual-mode
  • MQTT / HTTP protocol upload to cloud platform
  • Modbus TCP to RTU gateway mode
  • Push data to WeChat MiniApp, ThingsBoard, HomeAssistant
  • HTTP API for real-time oxygen reading

Quick WiFi Setup:

  1. Press SET button for 3 seconds, LED fast flashes to enter AP mode
  2. Connect phone to WiFi “O2_Sensor_XXXX”, password 12345678
  3. Visit 192.168.4.1, select home WiFi and enter password
  4. Sensor connects to cloud, LED turns solid
⚠️ 氧气浓度安全指南 / O₂ Safety Levels
浓度范围 / O₂ Range状态 / Status影响 / Effect
0% ~ 19.5%缺氧环境 / Hypoxic头晕、呼吸困难,需通风或佩戴呼吸器
19.5% ~ 23.5%正常范围 / Normal人体适宜氧浓度,健康工作环境
23.5% ~ 25%轻微富氧 / Slightly Enriched助燃风险增加,注意防火
> 25%高富氧环境 / Highly Enriched易燃物极易燃烧,严禁明火
⚠️ 使用注意事项 / Precautions
❓ 常见问题 / FAQ
Q1:新设备显示100%以上或者偏低?
A:首次使用建议在洁净空气中通电预热30分钟,稳定后显示20.9%左右。可执行大气校准命令0x06写入校准系数。
New device shows abnormal reading. Preheat for 30 minutes in clean air; typical value should be ~20.9%.
Q2:Modbus 读取无响应?
A:检查接线、波特率、从站地址是否匹配。注意RS485的A/B线不可反接。
Check wiring, baud rate, slave address. For RS485, ensure A/B not reversed.
Q3:WiFi经常掉线?
A:确认路由器2.4GHz信道稳定,避免同频干扰,可固定IP或增加中继。
Ensure stable 2.4GHz channel, avoid interference. Use static IP or a repeater.
Q4:响应时间超过15秒?
A:气路接口可能有堵塞,检查过滤器或膜片;低温环境也会略微增加响应时间。
Check for clogged air path or filter. Low temperature may increase response time slightly.