Whether you're building a smart home system, optimizing a greenhouse environment, or adding environmental awareness to your maker project, accurately measuring carbon dioxide (CO₂) is key to success. But with a wide array of CO₂ sensors on the market—NDIR, Photoacoustic (PAS), Electrochemical, and now Thermal Conductivity (TC)—which one is the right fit for your Arduino, ESP32, or Raspberry Pi project?
At DFRobot, we understand the importance of choosing the right hardware. This guide will break down the core technologies behind different CO₂ sensors, teach you how to read their key specifications, and provide a clear comparison matrix to help you quickly and confidently select the perfect CO₂ sensor for your next build.
The best way to choose a sensor is to start with the functionality you want to achieve. Let's see which scenario best fits your idea:
"I want to deploy sensors across multiple rooms or classrooms without breaking the bank. I need an affordable, easy-to-use module that still gives me comprehensive environmental data."
Best Choice: Gravity: STCC4 Carbon Dioxide (CO2) Sensor (3-in-1 Air Quality Monitoring, 400 ~ 5000ppm)
Reasoning: Utilizing Thermal Conductivity (TC) technology, the STCC4 dramatically reduces hardware costs while still delivering reliable 3-in-1 measurements (CO2, Temperature, and Humidity via an onboard SHT40). It includes integrated temperature and humidity compensation (via onboard SHT40) to ensure accurate CO2 readings, as TC technology requires environmental correction. Operating at under 1mA for continuous measurement and highly budget-friendly, it’s the ultimate choice for scalable smart home networks, building automation, and educational STEM projects.
"I want to build a desktop monitor to check the air quality in my home or office and get alerts when I need to open a window."
Best Choice: Gravity: PWM Infrared Carbon Dioxide / CO2 Sensor (400-5000 ppm)
Reasoning: This is the workhorse for IAQ applications. Its NDIR technology provides the accuracy and long-term stability needed for reliable room monitoring. The built-in automatic calibration means you can set it up and trust its readings for years. It's the perfect balance of performance and simplicity for any IAQ project.
"My project is a small, wireless sensor node that needs to run on batteries for as long as possible. Power consumption and size are my biggest concerns."
Best Choice: Gravity: I2C SCD41 Infrared Carbon Dioxide / CO2 Sensor (400 - 5000 ppm)
Reasoning: The SCD41 is an engineering marvel in efficiency. Its cutting-edge Photoacoustic technology allows for an incredibly low average current draw (<4mA) and a tiny footprint. It also includes high-accuracy temperature and humidity sensors, giving you a 3-in-1 environmental powerhouse that's perfect for any power-conscious or space-constrained project.
"I'm building a system to monitor a greenhouse, mushroom farm, or fermentation process where CO₂ levels can get very high."
Best Choice: Gravity: UART Infrared Carbon Dioxide / CO2 Sensor (0-50000 ppm)
Reasoning: Standard IAQ sensors top out around 5,000 ppm. For scientific or agricultural applications, you need a much wider range. This sensor's massive 0-50,000 ppm detection capability makes it the ideal tool for environments where CO₂ is a controlled variable, not just an air quality metric.
"I need to integrate a sensor into a professional HVAC system or deploy it in a dusty, humid factory or farm. It needs to be tough and communicate over long distances."
Best Choice: Industrial RS485 Infrared CO2 Sensor for Air Quality Monitor (IP65, NDIR, 400-5000ppm)
Reasoning: This sensor is built for professional use. Its IP65-rated housing protects it from dust and water. More importantly, it uses the RS485 interface with the Modbus-RTU protocol—the industry standard for reliable, long-distance communication with PLCs and other control systems. It's the only choice for mission-critical and rugged deployments.
"I need a simple way to trigger an action—like activating a fan or a warning light—when CO₂ levels cross a certain point. I don't need a precise ppm reading, just a 'go/no-go' signal for my mushroom farm or fermentation setup."
Best Choice: Gravity: Analog Electrochemical Carbon Dioxide / CO2 Sensor (0-10000 ppm)
Reasoning: This sensor provides a straightforward solution for threshold-based control systems. Use the onboard potentiometer to set a specific trigger point. When CO₂ exceeds this level, it provides a direct digital signal for activating a relay, buzzer, or fan.
Note: Electrochemical sensors typically require recalibration every 12-24 months and have a shorter lifespan (1-2 years) compared to NDIR sensors. Best suited for short-term projects or applications where periodic sensor replacement is acceptable.
This table brings all the key information together to help you make your final decision.
Product Name
Gravity: STCC4 Carbon Dioxide (CO2) Sensor (3-in-1 Air Quality Monitoring, 400 ~ 5000ppm)
Gravity: I2C SCD41 Infrared Carbon Dioxide / CO2 Sensor (400 - 5000 ppm)
Gravity: PWM NDIR Infrared Carbon Dioxide / CO2 Sensor (400-5000 ppm)
Industrial RS485 Infrared CO2 Sensor for Air Quality Monitor (IP65, NDIR, 400-5000ppm)
Gravity: UART Infrared Carbon Dioxide / CO2 Sensor (0-50000 ppm)
Gravity: Analog Electrochemical CO2 Sensor for Arduino (0-10000 ppm)
Figure






SKU
SEN0678
SEN0536
SEN0219
SEN0659
SEN0220
SEN0159
Core Technology
Thermal Conductivity
Photoacoustic
NDIR
NDIR
NDIR
Electrochemical
Measurement Range (ppm)
400 - 5000
400 - 5000
400 - 5000
400 - 5000
0 - 50,000
0 - 10,000
Accuracy
±(100ppm + 10% rdg)
±(40ppm + 5% rdg)
±(50ppm+5% rdg)
±50ppm (to 2000ppm)
±(50ppm + 5% reading)
User Calibrated
Interface
I2C
I2C
PWM
RS485
UART
Analog
Avg. Current
< 1mA (950 μA)
< 4mA
< 40mA
< 10mA @12V
< 85mA
< 50mA
Key Features
3-in-1 (Auto-compensation), Ultra-Cost-Effective
3-in-1, Tiny Size, Ultra-Low Power
Auto-Calibration, Waterproof & Anti-corrosion
Industrial Grade, IP65 Rated, Modbus Protocol
Wide Measurement Range, >5 Year Lifespan
Analog & Digital Threshold Output
Best For...
Multi-node IoT networks, STEM Education, Budget Builds.
Battery-Powered IoT Nodes, Portable Devices, High-End IAQ Projects.
General Indoor Air Quality (IAQ) Monitoring, Arduino/ESP32 Projects.
Harsh Environments: Greenhouses, Pipelines, Industrial Monitoring, Outdoor Use.
Agriculture (Greenhouses), Fermentation Monitoring, High-Concentration Industrial Environments.
For Simple, Threshold-Based CO₂ Alarms
Add to Cart
Add to Cart
Add to Cart
Add to Cart
Add to Cart
Add to Cart
Add to Cart
DFRobot CO2 sensors are compatible with mainstream open-source hardware platforms like Arduino, ESP32, and Raspberry Pi. For each product, we provide:
We hope this in-depth guide has made your selection process clear and simple. To summarize: