Skip to main content

Python I2C Driver for Sensirion SFA4X

This repository contains the Python driver to communicate with a Sensirion SFA40 sensor over I2C.

SFA4X picture

Click here to learn more about the Sensirion SFA40 sensor.

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.

The default I²C address of SFA40 is 0x5d.

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 black GND Ground
2 red VDD Supply Voltage 1.62V to 3.6V
3 blue SDA I2C: Serial data input / output
4 yellow SCL I2C: Serial clock input

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-sfa4x 1.0.0

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-sfa4x 1.0.0
File Size Uploaded Provenance Actions
sensirion_i2c_sfa4x-1.0.0.tar.gz 602.7 kB Without provenance Details for sensirion_i2c_sfa4x-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 611.3 kB

Release files / sensirion_i2c_sfa4x-1.0.0.tar.gz

Download URL sensirion_i2c_sfa4x-1.0.0.tar.gz
Size 602.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bd848b66a376c7dc053a187999a1277473a7d7250d01a17b0c3497a724206b90
BLAKE2b-256 checksum
How to use checksums
6d21098b2ae2f6623accd008a9bf362a214b19ef7ea14ab7b67067659ff430b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / sensirion_i2c_sfa4x-1.0.0-py3-none-any.whl

Download URL sensirion_i2c_sfa4x-1.0.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94766372070215d5f2249e2185faa77f0ad557ead5374d9895e1c537acbcd33b
BLAKE2b-256 checksum
How to use checksums
f54797c5a0ca12c18eb90d6b0c8a995eeaa3fa66097c6fdd794647d89cb5de4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for sensirion-i2c-sfa4x 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.

Release history Release notifications | RSS feed

This release

1.0.0 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