Holiday Notice: DFRobot team is on holiday from Sep 30th to Oct 8th. Orders placed during this time will be processed starting Oct 9th. Thank you for your patience.

TOP

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

$58.00
SKU: SEN0219
Volume Discount
  • $55.00 3+ items
  • $52.00 5+ items
  • $49.00 10+ items
High-precision infrared CO2 sensor for Arduino, measuring 400-5000ppm. Features include high sensitivity, low power, fast response, and anti-water vapor interference.
Eligible for $60 Raspberry Pi 5 Special Add-On Deal
Purchase this product and earn 580 reward points, which are tied to VIP membership program. Learn More >

Introduction

The Gravity: PWM Infrared CO2 Sensor is a high-precision module engineered for quantitative measurement of carbon dioxide. It operates on the principle of Non-Dispersive Infrared (NDIR) technology to deliver stable, selective, and accurate data. The sensor's key features—high accuracy, exceptional stability, and a long service life—are backed by concrete performance metrics. With a standard indoor air quality detection range of 400 to 5000 ppm and a fine resolution of 1 ppm, it is the definitive choice for data-driven applications such as IAQ monitoring, smart HVAC systems, and scientific research.


High-Accuracy NDIR Technology

This CO2 Sensor provides precise, quantitative readings, not just estimates. The NDIR technology targets the specific absorption wavelength of CO2, ensuring high selectivity. This performance is quantified by its specifications: an accuracy of ±(50ppm + 5% of reading) and a resolution of 1 ppm. The data is reliably transmitted via a PWM output signal, providing trustworthy data for analysis and control systems.


Exceptional Long-Term Stability

Designed for continuous and reliable monitoring, this NDIR CO2 sensor maintains its performance across a wide range of real-world conditions. It operates consistently in temperatures from -10℃ to 50℃ and in humidity levels up to 95% RH (non-condensing). Featuring built-in temperature compensation and a swift response time (T90 < 120s), it exhibits minimal signal drift, reducing the need for frequent recalibration in long-term, unattended deployments.


Extended 5-Year Service Life

The robust NDIR sensor element is engineered for longevity, contributing to a service life of up to five years under normal operating conditions. This reliability is supported by an efficient electronic design, with an average current draw of just 40mA at 5V. This extended lifespan offers a lower total cost of ownership and greater peace of mind for permanent installations like smart home devices or building automation systems.


Choosing the Right CO₂ Sensor?

With different technologies like NDIR, Electrochemical, and Photoacoustic, selecting the perfect sensor can be complex. The comprehensive guide breaks down the key differences and recommends the best sensor for 5 common project scenarios.

» Read the Full 2025 CO₂ Sensor Selection Guide

Selection Guide

CO2 Sensor Selection Guide

Figure
image
image
image
image
SKU
SEN0159
SEN0220
SEN0219
SEN0536
Operation Voltage
3.7~5V
4.5~5.5V
4.5~5.5V
3.3V-5V
Output
Gravity: Analog (Analog2.7~4.1V) + 3P Header Digital Output(Alarm):0~VCC Level
Gravity: Analog (Analog Output 0.4~2V)
Gravity: UART (0~3.3V Level)
Gravity: I2C
Measurement Principle
Electrochemistry (Solid electrolyte battery principle)
NDIR (non-dispersive infrared)
NDIR (non-dispersive infrared)
photoacoustic NDIR
Measurement Range
0~10000 ppm
0~50000 ppm
400~5000 ppm
400~5000 ppm
Accuracy
±100ppm@400ppm
±(100ppm + 6% readings)
±(100ppm + 6% readings)
±(40 ppm + 5% MV)
Response Time
<20s
<90s
<30s
60s
Average Power
<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 year
>5 year
>10 year
Dimension (PCB)
32*42 mm
37*69 mm
21*27.1 mm
32*27*8mm
Features
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
Add to Cart

Applications

  • Indoor Air Quality (IAQ) Monitoring: Build a device to accurately track CO2 levels in homes, offices, or classrooms to manage ventilation and improve health and productivity.
  • Smart Home & HVAC Systems: Integrate with HVAC systems to automatically introduce fresh air when CO2 levels rise, creating a smarter and more efficient climate control system.
  • Scientific & Agricultural Tech: Use in labs, greenhouses, or other controlled environments where precise CO2 concentration data is crucial for research or optimizing plant growth.
  • Specification

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

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

    AllProjectsBlogTutorialCourseMedia
    ESP32 Arduino: Temperature, humidity and CO2 concentration web server

    Blog ESP32 Arduino: Temperature, humidity and CO2 concentration web server

    DFRobot
    Jun 11, 2018
    How to Choose the Best CO2 Sensor for Arduino / ESP32 Project (2025 Selection Guide)

    Blog How to Choose the Best CO2 Sensor for Arduino / ESP32 Project (2025 Selection Guide)

    DFRobot
    Sep 18, 2025
    DFRobot Gas Sensor Selection Guide

    Blog DFRobot Gas Sensor Selection Guide

    DFRobot
    Jun 26, 2022

    FAQ

    Explore More Related Questions >

    Review

    Jarett.Smith Apr 04, 2025

    Easy to integrate with HomeAssistant. Works as expected!

    Gravity: PWM NDIR Infrared Carbon Dioxide / CO2 Sensor (400-5000 ppm)
    $0.00