Python I2C Driver for Sensirion SLF3X
This repository contains the Python driver to communicate with a Sensirion sensor of the SLF3X family over I2C.
Click here to learn more about the Sensirion SLF3X sensor family.
Not all sensors of this driver family support all measurements. In case a measurement is not supported by all sensors, the products that support it are listed in the API description.
Supported sensor types
| Sensor name | I²C Addresses |
|---|---|
| SLF3C-1300F | 0x08 |
| SLF3S-1300F | 0x08 |
| SLF3S-0600F | 0x08 |
| SLF3S-4000B | 0x08 |
The following instructions and examples use a SLF3C-1300F.
Connect the sensor
You can connect your sensor over a SEK-SensorBridge. For special setups you find the sensor pinout in the section below.
Sensor pinout
| Pin | Cable Color | Name | Description | Comments |
|---|---|---|---|---|
| 1 | NC | Do not connect | ||
| 2 | green | SDA | I2C: Serial data input / output | |
| 3 | red | VDD | Supply Voltage | 3.2V to 3.8V |
| 4 | black | GND | Ground | |
| 5 | yellow | SCL | I2C: Serial clock input | |
| 6 | NC | Do not connect |
Documentation & Quickstart
See the documentation page for an API description and a quickstart example.
Contributing
Check coding style
The coding style can be checked with flake8:
pip install -e .[test] # Install requirements
flake8 # Run style check
In addition, we check the formatting of files with
editorconfig-checker:
pip install editorconfig-checker==2.0.3 # Install requirements
editorconfig-checker # Run check
License
See LICENSE.
Metadata
Release files for sensirion-i2c-slf3x 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sensirion_i2c_slf3x-1.0.0.tar.gz | 369.2 kB | Without provenance | Details for sensirion_i2c_slf3x-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sensirion_i2c_slf3x-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sensirion_i2c_slf3x-1.0.0-py3-none-any.whl |
Total release size: 379.4 kB
Release files / sensirion_i2c_slf3x-1.0.0.tar.gz
| Download URL | sensirion_i2c_slf3x-1.0.0.tar.gz |
|---|---|
| Size | 369.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b183f5ff1d0440532f883707f61c664829d6d86438ac82b9641492bf2a59a8e
|
|
BLAKE2b-256 checksum How to use checksums |
3c7e2e02fcaad93634b1bfbcc0c87767dd9a2e05a44d3d8114142ce112f1f23e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / sensirion_i2c_slf3x-1.0.0-py3-none-any.whl
| Download URL | sensirion_i2c_slf3x-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01dcae3d044b217736dbbe0cc0b412b7a6b7116004a1699eccaa1b5c9f14fd09
|
|
BLAKE2b-256 checksum How to use checksums |
44938fdd56284b099a72a6ede4a4117b63b922c796a88c355776418f124967cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for sensirion-i2c-slf3x 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.