DF Robot Oxygen Sensor - I2C

The Gravity: I2C Oxygen Sensor is based on electrochemical principles and it can measure the ambient O2 concentration accurately and conveniently. With high anti-interference ability, high stablility and high sensitivity, this arduino-compatible oxygen sensor can be widely applied to fields like portable device, air quality monitoring device, and industries, mines, warehouses and other spaces where air is not easy to circulate.

This compact dfrobot oxygen sensor supports I2C output, can be calibrated in the air and can accurately measure the oxygen concentration in the environment. It is compatible with many mainboards like Arduino Uno, esp32, Raspberry Pi and so on. Its effective range is 0~25%Vol, and resolution can reach to 0.15%Vol. It supports wide range input voltage: 3.3V to 5.5V. Moreover, the lifetime is as long as 2 years. With simple Gravity interface and practical sample code, you can build your own oxygen concentration monitor easily and conveniently.

Quick Spec

  • Gas Detection: Oxygen (O2)
  • Operating Voltage: 3.3 ~ 5.5V DC
  • Output Signal: I2C output
  • Measurement Range: 0~25%Vol
  • Maximum Measurement Limit: 30%Vol
  • Resolution: 0.15%Vol
  • Sensitivity: 0.10±0.05 mA (in the air)
  • Stability: <2% (Every month)
  • Repeatability: <2%
  • Response Time: ≤15 seconds
  • Operating Temperature: -20~50℃
  • Operating Humidity: 0~99%RH (no condensation)
  • Pressure Range: standard atmospheric pressure ±10%
  • Lifetime: >2 years (in the air)
  • Dimensions: 37 x 27 x 24.5mm
  • Net Weight: 37g

Wiring Diagram

c39392eec0447cc83ad1bb11ac9c525a

Sample Code



/*!
  * @file  ReadOxygenData.ino
  * @brief Read oxygen concentration ,The unit is concentration percent (% vol).
  * @n step: we must first determine the iic device address, will dial the code switch A0, A1 (ADDRESS_0 for [0 0]), (ADDRESS_1 for [1 0]), (ADDRESS_2 for [0 1]), (ADDRESS_3 for [1 1]).
  * @n       And then read the data.
  * @n note: it takes time to stable oxygen concentration, about 8 minutes.
  *
  * @n The experimental phenomenon is that a certain percentage of oxygen concentration is printed on the serial port.
  * @n Because the oxygen concentration in oxygen air is certain, the data will not be greater than 25% vol.
  *
  * @copyright   Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com)
  * @licence     The MIT License (MIT)
  * @author      ZhixinLiu([email protected])
  * @version     V0.2
  * @date        2019-10-10
  * @get         from https://www.dfrobot.com
  * @url   */
#include "DFRobot_OxygenSensor.h"

#define COLLECT_NUMBER    10             // collect number, the collection range is 1-100.
#define Oxygen_IICAddress ADDRESS_3
/*   iic slave Address, The default is ADDRESS_3.
       ADDRESS_0               0x70      // iic device address.
       ADDRESS_1               0x71
       ADDRESS_2               0x72
       ADDRESS_3               0x73
*/

DFRobot_OxygenSensor Oxygen;
void setup() 
{
  Serial.begin(9600);
  while(!Oxygen.begin(Oxygen_IICAddress)) {
    Serial.println("I2c device number error !");
    delay(1000);
  }
  Serial.println("I2c connect success !");
}

void loop()
{
  float oxygenData = Oxygen.ReadOxygenData(COLLECT_NUMBER);
  Serial.print(" Oxygen concentration is ");
  Serial.print(oxygenData);
  Serial.println(" %vol");
  delay(1000);
}


Resources

Shipping List

SEN0322-003
  • 1 x Oxygen Sensor module
  • 1 x Gravity-4pin I2C Cable
  • 4 M3*10 Nylon Standoffs
  • 8 x M3*5 Screws


DF Robot Oxygen Sensor - I2C

  • Brand: DF Robot
  • Product Code: SEN0322
  • Weight: 0.037kg
  • Product Status : Active
  • Stock

    Warehouse Stock Status Location
    Centurion In Stock GG328
    Stellenbosch Limited Stock L61
    Bulk Location No Stock

    We ship free of charge between branches to complete your order.

  • R1,078.00 (Inc Tax: R1,239.70)


Related Products

Gravity: Formaldehyde (HCHO) Sensor

Gravity: Formaldehyde (HCHO) Sensor

Gravity: Formaldehyde (HCHO) Sensor (Arduino & Raspberry Pi Compatible) The Formaldehyde (HCHO) sensor is an Arduino & Raspberry Pi compatible module, which is the ideal solution for indoor..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: SEN0231
Product Status : Active

R845.00 (Inc Tax: R971.75)

MH-Z19 NDIR CO2 Sensor 5000PPM

MH-Z19 NDIR CO2 Sensor 5000PPM

MH-Z19 NDIR CO2 Sensor 5000PPM MH-Z19 NDIR infrared gas module is a common type, small size sensor, using non-dispersive infrared (NDIR) principle to detect the extensae of CO2 in the air, with goo..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: MH-Z19B
Product Status : Active

R749.00 (Inc Tax: R861.35)

Air Quality Sensor - UART Serial Output

Air Quality Sensor - UART Serial Output

Air Quality Sensor - UART Serial Output PMS5003 is a kind of digital and universal particle concentration sensor, which can be used to obtain the number of suspended particles in the air, i.e. the ..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: PMS5003G5
Product Status : Active

R459.00 (Inc Tax: R527.85)

DF Robot Ozone Sensor I2C (0-10ppm)

DF Robot Ozone Sensor I2C (0-10ppm)

DF Robot Ozone Sensor I2C (0-10ppm) Gravity: I2C Ozone Sensor (0-10ppm) is based on electrochemical principles and it can measure the ambient O3 concentration accurately and conveniently. With high..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: SEN0321
Product Status : Active

R1,108.00 (Inc Tax: R1,274.20)

DF Robot CO Sensor (Calibrated 0-10000ppm) - I2C & UART

DF Robot CO Sensor (Calibrated 0-10000ppm) - I2C & UART

DF Robot CO Sensor (Calibrated 0-10000ppm) - I2C & UART This is a sensor that detects carbon monoxide and supports three output modes: analog, I2C, and UART. The probe has been calibrated at th..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: SEN0466
Product Status : Active

R1,368.00 (Inc Tax: R1,573.20)

DF Robot HCL Sensor (Calibrated) - I2C & UART

DF Robot HCL Sensor (Calibrated) - I2C & UART

DF Robot HCL Sensor (Calibrated) - I2C & UART This is a sensor that detects hydrogen chloride concentration and supports three output modes: analog, I2C, and UART. The probe has been calibrated a..

Centurion (In Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: SEN0474
Product Status : Active

R3,188.00 (Inc Tax: R3,666.20)

DF Robot H2 Sensor (Calibrated) - I2C & UART

DF Robot H2 Sensor (Calibrated) - I2C & UART

DF Robot H2 Sensor (Calibrated) - I2C & UART This is a sensor that detects hydrogen concentration and supports three output modes: analog, I2C, and UART. The probe has been calibrated at the fact..

Centurion (In Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: SEN0473
Product Status : Active

R3,188.00 (Inc Tax: R3,666.20)

DF Robot O3 Sensor (Calibrated) - I2C & UART

DF Robot O3 Sensor (Calibrated) - I2C & UART

DF Robot O3 Sensor (Calibrated) - I2C & UART This is a sensor that detects ozone concentration and supports three output modes: analog, I2C, and UART. The probe has been calibrated at the facto..

Centurion (In Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: SEN0472
Product Status : Active

R3,324.00 (Inc Tax: R3,822.60)

DF Robot Infrared C02 Sensor - SCD41

DF Robot Infrared C02 Sensor - SCD41

DF Robot Infrared C02 Sensor - SCD41 The DF Robot Infrared C02 Sensor utilizes Sensirion's advanced technology, providing high accuracy in a compact form. Using the photoacoustic NDIR principle, it..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: SEN0536
Product Status : Active

R798.00 (Inc Tax: R917.70)

DF Robot Electrochemical Oxygen / O2 Sensor (0-100%Vol, I2C)

DF Robot Electrochemical Oxygen / O2 Sensor (0-100%Vol, I2C)

DF Robot Electrochemical Oxygen / O2 Sensor (0-100%Vol, I2C) The Gravity Electrochemical Oxygen (O2) Sensor measures oxygen levels from 0-100%Vol with I2C digital output, ideal for applications lik..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: SEN0496
Product Status : Active

R1,989.00 (Inc Tax: R2,287.35)

Tags: ozone, atmoshere, air, quality, gravity, sensor, i2c, pollution, organic, o2, oxygen