Skip to content

Void-ux/pms7003

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pms7003

A small, elegant and performant client driver for the PMS7003 particulate matter sensor.

This code was tested on the Raspberry Pi 5, though feel free to use this on any machine with Python and a serial port.

from pms7003 import PMSSensor

with PMSSensor('/dev/ttyAMA0') as sensor:
    while True:
        print(sensor.read())

Installation

Installing the library is simple and done purely through git, so make sure you have it installed (sudo apt-get git on Debian-based).

pip install git+https://github.com/Void-ux/pms7003.git

License

MIT

About

A Python client driver for the PMS7003 particulate matter sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages