

The 24CO2 is a carbon dioxide (CO2) sensor designed to measure the concentration of CO2 in the air. It is widely used in applications such as HVAC (Heating, Ventilation, and Air Conditioning) systems, indoor air quality monitoring, and environmental data collection. This sensor provides accurate and reliable measurements, making it an essential component for systems that require real-time CO2 monitoring.








The 24CO2 sensor is designed to operate efficiently in a variety of environments. Below are its key technical details:
| Parameter | Value |
|---|---|
| Measurement Range | 0 - 5000 ppm (parts per million) |
| Accuracy | ±50 ppm or ±3% of reading |
| Operating Voltage | 3.3V - 5V DC |
| Operating Current | < 50 mA |
| Output Signal | Analog voltage or UART (serial) |
| Warm-Up Time | < 2 minutes |
| Operating Temperature | -10°C to 50°C |
| Operating Humidity | 0% - 95% RH (non-condensing) |
| Dimensions | 35mm x 25mm x 10mm |
The 24CO2 sensor typically has a 4-pin interface. The pinout is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V - 5V DC) |
| 2 | GND | Ground connection |
| 3 | OUT | Analog output signal proportional to CO2 concentration |
| 4 | TX | UART serial data output |
Below is an example of how to connect and read data from the 24CO2 sensor using an Arduino UNO:
// 24CO2 Sensor Example Code for Arduino UNO
// This code reads the analog output from the sensor and calculates CO2 concentration.
const int sensorPin = A0; // Analog pin connected to the OUT pin of the 24CO2 sensor
float voltage; // Variable to store the sensor output voltage
float co2Concentration; // Variable to store the calculated CO2 concentration
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
pinMode(sensorPin, INPUT); // Set the sensor pin as input
}
void loop() {
// Read the analog voltage from the sensor
int sensorValue = analogRead(sensorPin);
// Convert the analog value to voltage (assuming 5V reference)
voltage = sensorValue * (5.0 / 1023.0);
// Convert the voltage to CO2 concentration (example formula, refer to datasheet)
co2Concentration = (voltage - 0.4) * 2000.0; // Adjust based on sensor specs
// Print the CO2 concentration to the Serial Monitor
Serial.print("CO2 Concentration: ");
Serial.print(co2Concentration);
Serial.println(" ppm");
delay(1000); // Wait for 1 second before the next reading
}
No Output Signal:
Inaccurate Readings:
UART Communication Issues:
Q: Can the 24CO2 sensor be used outdoors?
A: The sensor is designed for indoor use and should be protected from extreme weather conditions and condensation if used outdoors.
Q: How often should the sensor be calibrated?
A: Calibration frequency depends on the application, but it is generally recommended to calibrate the sensor every 6-12 months.
Q: What is the warm-up time for the sensor?
A: The sensor requires less than 2 minutes of warm-up time to provide accurate readings.
Q: Can the sensor detect gases other than CO2?
A: No, the 24CO2 sensor is specifically designed to measure CO2 concentration and is not suitable for detecting other gases.