SparkFun
SparkFun CO₂ Humidity and Temperature Sensor - SCD40 (Qwiic)
The SparkFun SCD40 breakout board measures CO₂ concentration, humidity, and temperature using Sensirion's PASens photoacoustic measurement technology. The se...
Get notified when back in stock
The SparkFun SCD40 breakout board measures CO₂ concentration, humidity, and temperature using Sensirion's PASens photoacoustic measurement technology. The sensor detects CO₂ from 0 to 40,000 ppm with high accuracy over the 400–2,000 ppm range, and includes an integrated CMOSens temperature and humidity sensor for improved readings.
The board connects via I2C through two Qwiic connectors or a standard 2.54 mm (0.1″) header. An automatic self-calibration routine adjusts accuracy over a seven-day period — Sensirion recommends at least one hour of fresh-air readings per day during calibration. The sensor also accepts ambient pressure input for additional accuracy compensation.
Key Features
- Sensirion SCD40 – Photoacoustic CO₂ sensor with integrated temperature and humidity
- CO₂ Range – 0–40,000 ppm
- CO₂ Accuracy – ±(50 ppm + 5% of reading) over 400–2,000 ppm
- Humidity – 0–100% RH, ±9% RH accuracy
- Temperature – −10 to +60°C, ±1.5°C accuracy
- I2C Interface – Address 0x62, dual Qwiic connectors + breakout header
- 2.4–5.5V Supply – 3.3V typical
- Low Power Modes – Normal: 18 mA typical, low power: 3.5 mA, single-shot: 0.5 mA
- Auto Self-Calibration – Seven-day calibration routine for optimal accuracy
Ideal For
- Indoor air quality monitoring
- HVAC and ventilation control systems
- Environmental sensing projects
- Smart building and classroom CO₂ tracking
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- Automatic Self-Calibration
- Automatic Self-Calibration is a built-in routine that adjusts the sensor over time to reduce drift in its readings. It matters for long-running indoor monitors because it can help keep measurements stable without frequent manual calibration.
- breakout
- A breakout board carries a small or fine-pitched component and brings its connections out to standard, breadboard- and header-friendly pins. Describing a part as a breakout means it can be wired into a project without soldering directly to the component's tiny contacts.
- CMOSens
- CMOSens is Sensirion’s integrated sensor technology that combines sensing elements and electronics in one package. It matters because it affects how the sensor measures temperature and humidity and how it is supported by the manufacturer’s libraries and datasheets.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- PASens
- PASens is Sensirion’s name for its photoacoustic sensing technology used in some CO2 sensors. Knowing this helps explain why the sensor uses light and a microphone internally rather than a simple chemical gas sensor.
- photoacoustic measurement
- Photoacoustic measurement detects gas by shining light into a sample and listening for tiny pressure waves created when the gas absorbs that light. In a CO2 sensor, this matters because it is the method used to estimate carbon dioxide concentration.
- ppm
- ppm means parts per million, a common way to express very small gas concentrations in air. For CO₂ sensors, the ppm range tells you what levels the sensor can measure, such as normal indoor air through to poorly ventilated spaces.
- Qwiic
- Qwiic is a plug-in connector system for I2C devices that uses small 4-pin cables, so you can connect compatible sensors without soldering. It matters because your controller or adapter also needs Qwiic, or you will need a cable or breakout to wire it up.
Find this product in
Brands
SparkFun Qwiic CO2 Sensor SCD40 Schematic
Schematic · 91.0 KB · Click any page to view full size
Sensirion SCD4x Datasheet
Datasheet · 937.6 KB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 731.3 KB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Source Code
Open-source libraries, firmware & example projects for this product
An Arduino library for the Sensirion SCD4x (SCD40 and SCD41) family of CO2 sensors
0721971
almost 3 years ago
· 29 commits
- .github Create add_issue_to_project.yml almost 3 years ago
- documents Initial commit - work in progress about 5 years ago
- examples Fix sensor determination. about 3 years ago
- src Fix sensor determination. about 3 years ago
- keywords.txt Fix sensor determination. about 3 years ago
- library.properties Fix sensor determination. about 3 years ago
- LICENSE.md Initial commit - work in progress about 5 years ago
- README.md Update README.md about 3 years ago
This repository implements a Python package for the SparkFun Qwiic SCD4X.
aedadef
over 1 year ago
· 14 commits
- .github Update doxygen deploy branch to master over 1 year ago
- docs Autogenerated. Convert PyPi packaging and add Readme Updates over 1 year ago
- examples Autogenerated: Fix example bullets/markdown links over 1 year ago
- .readthedocs.yml Initial commit over 1 year ago
- co2_sensor_testing.txt Autogenerated: Convert comments to doxygen and add doxygen configs over 1 year ago
- DESCRIPTION.rst Autogenerated: Bump version number to 2.0.0 over 1 year ago
- DOCUMENTATION.md Initial commit over 1 year ago
- LICENSE Initial commit over 1 year ago
- package.json Autogenerated: Bump version number to 2.0.0 over 1 year ago
- pyproject.toml Autogenerated: Bump version number to 2.0.0 over 1 year ago
- qwiic_scd4x.py Autogenerated: Convert comments to doxygen and add doxygen configs over 1 year ago
- README.md Autogenerated: Update supported boards. over 1 year ago
- requirements.txt Autogenerated: Add requirements.txt for circup packaging dependencies over 1 year ago
Qwiic breakout for the Sensirion SCD4x CO2 sensors.
cc7038a
over 1 year ago
· 17 commits
- .github Update mkdocs.yml about 3 years ago
- docs Adding Video and minor fixes about 3 years ago
- Documentation Added datasheet. about 3 years ago
- Firmware Initial commit about 3 years ago
- Hardware Update from pre-design review notes. about 3 years ago
- overrides Redirect/Header Files about 3 years ago
- Production Update from pre-design review notes. about 3 years ago
- site Adding Video and minor fixes about 3 years ago
- .gitattributes Initial commit about 3 years ago
- .gitignore Initial commit about 3 years ago
- CONTRIBUTING.md Initial commit about 3 years ago
- ISSUE_TEMPLATE.md Initial commit about 3 years ago
- LICENSE.md Initial commit about 3 years ago
- mkdocs.yml Update mkdocs.yml over 1 year ago
- README.md Update README.md about 3 years ago
Related Tutorials
Free guides on learn.littlebird.com.au