Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use NDIR C8 CO2: Examples, Pinouts, and Specs

Image of NDIR C8 CO2
Cirkit Designer LogoDesign with NDIR C8 CO2 in Cirkit Designer

Introduction

The NDIR C8 is a non-dispersive infrared (NDIR) sensor designed for measuring carbon dioxide (CO2) concentrations in various environments. It operates by detecting the specific infrared wavelengths absorbed by CO2 molecules, ensuring accurate and reliable readings. This sensor is widely used in applications such as air quality monitoring, HVAC systems, industrial safety, and greenhouse management. Its robust design and high sensitivity make it suitable for both indoor and outdoor environments.

Explore Projects Built with NDIR C8 CO2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Pro Mini Based CO2 Monitoring System with LoRa Wireless Transmission
Image of Caboma : A project utilizing NDIR C8 CO2 in a practical application
This circuit is designed for CO2 monitoring and wireless data transmission. It uses an Arduino Pro Mini to read CO2 levels from a SenseAir S8 CO2 sensor and transmit the data via a LoRa Ra-02 SX1278 module. A step-up boost power converter is used to adjust the voltage for the Arduino and sensor, powered by an 18650 battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based IoT Indoor Air Quality Monitoring System with OLED Display and RGB LED
Image of air quality: A project utilizing NDIR C8 CO2 in a practical application
This IoT indoor air quality monitoring circuit uses an ESP32 microcontroller to read data from a DHT22 temperature and humidity sensor, an MQ-7 carbon monoxide sensor, and a PM2.5 air quality sensor. The collected data is displayed on a 128x64 OLED display, and an RGB LED and PWM fan are controlled based on the air quality readings to indicate and manage air quality levels.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266-Controlled CO2 Monitoring System with Multi-Color LED Indicators and Buzzer Alarm
Image of Copy of PROYECTO MICA MONITOREO INALAMBRICO DE LA CALIDAD DEL AIRE: A project utilizing NDIR C8 CO2 in a practical application
This circuit is designed to monitor CO2 levels in an environment using a SenseAir S8 CO2 sensor, with an ESP-8266 microcontroller handling data processing and communication. The ESP-8266 controls three LEDs (red, yellow, green) and a buzzer as indicators of CO2 concentration levels, and it is programmed to send CO2 data to a ThingSpeak server for remote monitoring. A push switch is connected to the reset pin of the ESP-8266 for manual resetting of the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based CO Sensor with OLED Display
Image of ESP32-ME2-CO: A project utilizing NDIR C8 CO2 in a practical application
This circuit features an ESP32 microcontroller interfaced with a 0.96" OLED display and an ME2-CO carbon monoxide sensor. The ESP32 reads data from the CO sensor and displays the information on the OLED screen, providing a compact solution for monitoring CO levels.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with NDIR C8 CO2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Caboma : A project utilizing NDIR C8 CO2 in a practical application
Arduino Pro Mini Based CO2 Monitoring System with LoRa Wireless Transmission
This circuit is designed for CO2 monitoring and wireless data transmission. It uses an Arduino Pro Mini to read CO2 levels from a SenseAir S8 CO2 sensor and transmit the data via a LoRa Ra-02 SX1278 module. A step-up boost power converter is used to adjust the voltage for the Arduino and sensor, powered by an 18650 battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of air quality: A project utilizing NDIR C8 CO2 in a practical application
ESP32-Based IoT Indoor Air Quality Monitoring System with OLED Display and RGB LED
This IoT indoor air quality monitoring circuit uses an ESP32 microcontroller to read data from a DHT22 temperature and humidity sensor, an MQ-7 carbon monoxide sensor, and a PM2.5 air quality sensor. The collected data is displayed on a 128x64 OLED display, and an RGB LED and PWM fan are controlled based on the air quality readings to indicate and manage air quality levels.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of PROYECTO MICA MONITOREO INALAMBRICO DE LA CALIDAD DEL AIRE: A project utilizing NDIR C8 CO2 in a practical application
ESP8266-Controlled CO2 Monitoring System with Multi-Color LED Indicators and Buzzer Alarm
This circuit is designed to monitor CO2 levels in an environment using a SenseAir S8 CO2 sensor, with an ESP-8266 microcontroller handling data processing and communication. The ESP-8266 controls three LEDs (red, yellow, green) and a buzzer as indicators of CO2 concentration levels, and it is programmed to send CO2 data to a ThingSpeak server for remote monitoring. A push switch is connected to the reset pin of the ESP-8266 for manual resetting of the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32-ME2-CO: A project utilizing NDIR C8 CO2 in a practical application
ESP32-Based CO Sensor with OLED Display
This circuit features an ESP32 microcontroller interfaced with a 0.96" OLED display and an ME2-CO carbon monoxide sensor. The ESP32 reads data from the CO sensor and displays the information on the OLED screen, providing a compact solution for monitoring CO levels.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Below are the key technical details and pin configuration for the NDIR C8 CO2 sensor:

Key Technical Details

Parameter Value
Measurement Range 0 - 5000 ppm (parts per million)
Accuracy ±50 ppm or ±3% of reading
Operating Voltage 4.5V - 5.5V
Operating Current < 50 mA
Communication Interface UART (TTL level)
Warm-Up Time < 3 minutes
Operating Temperature -10°C to 50°C
Operating Humidity 0% - 95% RH (non-condensing)
Dimensions 33 mm x 20 mm x 9 mm

Pin Configuration

Pin Number Pin Name Description
1 VCC Power supply input (4.5V - 5.5V)
2 GND Ground connection
3 TXD UART Transmit pin (data output)
4 RXD UART Receive pin (data input)

Usage Instructions

How to Use the NDIR C8 in a Circuit

  1. Power Supply: Connect the VCC pin to a 5V power source and the GND pin to the ground of your circuit.
  2. UART Communication: Use the TXD and RXD pins to establish UART communication with a microcontroller or computer. Ensure the UART voltage levels are compatible (TTL level).
  3. Warm-Up Time: Allow the sensor to warm up for at least 3 minutes after powering it on to ensure accurate readings.
  4. Data Reading: The sensor outputs CO2 concentration data via the TXD pin. Use a microcontroller to read and process this data.

Important Considerations and Best Practices

  • Ventilation: Ensure proper airflow around the sensor for accurate CO2 measurements.
  • Avoid Condensation: Operate the sensor in non-condensing environments to prevent damage.
  • Calibration: Periodically calibrate the sensor for long-term accuracy, especially in environments with fluctuating CO2 levels.
  • Power Stability: Use a stable power supply to avoid measurement errors caused by voltage fluctuations.

Example: Connecting to an Arduino UNO

Below is an example of how to connect and use the NDIR C8 CO2 sensor with an Arduino UNO:

Wiring Diagram

NDIR C8 Pin Arduino UNO Pin
VCC 5V
GND GND
TXD RX (Pin 0)
RXD TX (Pin 1)

Arduino Code

#include <SoftwareSerial.h>

// Define RX and TX pins for SoftwareSerial
SoftwareSerial mySerial(10, 11); // RX = Pin 10, TX = Pin 11

void setup() {
  Serial.begin(9600); // Initialize Serial Monitor
  mySerial.begin(9600); // Initialize SoftwareSerial for NDIR C8

  Serial.println("NDIR C8 CO2 Sensor Initialized");
}

void loop() {
  if (mySerial.available()) {
    // Read data from the sensor
    String co2Data = "";
    while (mySerial.available()) {
      char c = mySerial.read();
      co2Data += c;
    }

    // Print the received CO2 data to the Serial Monitor
    Serial.println("CO2 Concentration: " + co2Data + " ppm");
  }

  delay(1000); // Wait 1 second before the next reading
}

Notes:

  • Use SoftwareSerial if the Arduino's hardware UART pins (0 and 1) are already in use.
  • Ensure the sensor's UART baud rate matches the Arduino's baud rate (default is 9600).

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Data Output:

    • Cause: Incorrect wiring or baud rate mismatch.
    • Solution: Double-check the connections and ensure the UART baud rate is set to 9600.
  2. Inaccurate Readings:

    • Cause: Insufficient warm-up time or poor ventilation.
    • Solution: Allow the sensor to warm up for at least 3 minutes and ensure proper airflow.
  3. Sensor Not Responding:

    • Cause: Power supply issues or damaged sensor.
    • Solution: Verify the power supply voltage (4.5V - 5.5V) and check for physical damage.
  4. Interference from Other Devices:

    • Cause: Electrical noise from nearby components.
    • Solution: Use proper shielding and keep the sensor away from high-frequency devices.

FAQs

Q: Can the NDIR C8 measure CO2 concentrations above 5000 ppm?
A: No, the sensor's maximum measurement range is 5000 ppm. For higher concentrations, consider using a sensor with a wider range.

Q: How often should I calibrate the sensor?
A: Calibration frequency depends on the application. For critical applications, calibrate every 6-12 months.

Q: Can I use the NDIR C8 outdoors?
A: Yes, but ensure the sensor is protected from direct exposure to water and extreme temperatures.

Q: What is the lifespan of the NDIR C8 sensor?
A: The sensor typically has a lifespan of 5-10 years, depending on usage and environmental conditions.