edit

PM25

This is a simple Arduino Library for PM1.0/2.5/10 Laser Dust Sensor.

Software

Arduino IDE v1.6.7 or above

How to install

  • Download the zip folder here.
  • Open Arduino IDE, go to Sketch -> Include Library -> Add .ZIP Library.
  • Open the downloaded zip folder and click OK to complete installation.

Examples

Debug

Edit the line #define _PM25LOGLEVEL_ 1 in debug.h in src/utility folder for more verbose info.

  0: DISABLED: no logging
  1: ERROR: errors (default)
  2: WARN: errors and warnings
  3: INFO: errors, warnings and informational
  4: DEBUG: errors, warnings, informational and debug

Reference

Issues