# Gravity: PWM Infrared CO2 Sensor For Arduino (400~5000 ppm)

**Type:** Product page · **SKU:** SEN0219 · **Brand:** [DFRobot](https://core-electronics.com.au/brands/dfrobot-australia)
**Page:** https://core-electronics.com.au/gravity-analog-infrared-co2-sensor-for-arduino-0-5000-ppm.html ([markdown](https://core-electronics.com.au/gravity-analog-infrared-co2-sensor-for-arduino-0-5000-ppm.html.md))

The concentration of carbon dioxide (0.03% usuallly) 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 the carbon dioxide gas concentration is becoming a universal research topic.

## Pricing

- **Price:** $94.70 (inc GST) — $86.09 AUD, exc GST
- **Quantity discounts:** 6+ $81.78 (exc GST) · 12+ $78.35 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Sep 03 and Sep 07.

## Description

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](https://www.dfrobot.com/search-CO2%20sensor.html). The effectively measuring range is from 400 to 5000ppm. This sensor is based on non-dispersive infrared ([NDIR](https://en.wikipedia.org/wiki/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](https://core-electronics.com.au/io-expansion-shield-for-arduino-v7.html) thanks to its external DFRobot [Gravity ](https://www.dfrobot.com/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: UARTInfrared CO2 Sensor (0~50000ppm).](https://www.dfrobot.com/product-1565.html)

Infrared CO2 Sensor For Arduino Tutorial:

[ESP32 Arduino: Using an infrared CO2 sensor](https://www.dfrobot.com/blog-991.html)

[ESP32 Arduino: Temperature, humidity and CO2 concentration web server](https://www.dfrobot.com/blog-992.html)

| **Gravity CO2 Sensor Selection Guide** |
|---|
|  | [![](https://core-electronics.com.au/attachments/localcontent/_DSC0430_15723eb4ff3.jpg)](https://core-electronics.com.au/co2-sensor-arduino-compatible.html) | [![](https://core-electronics.com.au/attachments/localcontent/SEN0219_11865b3864d.jpg)](https://core-electronics.com.au/gravity-analog-infrared-co2-sensor-for-arduino-0-5000-ppm.html) | [![](https://core-electronics.com.au/attachments/localcontent/6W4A3366_89082dd4235.jpg)](https://core-electronics.com.au/gravity-uart-infrared-co2-sensor-0-50000ppm.html) | [![](https://core-electronics.com.au/attachments/localcontent/SEN0536_12098e35f96.jpg) ](https://core-electronics.com.au/gravity-i2c-scd41-infrared-co2-sensor-400-5000-ppm.html) |
| **Product Name** | **Gravity: Analog Electrochemistry CO2 Sensor** | **Gravity: PWM IR CO2 Sensor** | **Gravity: UART IR CO2 Sensor** | **Gravity: I2C SCD41 Infrared CO2 Sensor (400 - 5000 ppm)** |
| **SKU** | [SEN0159](https://core-electronics.com.au/co2-sensor-arduino-compatible.html) | [SEN0219](https://core-electronics.com.au/gravity-analog-infrared-co2-sensor-for-arduino-0-5000-ppm.html) | [SEN0220](https://core-electronics.com.au/gravity-uart-infrared-co2-sensor-0-50000ppm.html) | [SEN0536](https://core-electronics.com.au/gravity-i2c-scd41-infrared-co2-sensor-400-5000-ppm.html) |
| **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 | 400~5000 ppm | 0~50000 ppm | 400~5000ppm |
| **Accuracy** | ±100ppm@400ppm | ±(100ppm + 6% readings) | ±(100ppm + 6% readings) | ±(40 ppm + 5% MV) |
| **Response**  **Time** | &lt;20s | &lt;90s | &lt;30s | 60S |
| **Average**  **Power** | &lt;1W | &lt;430mW@5V | &lt;430mW@5V | &lt;30mW@5V |
| **Operation Temperature** | -20°C~50°C | 0°C~50°C | 0°C~50°C | -10°C~60°C |
| **Operation Humidity** | 0~95% RH (No condensation) | 0~95% RH (No condensation) | 0~95% RH (No condensation) | 0~95% RH (No condensation) |
| **Lifespan** | &gt;1 year | &gt;5 years | &gt;5 years | &gt;10 years |
| **Dimension(PCB)** | 32\*42 mm | 37\*69 mm | 21\*27.1 mm | 32\*27\*8mm |
| ### Features | 1. Large Range2. Adjustable Alarm Threshold3. Fast Response4. Analog Output | 1. High Accuracy2. Long Lifespan3. Auto Temperature Compensation4. Water Vapor Interference Resistance5. Ananglog Output | 1. High Accuracy2. Large Range3. Long Lifespan4. Auto Temperature Compensation5. Water Vapor Interference Resistance6.3.3V UART Output | 1.CO2, temperature, and humidity, three in one2. Small size of 32\*27\*8mm3. Low power, average current&lt;4mA&lt; /div&gt; |

### Features

- 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: &lt;125@5V&lt; /li&gt;
- Output Signal: PWM
- Preheat: 1min
- Response Time: T90 &lt; 120s
- Working Temperature: -10°C~50°C
- 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](https://www.youtube.com/watch?v=oXGf0EcIW9Y)**

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 Arduinoto Measure Carbon Dioxide in PPM](https://circuitdigest.com/microcontroller-projects/interfacing-gravity-inrared-co2-sensor-to-measure-carbon-dioxide-in-ppm)**

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

### Documents

- [Product Wiki](https://wiki.dfrobot.com/Gravity__Infrared_CO2_Sensor_For_Arduino_SKU__SEN0219)

### Parts List

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

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/1/_/1_5_8.jpg)
