pyupm_ppd42ns module

class pyupm_ppd42ns.PPD42NS(pin)[source]

Bases: object

API for the PPD42NS Dust Sensor.

ID: ppd42ns

Name: Dust Sensor

Other Names: Grove Dust Sensor

Category: other

Manufacturer: seeed

Link:http://www.seeedstudio.com/wiki/Grove_-_Dust_Sensor

Connection: gpio

Kit: eak UPM module for the PPD42NS dust sensor

C++ includes: ppd42ns.hpp

getData()[source]

ppd42ns_dust_data getData()

Prints dust concentration

struct ppd42ns_dust_data Contains data from the dust sensor

class pyupm_ppd42ns.ppd42ns_dust_data[source]

Bases: object

aqi
concentration
lowPulseOccupancy
ratio
ugm3