Skip to content

Sensirion/python-uart-sps30

Repository files navigation

Python UART Driver for Sensirion SPS30

This repository contains the Python driver to communicate with a Sensirion SPS30 sensor over UART using the SHDLC protocol.

SPS30 picture

Click here to learn more about the Sensirion SPS30 sensor.

Connect the sensor

You can connect your sensor over the provided USB cable. For special setups check out 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 RX UART: Transmission pin for communication
3 yellow TX UART: Receiving pin for communication
4 SEL Interface select Leave floating to select SHDLC
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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published