Skip to main content

Sensirion SPS30 Python library

Project description

Sensirion SPS30 PM Sensor

PyPI GitHub Workflow Status GitHub style black Imports: isort

Short description

This is a simple library to communicate with a Sensirion SPS30 sensor via Serial communication. The SPS30 is an MCERTS-certified particulate matter sensor based on laser scattering measurement principles. It can classify particles within PM1.0, PM2.5, PM4 and PM10 categories.

For further details refer to the official documentation of the sensor.


Example Python script to read and print a single measurement.

from time import sleep

from sensirion_sps30 import SPS30

port: str = "COM3"
sps30 = SPS30(port)


data = sps30.read_values()



Community contributions are a welcome addition to the project. Before introducing any major features or changes to the existing API please consider opening an issue to outline your proposal.

Bug reports are also welcome on the issue page.

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-sps30-0.2.0.tar.gz (5.1 kB view hashes)

Uploaded source

Built Distribution

sensirion_sps30-0.2.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page