Grove - Dust Sensor


This Dust Sensor gives a good indication of the air quality in an environment by measuring the dust concentration. The Particulate Matter level (PM level) in the air is measured by counting the Low Pulse Occupancy time (LPO time) in given time unit. LPO time is proportional to PM concentration. This sensor can provide reliable data for air purifier systems; it is responsive to PM of diameter 1μm.


  • This sensor uses counting method to measure dust concentration, not weighing method, and the unit is pcs/L or pcs/0.01cf.
  • Please pay attention to the warnings listed here.


In the latest version, output Hi Voltage is changed from 4.0V to 4.5V.


Item Norm Unit
VCC 4.75~5.75 V
Standby Current Supply 90 mA
Detectable range of concentration 0~28,000 / 0 ~ 8000 pcs/liter / pcs/0.01cf
Operating Temperature Range 0~45 °C
Output Method Negative Logic, Digital output, High: over 4.0V(Rev.2), Low: under 0.7V -
Detecting the particle diameter >1 μm
Dimensions 59(W) × 45(H) × 22(D) mm
Humidity Range 95% rh or less -

Platform Supported

enter image description here

Application Ideas

Getting Started


  • Please keep it upright.
  • 3 min preheat time is required while using for the first time.
  • Arbitrary operation may cause unexpected damage.
  • Following widgets (red rectangle marked) is used only for the factory setting. Please DO NOT change the default configuration.

Grove - Help

Following documents help user get started with Grove. - Preface - Getting Started. - Introduction to Grove. - Getting Started on Windows - Getting Started on Mac OS X


Here is a demo to show how to obtain PM concentration data from this Grove - Dust Sensor.

1.Plug the dust sensor into digital port D8 on the Grove - Base Shield. It can only be D8 because the operation of this sensor involves sampling. This function only can be achieved by D8, the input capturing pin of ATmega328P, on Arduino/Seeeduino.

Also, you can connect Grove - Dust sensor to Arduino UNO without Base Shield: Arduino UNO |Dust Sensor –|– 5V| Red wire GND |Black wire D8| Yellow wire

2.Copy and paste the demo code below to a new Arduino sketch.

Grove - Dust Sensor Demo v1.0
 Interface to Shinyei Model PPD42NS Particle Sensor
 Program by Christopher Nafis
 Written April 2012

 JST Pin 1 (Black Wire)  => //Arduino GND
 JST Pin 3 (Red wire)    => //Arduino 5VDC
 JST Pin 4 (Yellow wire) => //Arduino Digital Pin 8

int pin = 8;
unsigned long duration;
unsigned long starttime;
unsigned long sampletime_ms = 2000;//sampe 30s ;
unsigned long lowpulseoccupancy = 0;
float ratio = 0;
float concentration = 0;

void setup() {
  starttime = millis();//get the current time;

void loop() {
  duration = pulseIn(pin, LOW);
  lowpulseoccupancy = lowpulseoccupancy+duration;

  if ((millis()-starttime) >= sampletime_ms)//if the sampel time = = 30s
    ratio = lowpulseoccupancy/(sampletime_ms*10.0);  // Integer percentage 0=>100
    concentration = 1.1*pow(ratio,3)-3.8*pow(ratio,2)+520*ratio+0.62; // using spec sheet curve
    Serial.print("concentration = ");
    Serial.println(" pcs/0.01cf");
    lowpulseoccupancy = 0;
    starttime = millis();

In this program, the Seeeduino samples the total duration of “logic low” in 30s, and this duration illustrates the dust density of environment. Open Serial Monitor, we can get air quality’s value detected by sensor from PC’s serial port.

The result above consists of three parts: lowpulseoccupancy, ratio and concentration.

“lowpulseoccupancy” represents the Low Pulse Occupancy Time(LPO Time) detected in given 30s. Its unit is microseconds.

“ratio” reflects on which level LPO Time takes up the whole sample time.

“concentration” is a figure that has a physical meaning. It is calculated from the characteristic graph below by using the LPO time.

Here is a graph of the dust concentration measured in office :

We can see the concentration of dust is very low in the evening, but it is higher in the afternoon. A threshold can be set when the concentration is above a value. Also, if you want to set the sensor more sensitive you can add a fan on the sensor, and add a 10kΩ resistor between the Pin5 and Ground. More information please visit the blog of A.J.


If you want to make some awesome projects by Grove - Dust Sensor, here is a project for reference.

Air Quality Box

This section an IoT demo make by Seeeduino and Grove.

More attention is being paid to the environmental air quality nowadays because the tiny particles in the air around can badly endanger people’s health. We always get the information of environment from our government department. But it’s the average value of the whole city/section. It can not reflect the environment around you accurately.


Help us to make it better

Thank you for choosing Seeed. As one of the world-leading open-hardware suppliers, Seeedstudio has been continuously creating well-quality and diversified modules for our customers, makers and developers. As a young company, it is inevitable that there are things we neglected the importance, for example, our document system. It is a little shame however true that we have been continuously receiving complaint about how hard it is to use our document system——ugly interface, confusing content, and the URL that can never be opened etc. Here we sincerely apologize for all the inconvenient you’ve experienced during using the old system.

It is time to say good bye to the user-unfriendly old document system now, in order to bring better experience to our users, we have launched a project to optimize the document system from the middle of 2016. The work includes:

  • Replace the old WiKi system with a new one that developed from Mkdocs, a more widely used and cooler project documentation tool.
  • Review and rewrite documents for hundreds of products to make them more understandable.
  • Inspected repair all the URL to make sure it can be linked to the right page.

Although we have tried our best to optimize, it is still possible that we make some mistakes, so if you find anything that needs to be updated, it is very welcome to submit the amended version as our contributor or give us suggestions in the survey below. Please don’t forget to leave your email address if you need our reply, we will reply to you as soon as we can.

By the way, we will feel very happy and encouraged if we receive 5 stars from you. With the help and encouragement from you, we believe that we can make this document better and better!

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking