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.0.0.tar.gz (11.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_scd30-1.0.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sensirion_i2c_scd30-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d97b53824f9ef52fa7711316a8ea9a7fddc1a2f3f65c136cb909b303f0e8a004
MD5 bed6e3734129de5c20d78622bd8298f7
BLAKE2b-256 1677cf2b9e83f4b825372722c4fb502b5a0cbd2932f6f3c3ac3f3eec9fc559ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sensirion_i2c_scd30-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3a4119890de6744e4291767d140b997fc696fea13b032559f1779f674fe1e9b
MD5 b993e9a3496f407332a938d7d9233102
BLAKE2b-256 f3a3066b301e01dc431bb68b90467b9d77c3dc880ddfa673b2b99e18bf94fc7c

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