This is an Arduino library for the SGP30 Air Quality Sensor
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
.gitattributes
ISSUE_TEMPLATE.md
LICENSE.md
README.md
keywords.txt
library.properties

README.md

SparkFun SGP30 Library

SparkX SGP30 Breakout (Qwiic) (SPX-14813)

SparkX SGP30 Breakout (Qwiic) (SPX-14813)

The SGP30 is an indoor air quality sensor equipped with an I2C interface. It outputs equivalent CO2 in ppm and Total Volatile Organic Compounds (TVOC) in ppb. The sensor also gives access to its raw measurement values of Ethanol and H2.

The SGP30 boasts high stability with low long term drift. With its continuous baseline compensation algorithm, readings stay accurate over time. You can even fine tune your readings by interfacing with an external humidity sensor to add humidity compensation. While the CCS811 requires a burn-in of 48 hours and a run-in of 20 minutes the SGP30 is ready to go after just 15 seconds.

SparkFun labored with love to create this code. Feel like supporting open source hardware? Buy a board from 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.