DF Robot UART CO2 Sensor (0-50000ppm)

DFRobot released its latest wide range Arduino infrared CO2 sensor, which effective range is up to 0~50000ppm. This sensor is based on non-dispersive infrared (NDIR) technology and has good selectivity and oxygen-free dependency. It integrates temperature compensation and support UART communication mode. Most importantly, the product is easy to use; it is compatible with all types of microcontrollers with UART port, like Arduino, Raspberry Pi and other microcontrollers. Besides, it has a long service life, up to 5 years!


In addition, this UART Infrared CO2 Sensor 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 wide range detection, high sensitivity, high resolution, low power consumption, fast response, anti-water vapor interference, no poisoning, high stability and long life.

It can be widely used in HVAC refrigeration and indoor air quality monitoring, industrial process and safety monitoring, agricultural and animal husbandry production process monitoring, etc.

Quick Spec

  • Gas Detection: Carbon Dioxide (CO2)
  • Operating Voltage: 4.5 ~ 5.5V DC
  • Average Current: <85mA
  • Output Signal: UART/PWM output (PWM has not been developed)
  • Measuring Range: 0 ~ 50000ppm
  • Accuracy: ± (50ppm + 5% reading)
  • Preheating Time: 3min
  • Response Time: T90 < 30s
  • Operating Temperature: 0 ~ 50 ℃
  • Operating Humidity: 0 ~ 95% RH (no condensation)
  • Service Life: >5 years
  • Board Dimension: 21 x 27.11mm
  • Net Weight: 45g



Wiring Diagram


Sample Code

* Infrared CO2 Sensor 0-50000ppm(Wide Range)
* ****************************************************
* The follow example is used to detect CO2 concentration.

* @author lg.gang(lg.gang@qq.com)
* @version  V1.0
* @date  2016-6-6

* GNU Lesser General Public License.
* See  for details.
* All above must be included in any redistribution
* ****************************************************/
SoftwareSerial mySerial(10, 11); // RX, TX
unsigned char hexdata[9] = {0xFF,0x01,0x86,0x00,0x00,0x00,0x00,0x00,0x79}; //Read the gas density command /Don't change the order
void setup() {

  while (!Serial) {



void loop() {

 for(int i=0,j=0;i<9;i++)
  if (mySerial.available()>0)
     long hi,lo,CO2;
     int ch=mySerial.read();

    if(i==2){     hi=ch;   }   //High concentration
    if(i==3){     lo=ch;   }   //Low concentration
    if(i==8) {
               CO2=hi*256+lo;  //CO2 concentration
      Serial.print("CO2 concentration: ");



Shipping List

  • 1 x UART Infrared CO2 Sensor Probe (0-50000ppm)
  • 1 x Sensor Converter Board
  • 1 x 6-Pin Sensor Cable
  • 1 x PH2.0 Gravity UART Cable
  • 1 x XH2.54 4-Pin header

DF Robot UART CO2 Sensor (0-50000ppm)

  • Brand: DF Robot
  • Product Code: SEN0220
  • Weight: 0.045kg
  • Stock

    Warehouse Stock Status Location
    Centurion Limited Stock UR371
    Stellenbosch New Product Arriving Soon

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

  • R1,538.00 (Inc Tax: R1,768.70)

Related Products

LCD Shield For Arduino

LCD Shield For Arduino

LCD Shield For Arduino This is a very popular LCD Keypad shield for Arduino and other variants. It includes a 2x16 LCD display and 6 momentary push buttons. Pins 4, 5, 6, 7, 8, 9 and 10 are used to i..

Part No: DFR0009

R175.00 (Inc Tax: R201.25)

MQ-7 Gas Sensor Breakout - Carbon Monoxide

MQ-7 Gas Sensor Breakout - Carbon Monoxide

MQ-7 Gas Sensor Breakout - Carbon Monoxide Sensitive for carbon monoxide. Output voltage boosts along with the concentration of the measured gases increases. Fast response and recovery. Adjustable se..

Part No: W9532

R124.00 (Inc Tax: R142.60)

Gravity - MG-811 CO2 Gas Sensor

Gravity - MG-811 CO2 Gas Sensor

Gravity - MG-811 CO2 Gas Sensor "Greenhouse Effect" is melting the Earth's ice core every minute and creating dangerous icebergs. By knowing the eaxct concentration of CO2 (Carbon Dioxide), we can ..

Part No: SEN0159

R885.00 (Inc Tax: R1,017.75)

MH-Z19 NDIR CO2 Sensor

MH-Z19 NDIR CO2 Sensor

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

Part No: MH-Z19

R548.00 (Inc Tax: R630.20)

DF Gravity Air Quality Sensor CCS811

DF Gravity Air Quality Sensor CCS811

DF Gravity Air Quality Sensor CCS811 Gravity: CCS811 Air Quality Sensor can measure the eCO2 (equivalent CO2) and TVOC (Total Volatile Organic Compounds) density. It can be widely used in many appl..

Part No: SEN0318

R238.00 (Inc Tax: R273.70)

Tags: dfrobot, uart, gravity, co2, carbon, dioxide, sensor, gas, mh-z16