Skip to content
Python library for the PMS5003 particulate sensor
Python Makefile Shell
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Tidying up output of sensor values Jun 7, 2019
library Packaging fixes, v0.0.4 Jul 4, 2019
.gitignore Initial Commit May 24, 2019
.stickler.yml Initial Commit May 24, 2019
LICENSE Initial Commit May 24, 2019
Makefile Improve documentation for #2 Jul 1, 2019 Bootstrap from boilerplate Jun 4, 2019

PMS5003 Particulate Sensor

Build Status Coverage Status PyPi Package Python Versions


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.

You can’t perform that action at this time.