Skip to main content

I2C driver for the Sensirion SFM3304 sensor family

Project description

Python I2C Driver for Sensirion SFM3304

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

SFM3304 picture

Click here to learn more about the Sensirion SFM3304 sensor.

The default I²C address of SFM3304 is 0x2E.

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 Ground for the heater
2 red VDD Supply Voltage 3.15V to 3.45V
3 yellow SCL I2C: Serial clock input
4 black GND Ground
5 green SDA I2C: Serial data input / output
6 NC Do not connect Supply voltage to the heater

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_sfm3304-1.0.0.tar.gz (10.7 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_sfm3304-1.0.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sensirion_i2c_sfm3304-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8273ccb7b09a9e4e5cec328026b2cc801d71f7a0c94adf47299091e8efd22449
MD5 a10b279a8e91c926ad0e151f727fd90c
BLAKE2b-256 b96954831bd74a6248c8650dc9b2a34ae474a55d824196ec838d6d7179c7dda7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sensirion_i2c_sfm3304-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03b951a96eddf35337b318c9e5bfa7e38f7b32b5b869405cdbc16e420d595991
MD5 d39b867b9d5d129cfef4c55bb4924259
BLAKE2b-256 2e737368b72d28e60b55d73182a76c1b3abf85f1187719bf7bb86b9def34fa02

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