Home

Awesome

Sensirion Raspberry Pi I2C SGP40 Driver

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

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

Click here to learn more about the SGP40 Sensor.

Setup Guide

Connecting the Sensor

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

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

Raspberry Pi

Troubleshooting

Initialization failed