Skip to main content

I2C driver for the Sensirion SLF3X sensor family

Project description

Python I2C Driver for Sensirion SLF3X

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

SLF3X picture

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

sensor wiring picture

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.

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_slf3x-1.0.0.tar.gz (369.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_slf3x-1.0.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sensirion_i2c_slf3x-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1b183f5ff1d0440532f883707f61c664829d6d86438ac82b9641492bf2a59a8e
MD5 60aa12e4a0d200232a6b8c367a83e484
BLAKE2b-256 3c7e2e02fcaad93634b1bfbcc0c87767dd9a2e05a44d3d8114142ce112f1f23e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sensirion_i2c_slf3x-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01dcae3d044b217736dbbe0cc0b412b7a6b7116004a1699eccaa1b5c9f14fd09
MD5 1986288038f73ada0d014497c70a7d99
BLAKE2b-256 44938fdd56284b099a72a6ede4a4117b63b922c796a88c355776418f124967cb

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