Skip to main content

PMS5003 Particulate Sensor

Project description


Stable library from PyPi:

  • Just run sudo pip install pms5003

Latest/development library from GitHub:

  • git clone
  • cd pms5003-python
  • sudo ./


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 for more details.


  • Packaging improvements/bugfix from boilerplate


  • Added pyserial dependency


  • Added reset function


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

Files for pms5003, version 0.0.4
Filename, size & hash File type Python version Upload date
pms5003-0.0.4-py2-none-any.whl (4.0 kB) View hashes Wheel py2
pms5003-0.0.4-py3-none-any.whl (4.0 kB) View hashes Wheel py3
pms5003-0.0.4.tar.gz (4.0 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page