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

  • Packaging improvements/bugfix from boilerplate

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.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pms5003-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 31febf3bb9ac15f55e90a5de8857626b7cf10b7604abe6f0b3e9c41413f88175
MD5 4566777b17a305f60518fe0cbd53ab49
BLAKE2b-256 25da2d255745569b23c8338aab319f180c6808adbbfe1292afbb5e2157c475ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pms5003-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e3efe6e294ef06204e52a9fc64a3badd5ee18637a221fbe9c2139c42fb338d34
MD5 573e3925be6189acca9ca24a1b076650
BLAKE2b-256 bfbd219679e5972372dd4b053d3d6bcb01d5ca4ce4cbc18b1420738287e324d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pms5003-0.0.4-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.4-py2-none-any.whl
Algorithm Hash digest
SHA256 cef7bcbf3d1f8838fc79b559e46345f6f4426498802acb032119e02ce224fdd2
MD5 9ef8e9954d90c5205bc3065eb643ab25
BLAKE2b-256 20b0a887a05f5a80bcf173587c00c568145bdf05e522bab86953374bfa82e3a7

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