SCD40-D-R2
AI

## Overview of the SCD40-D-R2
The **SCD40-D-R2** is a high-precision, miniature CO2 sensor manufactured by Sensirion. It belongs to the SCD4x series and utilizes the **photoacoustic sensing principle**, allowing for a significant reduction in size without compromising sensitivity.
---
### 1. Key Technical Specifications
| Feature | Specification |
| :--- | :--- |
| **Sensing Technology** | Photoacoustic NDIR |
| **CO2 Measurement Range** | 400 – 2,000 ppm (up to 40,000 ppm) |
| **Accuracy** | ±(50 ppm + 5% of reading) |
| **Supply Voltage (VDD)** | 2.4 V – 5.5 V |
| **Average Current Consumption** | 3.2 mA (at 5 min measurement interval) |
| **Peak Current** | 205 mA |
| **Digital Interface** | I2C (Address 0x62) |
| **Integrated Sensors** | Temperature and Humidity |
---
### 2. Physical and Pin Configuration
The sensor is housed in a compact SMD (Surface Mount Device) package, measuring only **10.1 x 10.1 x 6.5 mm³**.
#### Pinout Description
| Pin Number | Name | Type | Description |
| :--- | :--- | :--- | :--- |
| 1 | VDD | Power | Supply voltage (2.4V - 5.5V) |
| 2 | GND | Ground | Device ground |
| 3 | SCL | Input | I2C Serial Clock (Max 400 kHz) |
| 4 | SDA | I/O | I2C Serial Data |
| 5-20 | NC | - | No Connect / Reserved |
---
### 3. Core Working Principle: Photoacoustic Sensing
Unlike traditional NDIR (Non-Dispersive Infrared) sensors that require a long optical path, the SCD40 uses the photoacoustic effect:
1. **Infrared Light Emitter:** A narrow-band IR light is pulsed into the small measurement cell.
2. **Absorption:** CO2 molecules absorb the IR light, causing them to vibrate and heat up.
3. **Pressure Waves:** This periodic heating creates pressure changes (acoustic waves).
4. **Microphone Detection:** An integrated MEMS microphone detects these sound waves. The intensity of the sound is directly proportional to the CO2 concentration.
---
### 4. Application Circuit (Example)
To integrate the SCD40 into a microcontroller project (like Arduino or ESP32), follow this basic wiring logic:
```cpp
// Typical I2C connection for SCD40
// VDD -> 3.3V or 5V
// GND -> GND
// SCL -> SCL (with 4.7k - 10k Pull-up resistor)
// SDA -> SDA (with 4.7k - 10k Pull-up resistor)
#include
#include
SensirionI2CScd4x scd4x;
void setup() {
Wire.begin();
scd4x.begin(Wire);
scd4x.startPeriodicMeasurement();
}
```
---
### 5. Design Considerations
* **Power Supply:** Because the sensor has a high peak current (205 mA) during the measurement pulse, ensure your power supply and decoupling capacitors can handle sudden surges.
* **Thermal Decoupling:** Place the sensor away from heat sources (CPUs, power regulators) to ensure the integrated temperature and humidity readings are accurate.
* **Pressure Compensation:** The SCD40 allows for ambient pressure compensation via I2C commands to maintain accuracy at different altitudes.
- ⤷
What are the main differences between the SCD40 and the SCD41 models?
- ⤷ How does ambient pressure affect the CO2 readings in photoacoustic sensors?
- ⤷ What is the recommended calibration frequency for the SCD40?