Home

Awesome

Sensirion Raspberry Pi I2C SGP41 Driver

This document explains how to set up the SGP41 sensor to run on a Raspberry Pi using the provided code.

<center><img src="images/SGP41.png" width="300px"></center>

Click here to learn more about the SGP41 Sensor.

Setup Guide

Connecting the Sensor

Your sensor has the four different connectors: VCC, GND, SDA, SCL. Use the following pins to connect your SGP41:

SGP41Raspberry Pi
VCCPin 1 (3.3V)
GNDPin 6
SDAPin 3
SCLPin 5
<center><img src="images/GPIO-Pinout-Diagram.png" width="900px"></center>

Raspberry Pi

Conditioning

After each restart of the sensor or when the hotplates have been switched off, the conditioning command must be called from idle mode. The conditioning heats the hotplate of the NOx pixel to a different temperature compared to the measurement mode enabling a faster switch-on thereafter.

It is recommended to execute the conditioning for 10s, but 10s must not be exceeded to avoid damage to the sensing material.

Troubleshooting

Initialization failed