Skip to main content

I2C driver for the Sensirion SCD30 sensor family

Project description

Python I2C Driver for Sensirion SCD30

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

SCD30 picture

Click here to learn more about the Sensirion SCD30 sensor.

The default I²C address of SCD30 is 0x61.

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.3V to 5.5V
2 black GND Ground
3 yellow SCL I2C: Serial clock input
4 green SDA I2C: Serial data input / output
5 RDY High when data is available - do not connect
6 PWM do not connect
7 blue SEL Interface select Pull to ground or floating for I2C

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_scd30-1.1.0.tar.gz (52.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_scd30-1.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file sensirion_i2c_scd30-1.1.0.tar.gz.

File metadata

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

File hashes

Hashes for sensirion_i2c_scd30-1.1.0.tar.gz
Algorithm Hash digest
SHA256 88561b27334b36ad0fa430a8ee51ebbea7690858f1dd8fa24cfcb27dcf620f6e
MD5 73c2c746b094ca6bce68abbc79215bb4
BLAKE2b-256 0da8a01047d719488640bb6c81f6652386b9aca70dc0e9a4c5949e54da3b225d

See more details on using hashes here.

File details

Details for the file sensirion_i2c_scd30-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sensirion_i2c_scd30-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3082d051e3bb37de29cc85f05c7f7d436f9cdd33b608838bba1f7b0392b6d93
MD5 367f972f57e8dfc87c46f51f6be189f7
BLAKE2b-256 3e11f81997c6c41cc1258f45467242695bccf628085af76fe4230e83d60b7064

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