Robot Pi Shop

GY- SGP30 Air Quality Gas Sensor

$9.99

Shipping calculated at checkout.

Quantity

SGP30 Air Quality Sensor Module – TVOC & eCO2, I²C Interface

The SGP30 Air Quality Sensor Module is a compact digital gas sensor designed for monitoring indoor air quality by detecting volatile organic compounds (VOCs) and estimating equivalent carbon dioxide (eCO2) levels.

Powered by the Sensirion SGP30 multi-pixel metal-oxide (MOX) sensor, the module integrates multiple gas-sensing elements, signal processing, baseline calibration, and an I²C interface into a compact design.

It provides digital TVOC and eCO2 readings, making it suitable for air quality monitoring, smart home automation, environmental monitoring, and IoT applications.

The breakout board includes voltage regulation and logic-level shifting, allowing convenient integration with 3.3V and 5V microcontrollers.

Key Features

  • Sensor: Sensirion SGP30
  • Sensor Technology: Multi-Pixel Metal-Oxide (MOX)
  • Measurements: TVOC and eCO2
  • TVOC Measurement Range: 0–60,000ppb
  • eCO2 Output Range: 400–60,000ppm
  • Communication Interface: I²C
  • I²C Address: 0x58
  • Digital Output: Fully Processed Air Quality Readings
  • Calibration: Integrated Baseline Compensation
  • Humidity Compensation: Supported with External Humidity Data
  • Power Compatibility: 3.3V / 5V on the Regulated Breakout Board
  • Compact Design: Suitable for Embedded and Portable Applications

Technical Specifications

Parameter Specification
Sensor Model SGP30
Manufacturer Sensirion
Sensor Type Multi-Pixel Gas Sensor
Sensing Technology Metal-Oxide (MOX)
Measurement Outputs TVOC, eCO2
TVOC Output Range 0–60,000ppb
eCO2 Output Range 400–60,000ppm
Communication I²C
I²C Address 0x58
Sensor Supply Voltage 1.62–1.98V
Breakout Supply Voltage 3.3V / 5V (regulated version)
Typical Measurement Current Approx. 48mA at Sensor Supply
Measurement Update Interval 1 Second
Humidity Compensation Supported
Breakout Dimensions 17.9 × 17.9 × 2.9mm

Air Quality Measurements

TVOC – Total Volatile Organic Compounds

The SGP30 measures changes in gas concentration associated with volatile organic compounds commonly found in indoor environments.

Potential sources include:

  • Cleaning Products
  • Paints and Solvents
  • Air Fresheners
  • Adhesives
  • Household Chemicals
  • Furniture and Building Materials

TVOC readings are provided in parts per billion (ppb).

The sensor is useful for monitoring relative changes in indoor air quality over time.

eCO2 – Equivalent Carbon Dioxide

The SGP30 provides an estimated equivalent CO2 (eCO2) value based on its gas-sensing measurements and internal algorithms.

  • Output Range: 400–60,000ppm
  • Output Type: Calculated CO2 Equivalent

Important: The SGP30 does not directly measure carbon dioxide concentration. Its eCO2 value is an estimate derived from gas-sensing data.

For accurate CO2 concentration measurements, use a dedicated NDIR CO2 sensor.

Integrated Gas-Sensing Technology

The SGP30 combines multiple metal-oxide sensing elements with onboard signal processing.

Its internal electronics manage:

  • Sensor Heating
  • Gas Signal Acquisition
  • Baseline Tracking
  • TVOC Calculation
  • eCO2 Estimation
  • Digital I²C Communication

This reduces the processing required from the connected microcontroller.

Humidity Compensation

The SGP30 supports humidity compensation to improve measurement consistency.

An external humidity sensor can provide environmental humidity information to the SGP30 through the host microcontroller.

This feature helps compensate for the effects of humidity on gas measurements.

Note: The SGP30 does not contain an integrated ambient humidity sensor.

I²C Communication

The module communicates using the I²C digital interface.

Default I²C Address: 0x58

Typical breakout connections:

Pin Function
VIN 3.3V or 5V Power Input
GND Ground
SDA I²C Data
SCL I²C Clock

Pin labels may vary depending on the breakout board manufacturer.

The SGP30 does not require I²C clock stretching during normal communication.

Microcontroller Compatibility

The sensor can be used with:

  • Arduino UNO
  • Arduino Mega
  • ESP32
  • ESP8266
  • Raspberry Pi
  • STM32
  • Other I²C-Compatible Development Boards

For Raspberry Pi, the sensor connects through the GPIO I²C interface without requiring an external ADC.

Measurement & Calibration

The SGP30 includes internal baseline calibration functionality.

For reliable results:

  • Allow the sensor to stabilize after startup.
  • Maintain continuous measurements at the required interval.
  • Follow the manufacturer's baseline initialization and storage recommendations.
  • Use humidity compensation when accurate humidity information is available.
  • Avoid exposing the sensor to extreme chemical concentrations or condensation.

The sensor is best suited for indoor air quality trends and relative changes, rather than laboratory-grade gas concentration analysis.

Applications

Ideal for:

  • Indoor Air Quality Monitoring
  • Smart Home Systems
  • IoT Environmental Monitoring
  • Air Quality Dashboards
  • Smart Ventilation Systems
  • HVAC Monitoring
  • Office and Classroom Monitoring
  • Home Automation
  • Arduino Projects
  • ESP32 Projects
  • Raspberry Pi Projects
  • Environmental Data Logging
  • Educational Projects
  • University Projects
  • Embedded Sensor Systems

Advantages

  • Digital TVOC and eCO2 Readings
  • Compact Multi-Pixel Gas Sensor
  • Integrated Signal Processing
  • I²C Communication
  • Built-In Baseline Compensation
  • Optional Humidity Compensation
  • Compatible with Common Microcontrollers
  • No External ADC Required
  • Suitable for Continuous Air Quality Monitoring

Important Notes

  • The SGP30 provides estimated eCO2, not direct CO2 measurement.
  • TVOC values are algorithm-derived air quality estimates, not identification or precise quantification of individual gases.
  • Gas sensors require stabilization and can exhibit measurement variability.
  • The sensor should not be used as a certified safety detector for hazardous gas leaks.
  • The bare SGP30 IC operates at approximately 1.8V. Compatibility with 3.3V and 5V power supplies applies to breakout boards equipped with suitable regulation and level shifting.
  • An external humidity sensor is required for humidity compensation.
  • Detection performance can be affected by humidity, temperature, airflow, and environmental contamination.

Package Includes

1 × SGP30 TVOC & eCO2 Air Quality Sensor Module – I²C

Summary

The SGP30 Air Quality Sensor Module offers a convenient solution for adding digital air quality monitoring to Arduino, ESP32, Raspberry Pi, and other embedded projects.

With integrated TVOC sensing, estimated eCO2 output, I²C communication, and humidity compensation support, it is suitable for smart home, environmental monitoring, and educational applications.