Skip to main content

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 STCC4 is Sensirion's next generation miniature CO2 sensor for indoor air quality applications.

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.

Metadata

Release files for sensirion-i2c-stcc4 1.1.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-stcc4 1.1.0
File Size Uploaded Provenance Actions
sensirion_i2c_stcc4-1.1.0.tar.gz 519.8 kB Without provenance Details for sensirion_i2c_stcc4-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 531.6 kB

Release files / sensirion_i2c_stcc4-1.1.0.tar.gz

Download URL sensirion_i2c_stcc4-1.1.0.tar.gz
Size 519.8 kB
Tags Source
SHA-256 checksum
How to use checksums
76c660e56288591a67d67232d728906243a0dd5abfc112dabc6e54f490d1e071
BLAKE2b-256 checksum
How to use checksums
993814109fb50a5d740ca1b303cbf964b2457efc489b833f24ed9948e6ac5d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / sensirion_i2c_stcc4-1.1.0-py3-none-any.whl

Download URL sensirion_i2c_stcc4-1.1.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf305cd5c8a26cd04bc612e4d403162ef3d0a818ef130daf095a82e31a81b44b
BLAKE2b-256 checksum
How to use checksums
d9d6d4a82cc405b7a3e98356018418fc7362657f9c7e6eccf56af46f9b6ca243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for sensirion-i2c-stcc4 1.1.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.1.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