Skip to main content

Worldwide Shipping · Secure Payments

AI Summary

The DFRobot Gravity SGP40 is a compact VOC sensor that outputs a calibrated air quality index via I2C or UART. Its humidity compensation and fast response make it ideal for continuous indoor air monitoring.

Key Highlights

  • Sensirion SGP40 VOC sensor with on-chip humidity compensation
  • Direct VOC index output, no calibration required
  • Low power draw of only 2.6 mA
  • Fast 2-second response time for real-time monitoring
  • Gravity I2C/UART interface for quick connection
  • Compact 22 x 20 mm board for space-constrained builds

Ideal For

  • Makers building indoor air quality monitors
  • HVAC enthusiasts automating ventilation
  • Product developers integrating VOC sensing
  • Smart home hobbyists adding air quality triggers
  • Educators demonstrating environmental sensing

Buying Tip

Pair this sensor with a microcontroller that supports I2C or UART, and use DFRobot's C or Python libraries to quickly read the VOC index.

Elecvora expert review

Our verdict

The DFRobot Gravity SGP40 offers a hassle-free way to add VOC sensing to indoor projects. Its calibrated output and humidity compensation reduce setup complexity, while the Gravity interface ensures quick wiring.

AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.

Pros

  • No calibration required thanks to Sensirion's VOC algorithm
  • Low power consumption suitable for continuous use
  • Fast response time for real-time monitoring
  • Compact size and easy-to-use Gravity connector
  • C and Python libraries provided for rapid development

Cons

  • Requires a microcontroller with I2C or UART, not standalone
  • VOC index is relative and may need interpretation for specific applications
  • No enclosure included, exposed pins require careful handling

Best for

Indoor air quality monitoring and demand-controlled ventilation projects

Not ideal for

Outdoor air quality monitoring or applications requiring absolute VOC concentration

Specifications

Operating Voltage (V)3.3 to 5
Current consumption2.6
Response Time(s)2S
Operating Temperature (°C)-10 to 50
Operating humidity0-100%RH
Length (mm)22
Width (mm)20
Shipping Weight0.02 kg
Shipping Dimensions6 × 4 × 2 cm

What's in the box

  • 1 x Gravity: SGP40 Air Quality Sensor
  • 1 x Gravity-4P I2C/UART Sensor Cable

Frequently Asked Questions

What is the VOC index and how is it used?
The VOC index is a relative measure of indoor air quality, where 100 represents average air quality. Values above 100 indicate deteriorating air quality, and below 100 indicate improvement. It can be used directly to trigger ventilation or alerts.
Does the sensor require calibration?
No, the sensor uses Sensirion's VOC algorithm to output a calibrated index without any user calibration.
What voltage does the sensor operate at?
The sensor operates from 3.3 V to 5 V, making it compatible with most microcontrollers.
What is included in the package?
The package includes one Gravity SGP40 Air Quality Sensor and one Gravity-4P I2C/UART sensor cable.
Can I use this sensor outdoors?
The sensor is designed for indoor air quality monitoring. Its operating temperature range is -10 to 50 °C and humidity range is 0-100%RH, but outdoor use may expose it to conditions beyond typical indoor environments.
How do I connect the sensor to my Arduino board?
Use the included Gravity cable to connect the sensor to your Arduino's I2C port. DFRobot provides a C library for Arduino to simplify reading the VOC index.

Overview

The DFRobot Gravity SGP40 Air Quality Sensor is a ready-to-use volatile organic compound (VOC) sensing module built around the Sensirion SGP40 digital sensor. It provides a complete sensor system on a single chip, including a temperature-controlled micro-hotplate and humidity-compensated indoor air quality signal. Thanks to Sensirion's powerful VOC algorithm, the sensor outputs a direct air quality index that can be used without any calibration. The Gravity interface allows simple connection via I2C or UART, making it suitable for indoor projects that require long-term continuous monitoring, such as air purifiers, kitchen hoods, demand-controlled ventilation, thermostats, and general indoor air quality monitoring.

Key Features

  • Humidity-compensated VOC index: Built-in compensation ensures accurate readings across varying humidity levels.
  • No calibration needed: The onboard VOC algorithm converts the raw signal into a usable air quality index directly.
  • Low power consumption: Draws only 2.6 mA, ideal for always-on applications.
  • Fast response time: Responds to changes in air quality within 2 seconds.
  • Compact size: Measures just 22 mm by 20 mm, fitting easily into tight enclosures.
  • Gravity interface: Standard 4-pin connector for I2C or UART, reducing wiring complexity.

Specifications Explained

Operating voltage (3.3 to 5 V): The sensor is compatible with both 3.3 V and 5 V logic systems, making it versatile for a wide range of microcontrollers.

Current consumption (2.6 mA): This low current draw means the sensor can be powered continuously without significantly impacting battery life or power budgets.

Response time (2 s): A fast response ensures that changes in air quality are detected quickly, enabling timely reactions in control systems.

Operating temperature (-10 to 50 °C) and humidity (0-100%RH): The sensor operates reliably in typical indoor environments, from cold rooms to humid spaces.

Dimensions (22 x 20 mm): The compact footprint allows integration into small devices or retrofits.

Compatibility and Requirements

The Gravity SGP40 sensor connects via I2C or UART using the included Gravity-4P sensor cable. It requires a main controller that supports one of these interfaces. DFRobot provides C and Python libraries for use with different main controllers, simplifying software integration. The sensor operates on 3.3 V to 5 V, so it can be used with most common development boards.

Typical Uses

  • Air purifiers that adjust fan speed based on VOC levels
  • Kitchen hoods that activate automatically when cooking fumes are detected
  • Demand-controlled ventilation systems for energy-efficient air exchange
  • Thermostats that incorporate air quality monitoring
  • Indoor air quality monitoring stations for homes, offices, or classrooms

What's in the Box

  • 1 x Gravity: SGP40 Air Quality Sensor
  • 1 x Gravity-4P I2C/UART Sensor Cable

Quick specs

Operating Voltage (V)
3.3 to 5
Current consumption
2.6
Response Time(s)
2S
Operating Temperature (°C)
-10 to 50
Operating humidity
0-100%RH
Length (mm)
22
See all specifications