Skip to main content

I2C driver for the Sensirion SPS30 sensor family

Project description

Python I2C Driver for Sensirion SPS30

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

SPS30 picture

Click here to learn more about the Sensirion SPS30 sensor.

Not all sensors of this driver family support all measurements. In case a measurement is not supported by all sensors, the products that support it are listed in the API description.

The default I²C address of SPS30 is 0x69.

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 5V
2 green SDA I2C: Serial data input / output
3 yellow SCL I2C: Serial clock input
4 blue SEL Interface select Pull to GND to select I2C
5 black GND Ground

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_sps30-1.0.0.tar.gz (10.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_sps30-1.0.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sensirion_i2c_sps30-1.0.0.tar.gz
  • Upload date:
  • Size: 10.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_sps30-1.0.0.tar.gz
Algorithm Hash digest
SHA256 67ed23cb35bd569cfa2beb86f5d8976110c48906da2ea44e5bfd932abd435f2e
MD5 76b4123998d3e6874cb945c7aaedb621
BLAKE2b-256 bd48fc7d3ce0e4f802de626768cfb64dd9b2ad9240add14f86df00f02b9fd83c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sensirion_i2c_sps30-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1a27e10928fa1aab314f9117ee1fdada6f8673d3b083d4da7a13844fb65e30b
MD5 f0cc0c7493190c480fb4421257e8a826
BLAKE2b-256 9a969fe80990a62aafcb86c2c5930c2c6c68748f45622ebb9530b63dae50daef

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