Home

Awesome

Sensirion Raspberry Pi I2C SVM4x Driver

This document explains how to set up the SEK-SVM4x sensor module to run on a Raspberry Pi using the provided code.

The SVM4x evaluation kit covers evaluation of the SGP40 and SGP41 sensors.

<center><img src="images/SVM4x.png" width="500px"></center>

Setup Guide

Connecting the Sensor

Your sensor has the five different connectors: VCC, GND, SDA, SCL, SEL (the sixth connector will not be used for now). Use the following pins to connect your SVM4x:

SVM4xRaspberry PiJumper Wire
VCCPin 1 or 2 (3.3V or 5V)Red
GNDPin 6Black
SDAPin 3Green
SCLPin 5Yellow
SELPin 9 (GND for I2C)Blue
<center><img src="images/GPIO-Pinout-Diagram.png" width="900px"></center>

If you don't have a suitable cable at hand, please find the SEK-SVM4x technical description here:

PinCable ColorNameDescriptionComments
1RedVDDSupply Voltage3.3 or 5.0 V
2BlackGround
3GreenRXUART: Receiving pin for communication
SDAI2C: Serial data, bidirectional
4YellowTXUART: Transmission pin for communication
SCLI2C: Serial clock
5BlueSELInterface selectLeave floating or pull to VDD to select UART
Pull to GND to select I2C
6PurpleNCDo not connect

Raspberry Pi

Troubleshooting

Initialization failed