Skip to main content

Python I2C Driver for Sensirion SFX6XXX

This repository contains the Python driver to communicate with a Sensirion sensor of the SFX6XXX family over I2C.

SFX6XXX picture

Click here to learn more about the Sensirion SFX6XXX sensor family.

Supported sensor types

Sensor name I²C Addresses
SFC6000 0x24, 0x23, 0x22, 0x21, 0x20, 0x42, 0x41
SFC6000D-5SLM ****
SFC6000D-50SLM ****
SFC6000D-20SLM ****
SFM6000 0x24, 0x23, 0x22, 0x21, 0x20, 0x42, 0x41
SFM6000D-20SLM ****
SFM6000D-50SLM ****
SFM6000D-5SLM ****

The following instructions and examples use a SFC6000.

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

sensor wiring picture

Pin Cable Color Name Description Comments
1 red VDD Supply Voltage +24V
2 black GND Ground
3 NC Do not connect
4 yellow SCL I2C: Serial clock input
5 purple ADDR Leave floating for default i2c address 0x24
6 green SDA I2C: Serial data input / output

Documentation & Quickstart

See the documentation page for an API description and a quickstart example.

Contributing

We develop and test this driver using our company internal tools (version control, continuous integration, code review etc.) and automatically synchronize the master branch with GitHub. But this doesn't mean that we don't respond to issues or don't accept pull requests on GitHub. In fact, you're very welcome to open issues or create pull requests :-)

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-sfx6xxx 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sensirion-i2c-sfx6xxx 1.0.1
File Size Uploaded Provenance Actions
sensirion_i2c_sfx6xxx-1.0.1.tar.gz 12.5 kB Without provenance Details for sensirion_i2c_sfx6xxx-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sensirion-i2c-sfx6xxx 1.0.1
File Interpreter ABI Platform Actions
sensirion_i2c_sfx6xxx-1.0.1-py3-none-any.whl Python 3 none any Details for sensirion_i2c_sfx6xxx-1.0.1-py3-none-any.whl

Total release size: 24.9 kB

Release files / sensirion_i2c_sfx6xxx-1.0.1.tar.gz

Download URL sensirion_i2c_sfx6xxx-1.0.1.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ca622b828b475974410358e50e912cb5eacf36367014ed64603ce7799a2191fc
BLAKE2b-256 checksum
How to use checksums
a0e5357b8b94470e9db01c49ad4bc6936d70299706484ea057493f1f711a667a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / sensirion_i2c_sfx6xxx-1.0.1-py3-none-any.whl

Download URL sensirion_i2c_sfx6xxx-1.0.1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5bccc0adf6ea252a4ffa805a482367e42f8c6db82c6ae8225ff47030dc9004a
BLAKE2b-256 checksum
How to use checksums
ee749b184106ffc2d2c232cf90ac8132147f2835e88b7906d9c1f310a171e737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Security for sensirion-i2c-sfx6xxx 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page