Description The M5Stack TVOC/eCO2 Gas Sensor Unit (SGP30) is a compact digital gas sensor module for air quality monitoring. Built around the SGP30, it measures VOCs (Volatile Organic Compounds) and H2 in the air, then provides TVOC and eCO2 readings over I2C at address 0x58. The M5Stack TVOC/eCO2 Gas Sensor Unit (SGP30) is designed for stable long-term sensing with internally calibrated SGP30 output, on-chip humidity compensation support, and a compact HY2.0-4P interface. It is suitable for smart environment monitors, IoT devices, and embedded air quality projects that need TVOC and equivalent CO2 trend data. Note For precise results, calibrate against a known measurement source when required. eCO2 is calculated from H2 concentration and cannot fully replace a true CO2 sensor. Features TVOC and eCO2 concentration detection Integrated SGP30 digital multi-pixel gas sensor I2C communication at address 0x58 Stable readings with internal calibration support On-chip humidity compensation when paired with an external humidity sensor HY2.0-4P Grove interface 2 x LEGO-compatible mounting holes Specifications Measurement Range Ethanol: 0-1000ppm; H2: 0-1000ppm; TVOC: 0-60000ppb; eCO2: 400-60000ppm Sampling Rate TVOC and eCO2: 1Hz Sampling Accuracy TVOC: 1/6/32ppb; eCO2: 1/3/9/31ppm Communication Interface I2C @0x58 Humidity Compensation On-chip support with external humidity sensor input Housing Material Plastic (PC) Product Size 24.0 x 24.0 x 8.0mm Product Weight 3.2g Package Size 138.0 x 93.0 x 9.0mm Gross Weight 6.7g Applications Indoor air quality monitoring eCO2 concentration trend detection VOC monitoring for smart home and IoT devices Environmental sensing prototypes with M5Stack controllers Product List 1 x Unit Mini TVOC/eCO2 1 x HY2.0-4P Grove cable (5cm) Other Content PinMap HY2.0-4P Wire Function Black GND Red 5V Yellow SDA White SCL Resources Product documentation SGP30 datasheet Arduino example UIFlow1 example UiFlow2 documentation Home Assistant integration EasyLoader example FAQ What does this gas sensor measure? It measures VOCs and H2 in the air and reports TVOC plus eCO2 concentration data. Which interface does the sensor use? The unit communicates over I2C at address 0x58 through the HY2.0-4P Grove interface. Can it replace a dedicated CO2 sensor? No. The eCO2 value is an equivalent CO2 estimate based on H2 concentration, so it is best used for trend monitoring rather than as a direct CO2 measurement.