Skip to main content

I2C driver for the Sensirion STCC4 sensor family

Project description

Python I2C Driver for Sensirion STCC4

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

STCC4 picture

Click here to learn more about the Sensirion STCC4 sensor.

The default I²C address of STCC4 is 0x64.

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 2.7V to 5.5V
3 green 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.

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_stcc4-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_stcc4-1.0.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sensirion_i2c_stcc4-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_stcc4-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c12903c14eb62b6a0bb1939543e149c0cd9dad0996b6eae8b9905cecd97011cf
MD5 b4f05f7f8eee3783c1a1bed44d4c652f
BLAKE2b-256 75e28cf985289d95680d13262a3e9cbafee6ad39d1e3bda29d6be3745bc8c290

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sensirion_i2c_stcc4-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac62e42cfc3f8469dc87902ed320eb137407814579bcde19327392cc0a739cc6
MD5 e69225c1c91e87d2e4ed63327829fb60
BLAKE2b-256 f5a14104139fd7fc0739a9d027d76d6ddc0ec853421e529c2b436c448933928d

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