/sensors

MH-Z19 and SDS-011 sensors for measuring CO2 and PM levels

Primary LanguagePythonMIT LicenseMIT

Scripts for MH-Z19 CO2 and SDS-011 PM sensors

This repository contains scripts for measuring CO2 levels using the MH-Z19 sensor and particulate matter (PM2.5 and PM10) using the SDS-011 sensor, on a Raspberry Pi.

The script for the SDS-011 sensor relies on the py-sds011 library (GitHub and PyPI), which can be installed using pip3 install py-sds011. The script for the MH-Z19 sensor is a refactored version of Ueda Takeyuki's mh-z19 library. These scripts require Python 3.

Distributed under the MIT license.