DFRobot
Gravity: SGP40 Air Quality Sensor
The Gravity SGP40 Air Quality Sensor uses Sensirion's SGP40 digital VOC sensor chip with built-in temperature and humidity compensation. It outputs a VOC ind...
Get notified when back in stock
The Gravity SGP40 Air Quality Sensor uses Sensirion's SGP40 digital VOC sensor chip with built-in temperature and humidity compensation. It outputs a VOC index (0–500) that can be used directly to evaluate indoor air quality without calibration. The Gravity interface provides plug-and-play connectivity to DFRobot controllers and other I2C-compatible boards.
With ultra-low power consumption and a fast 2-second response time, this sensor is well suited for long-running indoor installations such as air purifiers, kitchen hoods, and ventilation control systems. C and Python libraries are available.
Key Features
- SGP40 VOC Sensor – Sensirion CMOSens technology with micro-hotplate
- No Calibration Required – Built-in temperature and humidity compensation
- VOC Index Output – 0–500 scale for direct air quality indication
- Ultra-Low Power – 2.6 mA operating current
- Fast Response – 2-second response time, 10-second preheat
- Gravity Interface – I2C connection with standard Gravity cable
Ideal For
- Air purifiers and kitchen hoods
- Demand-controlled ventilation
- Thermostats and HVAC systems
- Indoor air quality monitoring
Specifications
- Power Supply – 3.3–5 V
- Operating Current – 2.6 mA
- Preheat Time – 10 s
- Response Time – 2 s
- Interface – I2C (address 0x59)
- VOC Index Range – 0–500
- Measuring Range – 0–1000 ppm (ethanol equivalent)
- Operating Temperature – -10°C to 50°C
- Operating Humidity – 0–90% RH
- Dimensions – 20 × 22 mm
Package Contents
- 1× Gravity SGP40 Air Quality Sensor
- 1× Gravity 4-Pin I2C/UART Sensor Cable
Jargon buster
Plain-language definitions for the technical terms used above.
- CMOSens
- CMOSens is Sensirion’s integrated sensor technology that combines sensing elements and electronics in one package. It matters because it affects how the sensor measures temperature and humidity and how it is supported by the manufacturer’s libraries and datasheets.
- Gravity
- Gravity is DFRobot’s plug-in connector system for sensors, motors and modules, using standard cables to reduce loose jumper wiring. It matters because Gravity-compatible parts can connect directly to these ports, while non-Gravity parts may need adapters or manual wiring.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- ppm
- ppm means parts per million, a common way to express very small gas concentrations in air. For CO₂ sensors, the ppm range tells you what levels the sensor can measure, such as normal indoor air through to poorly ventilated spaces.
- UART
- UART is a simple asynchronous serial interface that sends data over separate transmit and receive wires, usually labelled TX and RX, with both ends set to the same baud rate. It is a common way for microcontrollers and other serial devices to exchange data.
- VOC
- Volatile organic compounds are gases released from things like paints, cleaners, smoke, and some plastics. A VOC reading helps indicate indoor air quality, but it is usually an index or estimate rather than a direct identification of each chemical.
Find this product in
Brands
Supplier page — dfrobot.com
Supplier Description · 656.4 KB · Click any page to view full size
SEN0394 sgp40 air quality sensor schematics V1.0
Schematic · 980.7 KB · Click any page to view full size
SEN0394 sgp40 air quality sensor datasheet V1.0
Datasheet · 935.9 KB · Click any page to view full size
Source Code
Open-source libraries, firmware & example projects for this product
7fa498f
over 2 years ago
· 37 commits
- examples Update getVocIndex.ino almost 3 years ago
- Python Update README_CN.md over 4 years ago
- resources Modify the specification almost 5 years ago
- src fix wait measure 300 to 320 about 4 years ago
- keywords.txt 1st over 5 years ago
- library.properties Translation of the demo about 4 years ago
- LICENCE 1st over 5 years ago
- README.md Update README.md almost 3 years ago
- README_CN.md Update README_CN.md over 2 years ago
Related Tutorials
Free guides on learn.littlebird.com.au