lamaPLC project: Sension SCD CO² measurement module

SCD 30 Modul

The main distinction between these Sensirion sensors lies in their measurement technology, which affects their size and power use. The SCD30 employs conventional NDIR (Non-Dispersive Infrared) technology, whereas the SCD40/41 series utilises a more recent, compact Photoacoustic principle.

FeatureSCD30SCD40SCD41
TechnologyNDIR (Dual-Channel)PhotoacousticPhotoacoustic
Size35 x 23 x 7 mm10.1 x 10.1 x 6.5 mm10.1 x 10.1 x 6.5 mm
CO² Range0 – 40,000 ppm400 – 2,000 ppm400 – 5,000 ppm
Accuracy±(30 ppm + 3% MV)±(50 ppm + 5% MV)±(40 ppm + 5% MV)
Voltage3.3V – 5.5V2.4V – 5.5V2.4V – 5.5V
Power (avg)~19 mA~15 mA~0.5 mA (Low Power Mode)
InterfaceI²C (Address 0x61), UART, PWMI²CI²C
Operating Temperature0°C to 50°C

Key Differences

  • Form Factor: The SCD40/41 is approximately ten times smaller than the SCD30, making it well-suited for compact wearables or integrated smart home devices.
  • Precision vs Size: The SCD30 generally offers slightly better accuracy and stability over extended periods, thanks to its dual-channel NDIR design, which naturally compensates for sensor drift.
  • Power Efficiency: For battery-powered devices, the SCD41 is the preferred choice, featuring a “Single Shot” mode that significantly reduces power consumption compared to the SCD30 or SCD40.
  • Mounting: The SCD40/41 is an SMD (Surface-Mount Device) component suitable for reflow soldering and mass production. In contrast, the SCD30 is usually hand-soldered or connected via pins.

If you'd like to support the development of the site with the price of a coffee — or a few — please do so here.

Here's a handy tip: you can quickly save this page as a PDF by clicking “export to PDF” in the menu on the right side of the screen.

2026/02/14 22:38

SCD30

The SCD30 is a high-precision, 3-in-1 sensor module from Sensirion that measures Carbon Dioxide (CO²), Temperature, and Relative Humidity. It is considered a “true” CO² sensor because it uses Non-Dispersive Infrared (NDIR) technology to directly measure CO² molecules, rather than approximating levels from other gases.

Key Features & Technology

  • Dual-Channel Detection: It uses a dedicated reference channel to compensate for long-term drift, ensuring superior stability over its 15-year lifetime.
  • Integrated Compensation: The module uses its built-in temperature and humidity data to internally calibrate and normalise the CO2 readings.
  • Self-Calibration Options: Supports Automatic Self-Calibration (ASC), which resets the sensor's baseline when exposed to fresh air (~400 ppm) regularly, or Forced Recalibration (FRC) for manual setup.
  • Adjustable Sampling: While the default interval is 2 seconds, it can be set to 1-1800 seconds to reduce power consumption in battery-powered projects.

SCD30 Pinout

PinNameDescriptionLogic Level
1VDDSupply Voltage (3.3V – 5.5V)
2GNDGround
3TX / SCLModbus Transmit / I²C Clock3.0V (internal pull-up)
4RX / SDAModbus Receive / I²C Data3.0V (internal pull-up)
5RDYData Ready (High when new data is available)3.0V
6PWMPulse Width Modulation output3.0V
7SELInterface Select (Floating/GND = I²C; High = Modbus)< 4.0V

Key Wiring Notes

  • Internal Pull-ups: The module has internal 45 kΩ resistors connected to a 3V supply for the I²C lines.
  • Voltage Warning: The module can be powered with 5V, but the SCL/SDA logic pins operate at 3V. When using a 5V microcontroller like an Arduino Uno, a level shifter is strongly advised to prevent damage to the sensor.
  • Interface Selection: For I²C (the standard mode), leave the SEL pin floating or connect it to Ground. To use Modbus, connect the SEL pin to VDD via a voltage divider, ensuring the voltage does not exceed 4V.

SCD30 Arduino example code

To use the SCD30 with an Arduino, the SparkFun SCD30 Arduino Library and the Adafruit SCD30 Library are the most common choices.

#include <Wire.h>
#include "SparkFun_SCD30_Arduino_Library.h" //
 
SCD30 airSensor;
 
void setup() {
  Wire.begin();
  Serial.begin(9600);
 
  if (airSensor.begin() == false) {
    Serial.println("Sensor not detected. Check wiring!");
    while (1);
  }
  Serial.println("SCD30 detected!");
}
 
void loop() {
  if (airSensor.dataAvailable()) {
    Serial.print("CO2(ppm): ");
    Serial.print(airSensor.getCO2());
    Serial.print(" Temp(C): ");
    Serial.print(airSensor.getTemperature(), 1);
    Serial.print(" Humidity(%): ");
    Serial.println(airSensor.getHumidity(), 1);
  }
  delay(2000); // Sensor updates every 2 seconds by default
}

Communication topics on lamaPLC

PageDateTags
2025/11/10 18:53, , , , , , , , , , , , , , , , , , , , , , ,
2025/05/31 21:56, , , , , , ,
2025/05/31 22:51, , , , , , , ,
2025/11/19 21:52, , , , , , , , , , , , ,
2025/11/20 20:43, , , , , , , ,
2025/05/31 22:58, , , , , , , , , , , , , ,
2024/11/16 20:08, , , , , , , , , , , , , ,
2024/11/16 20:21, , , , , , , , ,
2024/11/16 19:43, , , , , , , , , , , , , ,
2024/11/16 00:16, , , , , ,
2024/11/17 00:26, , , , , , , , , , , , ,
2024/11/15 20:15, , , , , , , , , , ,
2025/09/23 21:03, , , , , , , , ,
2024/11/16 00:46, , , , ,
2025/05/31 22:50, , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2025/09/23 19:25, , , , , ,
2024/11/15 20:18, , , , , , , , , , ,
2026/03/05 15:43, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2024/11/15 20:21, , , , , , , , , , , ,
2025/11/19 21:42, , , , , , , , ,
2024/11/15 20:28, , , , , , , , , , , , , ,
2025/05/31 22:16, , , , , , ,
2024/11/16 01:26, , , , , , ,
2024/11/15 20:33, , , , , , , , , , , , , , ,
2024/11/15 21:15, , , , , , , ,
2024/11/16 19:09, , , , , , , , ,
2025/05/31 21:52, , , , , , , , , , , , , , , , , ,
2024/11/15 21:51, , , ,
2024/11/15 21:50, , , ,
2024/11/15 21:52, , , , ,
2024/11/17 00:33, , , ,
2024/11/16 20:44, , , , , , , , , ,
2024/11/15 21:58, , , , , , , ,
2025/11/20 21:49, , , , , , , , , , , , , , , , , , , , ,
2024/11/15 22:07, , , , , , , , , , ,
2025/02/11 20:21, , , , ,
2025/11/20 23:07, , , , , , , , , , ,
2024/11/16 18:46, , , , ,
2024/11/16 23:39, , , , , , , , , , , , ,
2024/11/15 23:36, , , , , , , , , , , , , , ,
2024/11/17 21:25, , , , ,
2024/11/17 21:43, , , , , , , , , , , , , , , , , , , , , , ,
2026/03/21 19:20, , , , , , ,
2026/03/05 15:40, , , , , , , ,
2026/02/14 22:24, , , , , , , , , , , , ,
2026/03/28 22:50, , , , , , ,
2026/02/15 20:40, , , , , , , , , , , , , ,
2026/02/14 22:48, , , , , ,
2026/02/14 23:37, , , , , , , , , , ,
2026/02/14 22:40, , , , , , , , , ,
2026/02/14 22:39, , , , , , , , , , ,
2026/02/14 23:39, , , , , , , , , , , , ,
2026/02/14 18:11, , , , , , , ,
2026/02/15 20:44, , , , , ,
2026/03/05 15:20, , , ,
2025/05/31 21:32, , , , , , , ,
2026/02/14 19:29, , , , , , , , , , , , , ,
2025/11/21 23:07, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2023/07/01 15:29, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/14 22:45, , , , , , , , ,
2026/02/14 22:09, , , , , , , , , , , , , , , ,
2026/02/14 21:54, , , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/15 23:59, , , , , , , , , , ,
2026/03/28 18:02, , , , , , , , , , , , , , , , , , ,
2026/02/14 23:58, , , , , , , , , , ,
2024/11/15 20:17, , , , , , , , , , , , , , ,
2026/02/14 17:27, , , , , , , , , ,
2026/02/14 23:35, , , , ,
2026/02/14 23:38, , , , , , ,
2026/02/14 22:52, , , , , , , ,
2026/02/15 20:20, , , , , , , , , , , , , , , , , ,
2026/02/14 22:23, , , , , , , ,
2024/11/15 20:39, , , , , , , , ,
2026/02/14 17:42, , , , , , ,
2024/11/18 17:55, , , , , , , ,
2023/06/24 22:42, , , , , , , , , ,
2023/06/19 21:24, , , , , , , , , , , , ,
2026/02/15 20:27, , , , , , , , , , , , , , , ,
2026/02/15 20:29, , , , , , , , , , , , , ,
2026/02/14 22:51, , , , , ,
2026/02/15 22:34, , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/14 22:22, , , , , , , , , , , , ,
2025/11/20 21:41, , , , , , ,
2023/06/24 22:43, , , , , ,
2026/02/14 22:21, , , , , , , , , , ,
2026/02/14 22:22, , , , , , , ,
2026/03/05 15:20, , , , , , , , , , ,
2024/08/18 14:52, , , , , , ,
2026/02/14 23:00, , , , , , , , ,
2026/03/05 20:19, , , , , , , , , , , , , , , , ,
2026/02/14 17:49, , , , , ,
2025/11/13 22:59, , , , , , , , , , , , , , , ,
2023/06/17 19:43, , , , ,
2023/06/01 11:45, , , , , , ,

This page has been accessed for: Today: 1, Until now: 25