Gravity: PWM Infrared Carbon Dioxide Sensor (400-5000 ppm)

SKU:SEN0219 Brand:DFRobot Reward Points: 580
In Stock
Topic: Gravity
Quantity Based Price
  • 3-4$55.00
  • 5-9$52.00
  • 10+$49.00
* Model:
Expected Restock Date: [[restockDate]]


The concentration of carbon dioxide (0.03% usually) is related to daily life. Recently, there’s a study showing that the atmospheric CO2 content has reached 0.0385% (385 ppm) which is the highest value since 2.1 million years. The raise of atmospheric CO2 content to some extent results in global climate change. How to accurately measure carbon dioxide gas concentration is becoming a universal research topic.

DFRobot released its latest high-precision infrared Arduino CO2 sensor. The effectively measuring range is from 400 to 5000ppm. This sensor is based on non-dispersive infrared (NDIR) technology and has good selectivity and oxygen-free dependency. Besides, its service life could up to 5 years!

In addition, this Gravity: Infrared CO2 Sensor For Arduino (400~5000 ppm) is a high-performance sensor that combines technology of mature infrared absorption gas detection with precision optical circuit design as well as sophisticated circuit design. It has characteristics such as high sensitivity, high resolution, low power consumption, fast response, anti-water vapor interference, no poisoning, high stability, and long life.

This Gravity: Infrared CO2 Sensor is able to directly compatible with the DFRobot Arduino IO expansion board thanks to its external DFRobot Gravity interface. This character simplify the use of the sensor as it is plug and play and no need additional wiring.

This CO2 Sensor could be widely used in HVAC, indoor air quality monitoring, industrial process, and security protection monitoring, agriculture, and animal husbandry production process monitoring.

In addition, we also have a 0~50000 ppm wide-range infrared sensor with Gravity UART interface, Compatible with Arduino, Raspberry Pi, and other microcontrollers: Gravity: UART Infrared CO2 Sensor (0~50000ppm).

Infrared CO2 Sensor For Arduino Tutorial:

ESP32 Arduino: Using an infrared CO2 sensor

ESP32 Arduino: Temperature, humidity and CO2 concentration web server

Gravity CO2 Sensor Selection Guide

Product Name Gravity: Analog Electrochemistry CO2 Sensor Gravity: Analog IR CO2 Sensor Gravity: UART IR CO2 Sensor Gravity: I2C SCD41 Infrared CO2 Sensor (400 - 5000 ppm)
SKU SEN0159 SEN0219 SEN0220 SEN0536
Operation Voltage 3.7~5V 4.5~5.5V 4.5~5.5V 3.3V-5V
Gravity: Analog
3P Header Digital Output(Alarm):0~VCC Level
Gravity: Analog
(Analog Output 0.42V)
Gravity: UART
(03.3V Level)
Gravity: I2C
Measurement Principle
Solid electrolyte battery principle
NDIR(non-dispersive infrared) NDIR(non-dispersive infrared) photoacoustic NDIR
Measurement Range 0~10000 ppm 400~5000 ppm 0~50000 ppm 400~5000ppm
Accuracy ±100ppm@400ppm ±(100ppm + 6% readings) ±(100ppm + 6% readings) ±(40 ppm + 5% MV)



<20s <90s <30s 60S



<1W <430mW@5V <430mW@5V <30mW@5V
Operation Temperature -20℃~50℃ 0℃~50℃ 0℃~50℃ -10℃~60℃
Operation Humidity 0~95% RH (No condensation) 0~95% RH (No condensation) 0~95% RH (No condensation) 0~95% RH (No condensation)
Lifespan >1 year >5 years >5 years >10 years
32*42 mm 37*69 mm 21*27.1 mm 32*27*8mm
1. Large Range
2. Adjustable Alarm Threshold
3. Fast Response
4. Analog Output
1. High Accuracy
2. Long Lifespan
3. Auto Temperature Compensation
4. Water Vapor Interference Resistance
5. Ananglog Output
1. High Accuracy
2. Large Range
3. Long Lifespan
4. Auto Temperature Compensation
5. Water Vapor Interference Resistance
6.3.3V UART Output
1.CO2, temperature, and humidity, three in one
2. Small size of 32*27*8mm
3. Low power, average current<4mA


  • Waterproof and anti-corrosion
  • High sensitivity
  • Low power consumption
  • Excellent stability
  • Temperature compensation
  • Excellent linear output
  • High cycle life
  • Anti-water vapor interference
  • No poisoning
  • Specification

  • Detection Gas: Carbon Dioxide (CO2)
  • Power Supply: 5.0±0.1V DC
  • Average Current: 40mA@5V
  • Peak Current: <125@5V
  • Output Signal: PWM
  • Preheat: 1min
  • Response Time: T90 < 120s
  • Working Temperature: -10℃~50℃
  • Working Humidity: 0~95%RH (non-condensing)
  • Detection Range: 400~5000 ppm
  • Resolution: 1ppm
  • Accuracy: ±(50ppm+5% rdg)
  • Dimension: 69×37mm/2.72×1.46"
  • Projects

    Project 1: Making An Indoor Air Quality Monitor With A DFRobot CO2 Sensor

    Introduction: This video is going to be making an indoor air quality monitor using a DFRobot CO2 Sensor and a BME280 Environment Sensor. Together these sensors will provide, CO2 concentration, temperature, air pressure and humidity readings, which will be locally available on an OLED display and will be accessible over the internet through a Grafana dashboard.

    Project 2: How to Interface Gravity Infrared CO2 Sensor with Arduino to Measure Carbon Dioxide in PPM

    Introduction: This tutorial is going to interface the Gravity Infrared CO2 Sensor with Arduino to measure the CO2 concentration in PPM.


    Shipping List

  • Gravity: PWM Infrared Carbon Dioxide Sensor (400-5000 ppm) x1
  • Digital Sensor Cable for Arduino x1




    Gravity: PWM Infrared Carbon Dioxide Sensor (400-5000 ppm)

    In Stock
    • 3-4$55.00
    • 5-9$52.00
    • 10+$49.00