Skip to main content

PMS5003 Particulate Sensor

Project description

PMS5003 Particulate Sensor

Build Status Coverage Status PyPi Package Python Versions

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.3

  • Added pyserial dependency

0.0.2

  • Added reset function

0.0.1

  • Initial Release

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

pms5003-0.0.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distributions

pms5003-0.0.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

pms5003-0.0.3-py2-none-any.whl (4.0 kB view details)

Uploaded Python 2

File details

Details for the file pms5003-0.0.3.tar.gz.

File metadata

  • Download URL: pms5003-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pms5003-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1fec8dcaef47b1d7d63f37d8106a7baad44b0e493a12b58632a8d37d8313185a
MD5 2ea9f755bce31badb959566c53296245
BLAKE2b-256 75e51169f7bc185eec27c12e0466009171360d563a7e4f68f52fff15859b2698

See more details on using hashes here.

File details

Details for the file pms5003-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pms5003-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pms5003-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d2d129f2564e70bd21858a2ff1afb0b9faf58c1484526dacde8c0e64df25f155
MD5 96bd51e98d02c7ef969151704db158ed
BLAKE2b-256 72d5e06eb811f62d0ae780f92a6ac3a01adde95d6fc93ee37488d7c8574ff8d6

See more details on using hashes here.

File details

Details for the file pms5003-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: pms5003-0.0.3-py2-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for pms5003-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 af9005f771886a9d9c177a63250358e1e89094572d6fb933943655846bbee159
MD5 d49c7435bced4bef4dc92d1cebc34928
BLAKE2b-256 f9625043a8cc14e784c26d39ead443afe595772b8f6ad308ff63379e0628c2b0

See more details on using hashes here.

Supported by

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