SGP30 air quality sensor
Metal-oxide sensor that reports TVOC and estimated CO2 (eCO2).
MeasuresTVOC and eCO2 (estimated)
InterfaceI2C
I2C address0x58
Supply voltage1.62 to 1.98 V (modules have a regulator)
SensorsReviewedMPN SGP30Used in 2 projects
In short
What is the SGP30 air quality sensor and what is it used for?
Metal-oxide sensor that reports TVOC and estimated CO2 (eCO2). Makers use it for indoor air quality.
How it works
Several heated metal-oxide sensing elements on one chip.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | TVOC and eCO2 (estimated) |
| Interface | I2C |
| I2C address | 0x58 |
| Supply voltage | 1.62 to 1.98 V (modules have a regulator) |
Pinout
VIN3.3 to 5 V on modules
GNDGround
SCLI2C clock
SDAI2C data
How to use it
Use the Adafruit SGP30 library and call measure every second. Save the baseline after 12 hours and restore it at start-up. eCO2 is estimated from VOCs and is not real CO2.
Applications
Indoor air quality
Builds that use it
Alternatives
- SGP40 VOC sensorNewer VOC index sensor
- SCD40 CO2 sensorReal CO2
Common questions
What is the SGP30 air quality sensor used for?
In maker projects: indoor air quality.
How does the SGP30 air quality sensor work?
Several heated metal-oxide sensing elements on one chip.
What voltage does the SGP30 air quality sensor need?
1.62 to 1.98 V (modules have a regulator).
How do I connect the SGP30 air quality sensor to an Arduino or ESP32?
I2C. Pins: VIN (3.3 to 5 V on modules), GND (Ground), SCL (I2C clock), SDA (I2C data).
What can I use instead of the SGP30 air quality sensor?
SGP40 VOC sensor and SCD40 CO2 sensor.
