/SparkFun_SCD4x_Arduino_Library

An Arduino library for the Sensirion SCD4x (SCD40 and SCD41) family of CO2 sensors

Primary LanguageC++OtherNOASSERTION

SparkFun SCD4x CO2 Sensor Library

SCD40 SCD41
SparkFun CO₂ Humidity and Temperature Sensor - SCD40 (Qwiic) SparkFun CO₂ Humidity and Temperature Sensor - SCD41 (Qwiic)

The SCD4x is Sensirion's next generation miniature CO2 sensor. This sensor builds on the photoacoustic sensing principle and Sensirion's patented PAsens® and CMOSens® technology to offer high accuracy at an unmatched price and smallest form factor. On-chip signal compensation is realized with the built-in SHT4x humidity and temperature sensor.

We've written this Arduino library to make reading the CO2, humidity, and temperature very easy. It can be downloaded through the Arduino Library manager: search for 'SparkFun SCD4x'.

Library written by Paul Clark, based on the SCD30 library by Nathan Seidle (SparkFun).

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

License Information

This product is open source!

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.