Python UART Driver for Sensirion SVM4X
This repository contains the Python driver to communicate with a Sensirion SVM4X sensor over UART using the SHDLC protocol.
Click here to learn more about the Sensirion SVM4X sensor.
The SVM4x evaluation kit covers evaluation of the SGP40 and SGP41 sensors.
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 | 3.3 or 5V |
| 2 | black | GND | Ground | |
| 3 | green | RX | UART: Transmission pin for communication | |
| 4 | yellow | TX | UART: Receiving pin for communication | |
| 5 | blue | SEL | Interface select | Leave floating or pull to VDD to select UART |
| 6 | purple | NC | Do not connect |
Documentation & Quickstart
See the documentation page for an API description and a quickstart example.
Contributing
We develop and test this driver using our company internal tools (version
control, continuous integration, code review etc.) and automatically
synchronize the master branch with GitHub. But this doesn't mean that we
don't respond to issues or don't accept pull requests on GitHub. In fact,
you're very welcome to open issues or create pull requests :-)
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.
Metadata
Release files for sensirion-uart-svm4x 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sensirion_uart_svm4x-2.0.3.tar.gz | 10.4 kB | Without provenance | Details for sensirion_uart_svm4x-2.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sensirion_uart_svm4x-2.0.3-py3-none-any.whl | Python 3 | none | any | Details for sensirion_uart_svm4x-2.0.3-py3-none-any.whl |
Total release size: 21.9 kB
Release files / sensirion_uart_svm4x-2.0.3.tar.gz
| Download URL | sensirion_uart_svm4x-2.0.3.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
360c51aad61378bb9b2b43edef2cbe709192a5b92d15765311b4710f8d7f0a98
|
|
BLAKE2b-256 checksum How to use checksums |
66ba4d3ebd4eb0a8c5639be78fbdb0466ef07c2ad3abd666ff8e36c7b587788e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.9.6 requests/2.27.1 setuptools/39.0.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/3.6.9
|
Release files / sensirion_uart_svm4x-2.0.3-py3-none-any.whl
| Download URL | sensirion_uart_svm4x-2.0.3-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
119375a12b6cc963692d390d92bbf7e32d99810073bd066db3c0ba447d35a996
|
|
BLAKE2b-256 checksum How to use checksums |
ce0af70d515fcff21ddc90eac6e31da69ee7420fe9b6325b5d6e4948d358812d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.9.6 requests/2.27.1 setuptools/39.0.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/3.6.9
|
Security for sensirion-uart-svm4x 2.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.