Home

Awesome

Sensirion Raspberry Pi I2C SFA3x Driver

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

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

Setup Guide

Connecting the Sensor

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

SFA3xRaspberry 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-SFA3x pinout listed below, or in the datasheet:

PinNameDescriptionComments
1VDDSupply Voltage5V ±10%
2GNDGround
3RXUART: Receiving pin for communication
SDAI2C: Serial data input / output
4TXUART: Transmission pin for communication
SCLI2C: Serial clock input
5SELInterface selectLeave floating or pull to VDD to select UART
Pull to GND to select I2C
6NCDo not connect
7NCDo not connect

Raspberry Pi

Troubleshooting

Initialization failed