PMS5003 Particulate Sensor
Installing
Stable library from PyPi:
Just run sudo pip install pms5003
Latest/development library from GitHub:
git clone https://github.com/pimoroni/pms5003-python
cd pms5003-python
sudo ./install.sh
Requirements
The serial port on your Raspberry Pi must be enabled:
# Disable serial terminal over /dev/ttyAMA0 sudo raspi-config nonint do_serial 1 # Enable serial port raspi-config nonint set_config_var enable_uart 1 /boot/config.txt
And additionally be using a full UART (versus the default miniUART):
Add the line dtoverlay=pi3-miniuart-bt to your /boot/config.txt
This will switch Bluetooth over to miniUART, see https://www.raspberrypi.org/documentation/configuration/uart.md for more details.
0.0.4
Packaging improvements/bugfix from boilerplate
0.0.3
Added pyserial dependency
0.0.2
Added reset function
0.0.1
Initial Release
Metadata
Release files for pms5003 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pms5003-0.0.4.tar.gz | 4.0 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pms5003-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
| pms5003-0.0.4-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 12.1 kB
Release files / pms5003-0.0.4.tar.gz
| Download URL | pms5003-0.0.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31febf3bb9ac15f55e90a5de8857626b7cf10b7604abe6f0b3e9c41413f88175
|
|
BLAKE2b-256 checksum How to use checksums |
25da2d255745569b23c8338aab319f180c6808adbbfe1292afbb5e2157c475ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
|
Release files / pms5003-0.0.4-py3-none-any.whl
| Download URL | pms5003-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3efe6e294ef06204e52a9fc64a3badd5ee18637a221fbe9c2139c42fb338d34
|
|
BLAKE2b-256 checksum How to use checksums |
bfbd219679e5972372dd4b053d3d6bcb01d5ca4ce4cbc18b1420738287e324d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
|
Release files / pms5003-0.0.4-py2-none-any.whl
| Download URL | pms5003-0.0.4-py2-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
cef7bcbf3d1f8838fc79b559e46345f6f4426498802acb032119e02ce224fdd2
|
|
BLAKE2b-256 checksum How to use checksums |
20b0a887a05f5a80bcf173587c00c568145bdf05e522bab86953374bfa82e3a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
|