Log in to unlock Raspberry Pi 5 for $60 (was $80) with $100+ in eligible purchases.
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—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 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'm a student or beginner on a tight budget, and I want to learn the basics of gas sensing or just build a simple high-CO₂ level alarm."
Best Choice: Gravity: Analog Electrochemical Carbon Dioxide / CO2 Sensor (0-10000 ppm)
Reasoning: This sensor offers the most affordable entry point into the world of CO₂ detection. While it requires a more hands-on calibration process (which is a great learning experience itself!), it's perfect for educational kits, science fair projects, or simple threshold-based alarms where absolute precision isn't the primary goal.
This table brings all the key information together to help you make your final decision.
Product Name
Gravity: I2C SCD41 Infrared Carbon Dioxide / CO2 Sensor (400 - 5000 ppm)
Gravity: PWM 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 Carbon Dioxide / CO2 Sensor (0-10000 ppm)
Figure
SKU
SEN0536
SEN0219
SEN0659
SEN0220
SEN0159
Core Technology
Photoacoustic
NDIR
NDIR
NDIR
Electrochemical
Measurement Range (ppm)
400 - 5000
400 - 5000
400 - 5000
0 - 50,000
0 - 10,000
Accuracy
±(40ppm + 5% MV)
±(50ppm+5% rdg)
±50ppm (to 2000ppm)
±(50ppm + 5% reading)
User Calibrated
Interface
I2C
PWM
RS485
UART
Analog
Avg. Current
< 4mA
< 40mA
< 10mA @12V
< 85mA
-
Key Features
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
Low Cost, Digital Threshold Output
Best For...
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.
Educational Projects, Simple Concentration Alarms, Budget-Sensitive Applications.
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: