Analog Infrared CO2 Sensor For Arduino (0~5000 ppm)

Introduction: #

DFRobot released its latest high-precision analog infrared CO2 sensor. The effective measuring range is from 0 to 5000ppm. This sensor is based on non-dispersive infrared (NDIR) technology and has good selectivity and oxygen-free dependency. Additionally, its service life is up to 5 years! It integrates temperature compensation and supports DAC output. Most importantly, the product is easy to use and is compatible with all types of microcontrollers with ADC function. In addition, this product 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 sensor is directly compatible with the DFRobot Arduino IO expansion board thanks to its external DFRobot Gravity interface. This characterizes the simplicity of use of the sensor since it is plug and play and does not need additional wiring. This product could be widely used in HVAC, indoor air quality monitoring, industrial process and security protection monitoring, agriculture and animal husbandry production process monitoring.

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: #

  • Gas Detection: Carbon Dioxide (CO2)
  • Operating Voltage: 4.5 ~ 5.5V DC
  • Average Current: <60mA @ 5V
  • Peak Current: 150mA @ 5V
  • Output Signal: Analog output (0.4 ~ 2V)
  • Measuring Range: 0 ~ 5000ppm
  • Accuracy: ± (50ppm 3% reading)
  • Preheating Time: 3min
  • Response Time: 120s
  • Operating Temperature: 0 ~ 50 ℃
  • Operating Humidity: 0 ~ 95% RH (no condensation)
  • Service Life: >5 years
  • Size: 37mm x 69mm

Shipping List #

  • Gravity: Analog Infrared CO2 Sensor For Arduino x1
  • Analog Sensor Cable for Arduino x1
Sample Code For Arduino #
/***************************************************
   Infrared CO2 Sensor0-5000ppm
 * ****************************************************
   This example The sensors detect CO2

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

   GNU Lesser General Public License.
   See <http://www.gnu.org/licenses/> for details.
   All above must be included in any redistribution
 * ****************************************************/
int sensorIn = A0; //Signal<--->arduino uno A0

void setup() {
  Serial.begin(9600);
  // Set the default voltage of the reference voltage
  analogReference(DEFAULT);

}

void loop() {
  //Read voltage
  int sensorValue = analogRead(sensorIn);

  // The analog signal is converted to a voltage
  float voltage = sensorValue * (5000 / 1024.0);
  if (voltage == 0)
  {
    Serial.println("Fault");
  }
  else if (voltage < 400)
  {
    Serial.println("preheating");
  }
  else
  {
    int voltage_diference = voltage - 400;
    float concentration = voltage_diference * 50.0 / 16.0;
    // Print Voltage
    Serial.print("voltage:");
    Serial.print(voltage);
    Serial.println("mv");
    //Print CO2 concentration
    Serial.print(concentration);
    Serial.println("ppm");
  }
  delay(100);
}

Result #

Please wait at least 3 minutes (preheat process) until the data is stable. At this time, the sensor can display the CO2 concentration.

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare
What are you looking for in Partdo?
× How can I help you?