Reference
Last revision 2026/01/21
Library
- DFRobot_EOxygenSensor Library: Used to communicate with the sensor and perform calibration/read operations.
Download link: DFRobot_EOxygenSensor
Installation guide: How to install the library?
Communication Protocol Description
The sensor uses I2C digital output for communication. The I2C address can be switched via the DIP switch on the module, with four optional addresses: 0x70 (A0=0, A1=0), 0x71 (A0=1, A1=0), 0x72 (A0=0, A1=1), and 0x73 (A0=1, A1=1).
API Description
The DFRobot_EOxygenSensor library provides the following key functions:
begin(): Initializes the sensor and checks for a successful connection.readOxygenConcentration(): Reads the current oxygen concentration (%).clearCalibration(): Clears existing calibration data.calibration_20_9(): Performs single-point calibration for 20.9%Vol (air).calibration_99_5(): Performs double-point calibration for ≥99.5%Vol (pure oxygen).readCalibrationState(): Reads the calibration status (0: no calibration, 0x01: 20.9%Vol calibrated, 0x02: ≥99.5%Vol calibrated).
Principle
The sensor probe is based on the principle of electrochemistry, which provides strong anti-interference ability, high stability, and sensitivity.
Other Supplementary Information
Was this article helpful?
