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: Analog Electrochemical CO2 Sensor for Arduino (0-10000 ppm)

$48.90
SKU: SEN0159
Volume Discount
  • $47.50 3+ items
  • $46.50 5+ items
  • $45.00 10+ items
Arduino-based CO2 sensor detects carbon dioxide levels, using MG-811 sensor. Features adjustable alarm, analog output, and onboard heating circuit for optimal performance.
Eligible for $60 Raspberry Pi 5 Special Add-On Deal
Purchase this product and earn 489 reward points, which are tied to VIP membership program. Learn More >

Introduction

The Gravity: Analog Electrochemical CO2 Sensor is a module designed for detecting high concentrations of carbon dioxide and triggering an automated response. Based on the proven MG-811 sensor core, its primary function is to act as a simple, threshold-based switch. An onboard potentiometer allows for the manual setting of a specific CO₂ concentration level. When the ambient CO₂ exceeds this preset point, the sensor provides a clear digital signal, making it straightforward to implement event-driven systems like safety alarms or ventilation controls. With a wide detection range of up to 10,000 ppm, it is well-suited for monitoring environments where CO₂ can accumulate to significant levels, such as fermentation chambers or mushroom cultivation tents.

Simple Threshold Alarm for High-CO₂ Events

The CO2 detection module's core feature is its function as a simple comparator. By adjusting the onboard potentiometer, a user can define the exact CO₂ level that triggers an alert. When this threshold is crossed, the digital output (DO) pin changes state, providing an unambiguous "go/no-go" signal. This allows for the creation of simple logic-based systems (e.g., IF CO₂ level is high, THEN activate relay) without needing complex code to interpret analog data.


Wide Detection Range for Specialized Environments

Engineered to perform in environments far beyond typical room air, this sensor can detect CO₂ concentrations up to 10,000 ppm. This capability makes it a practical tool for specific applications where high CO₂ is a key process variable. It enables reliable monitoring for projects such as triggering ventilation in a mushroom farm, creating a safety alert for wine or beer fermentation vessels, or monitoring small-scale bioreactors.


Flexible Dual Analog & Digital Outputs

The CO₂ detection sensor provides both analog and digital outputs for enhanced flexibility.

  • Digital Output: Ideal for simple, immediate alarm systems. This signal can directly drive a relay, buzzer, or indicator LED, serving as a reliable trigger.
  • Analog Output: For more advanced applications, the analog output provides a voltage that correlates to the CO₂ concentration. This allows for data logging to observe trends over time. Note that electrochemical sensors require a stable temperature and humidity environment for best results and are better suited for observing relative changes rather than providing precise, calibrated ppm measurements.

  • 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

  • Fermentation Process Control: Monitor CO2 levels in brewing or other fermentation processes to trigger ventilation when concentrations become too high.
  • Mushroom Cultivation: Ensure optimal growing conditions by alerting when CO2 levels exceed the desired threshold.
  • Basic Air Quality Alerts: A simple solution to detect poor ventilation in enclosed spaces like garages or basements.
  • Specification

  • Operating Voltage: 5V
  • Interface: Gravity Analog
  • Outputs: 1x Analog, 1x Digital
  • Onboard Circuitry: Heating Circuit, Signal Amplifier
  • PCB Process: Immersion Gold
  • Dimensions: 32x42mm (1.26x1.65")
  • Shipping List

  • Gravity: Analog Electrochemical CO2 Sensor (0-10000 ppm) x1
  • Resource

    AllProjectsBlogTutorialCourseMedia
    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
    How Electrochemical Gas Sensors Work and Key Parameters for Gas Detection

    Blog How Electrochemical Gas Sensors Work and Key Parameters for Gas Detection

    DFRobot
    Aug 10, 2023
    How To Build A Robot - Lesson 6: Build An Arduino Robot That Can Monitor CO2 Density

    Blog How To Build A Robot - Lesson 6: Build An Arduino Robot That Can Monitor CO2 Density

    DFRobot
    Dec 21, 2016
    DFRobot's Gravity Sensors Enhance Data Collection in SAGA Underwater Habitat (UHAB)

    Media DFRobot's Gravity Sensors Enhance Data Collection in SAGA Underwater Habitat (UHAB)

    portrait
    PR Newswire
    Oct 24, 2023

    FAQ

    Explore More Related Questions >

    Gravity: Analog Electrochemical CO2 Sensor for Arduino (0-10000 ppm)
    $0.00