SHDLC driver for the Sensirion SPS30 sensor family
Project description
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.
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
| 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sensirion_uart_sps30-1.0.0.tar.gz.
File metadata
- Download URL: sensirion_uart_sps30-1.0.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebe63837ed7fd11d1a0c4d63770b71838d8d49a37da77e717d071feea8f8555e
|
|
| MD5 |
14d348f6206fdf95577e921d6fa63f0f
|
|
| BLAKE2b-256 |
2a3694855fbcc4681ee84d2e704fb41303518de40a2fb920e147e19bafcc9d61
|
File details
Details for the file sensirion_uart_sps30-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sensirion_uart_sps30-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15acb32e94e26b509b896df154f4f1cf40ce997f6da849603f09d65f9fca486e
|
|
| MD5 |
5e6326a8a47692d736cddcab5813d2e5
|
|
| BLAKE2b-256 |
fe8118e2d4cd3fc2d65befbad7dda8a2dc37e8d78e9a0ee54a889d1469ff0033
|