

The SGP41 Breakout (Manufacturer Part ID: 6455) by Adafruit is a compact and user-friendly circuit board designed to interface with the SGP41 gas sensor. This sensor specializes in detecting air quality parameters, including Total Volatile Organic Compounds (TVOCs) and equivalent CO2 (eCO2) levels. The breakout board simplifies integration by including essential components for power regulation and signal conditioning, making it ideal for both hobbyists and professionals.








| Parameter | Value |
|---|---|
| Sensor Type | Gas sensor for TVOC and eCO2 |
| Operating Voltage | 3.3V to 5V |
| Communication Interface | I2C |
| I2C Address | 0x59 (default) |
| Operating Temperature Range | -10°C to +50°C |
| Power Consumption | ~2.6 mA (typical) |
| Dimensions | 25.4mm x 17.8mm x 4.6mm |
| Pin Name | Description |
|---|---|
| VIN | Power input (3.3V to 5V). Connect to the power supply of your microcontroller. |
| GND | Ground. Connect to the ground of your circuit. |
| SCL | I2C clock line. Connect to the SCL pin of your microcontroller. |
| SDA | I2C data line. Connect to the SDA pin of your microcontroller. |
| INT | Interrupt pin (optional). Can be used for advanced configurations. |
#include <Wire.h>
#include "Adafruit_SGP41.h"
// Create an SGP41 object
Adafruit_SGP41 sgp41;
void setup() {
Serial.begin(115200);
while (!Serial) delay(10); // Wait for Serial Monitor to open
Serial.println("SGP41 Breakout Example");
// Initialize the sensor
if (!sgp41.begin()) {
Serial.println("Failed to find SGP41 sensor! Check wiring.");
while (1) delay(10);
}
Serial.println("SGP41 sensor initialized.");
}
void loop() {
uint16_t tvoc, eco2;
// Perform a measurement
if (!sgp41.measureRawSignals(tvoc, eco2)) {
Serial.println("Failed to read from SGP41 sensor!");
return;
}
// Print the results
Serial.print("TVOC: ");
Serial.print(tvoc);
Serial.print(" ppb, eCO2: ");
Serial.print(eco2);
Serial.println(" ppm");
delay(1000); // Wait 1 second before the next reading
}
Sensor Not Detected
0x59.Inaccurate Readings
I2C Communication Errors
Q: Can the SGP41 Breakout be powered with 5V?
A: Yes, the breakout board includes a voltage regulator, allowing it to be powered with 3.3V or 5V.
Q: What is the default I2C address of the SGP41?
A: The default I2C address is 0x59.
Q: How often should I take measurements?
A: For most applications, taking measurements every 1-2 seconds is sufficient.
Q: Can I use the SGP41 Breakout with a Raspberry Pi?
A: Yes, the SGP41 Breakout is compatible with Raspberry Pi. Use the I2C pins and an appropriate library, such as Adafruit's Python library for the SGP41.
Q: Does the sensor require calibration?
A: The SGP41 is factory-calibrated and does not require additional calibration for typical use cases.