Skip to main content

I2C driver for the Sensirion SFA3X sensor family

Project description

Python I2C Driver for Sensirion SFA3X

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

SFA3X picture

Click here to learn more about the Sensirion SFA3X sensor.

The default I²C address of SFA3X 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 red VDD Supply Voltage 3.15V to 5.5V
2 black GND Ground
3 green SDA I2C: Serial data input / output
4 yellow SCL I2C: Serial clock input
5 blue SEL Interface select Pull to GND to select I2C (leaving it floating selects UART)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sensirion_i2c_sfa3x-1.0.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sensirion_i2c_sfa3x-1.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file sensirion_i2c_sfa3x-1.0.0.tar.gz.

File metadata

  • Download URL: sensirion_i2c_sfa3x-1.0.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sensirion_i2c_sfa3x-1.0.0.tar.gz
Algorithm Hash digest
SHA256 68f5786992c95cc4d267e618b3110142bbe840e6c5a27d3fc86eed7109d3788a
MD5 7a551be24393ad8736f1449d02ce44ac
BLAKE2b-256 b13294a2fcb7ba7c04481efd65ba60f2426327ab7cc92f85881b0f818b4780b1

See more details on using hashes here.

File details

Details for the file sensirion_i2c_sfa3x-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sensirion_i2c_sfa3x-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 998b690e7c4ae30eaf73069bdf9ccf9c8e0450342cfd63f95f019d1d77943b88
MD5 f0a7334b1edd027d51adeb828820193a
BLAKE2b-256 288397e8b9c6de0aad9c12bc6ecbb7c7b80da4498f172af404f50846bd744d77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page