SDS011 the Air High quality Sensor – Open Electronics

Measure the standard of the air round us utilizing a laser know-how sensor that may quantify the focus of the notorious micro-dust.

Air air pollution, and particularly the presence, quantification and focus of so-called ‘high quality mud’, is a really topical drawback, particularly in giant city agglomerations and close to the big industrial areas bordering giant cities.

To measure air high quality, there are answers based mostly on complicated devices outfitted with particular sensors and on the evaluation stations we see in metropolis streets, put in on poles or on-board autos parked by the facet of the roads.

Alongside these gadgets, which we would name skilled (or institutional, should you choose), there’s a lengthy line-up of cheaper detectors which are reasonably priced for most people who wish to perform their very own analyses with out the ‘impèrial’ seal, however nonetheless with dependable outcomes.

On this article we are going to introduce you to such a tool, the SDS011 laser sensor, and describe learn how to use it to measure the air high quality within the setting during which we dwell, displaying the outcomes of the measurement on a Private Laptop.

The SDS011 sensor is ready to detect and measure concentrations of stable and liquid particles suspended within the air, often known as Particulate Matter-PM, labeled by dimension as much as 2.5 µm and as much as 10.0 µm, in technical jargon known as PM2.5 and PM10 respectively.

Some particles are giant sufficient to be seen to the bare eye whereas others are microscopic. It’s exactly the smallest particles which are of curiosity as they’re simply inhaled and due to this fact taken up by the human physique.

As soon as they enter the respiratory cycle, if the focus of those particles is long-lasting and excessive sufficient, they’ll produce dangerous results on well being. We’ve got mentioned that particulate matter is classifiable in line with the dimensions measurable in micrometers, extra exactly the measurement of the diameter of the particles, however since what’s of most curiosity is to detect the quantity of those particles, i.e., their focus within the air, the unit of measurement adopted for the analysis of the focus within the air is that of micrograms per cubic metre (µg/m²).

To offer you an thought of the idea, Fig. 1 illustrates the dimensions comparability in micrometres between particles of various natures; it’s fascinating to look at the dimensions of a grain of sand, on common about 90 µm, compared with the dimensions of PM2.5 and PM10 particles.

Particulate matter within the setting is generated by pure and human processes; monitoring air air pollution brought on by human actions is a crucial indicator of air high quality. In lots of functions associated to human wellbeings, equivalent to air flow, air con, air purification and filtration techniques, monitoring of PM2.5 and PM10 particle concentrations is a should to make sure that these well-being functions don’t flip into dangerous well being results.


Fig. 1

  Desk 1 exhibits the CAQI air high quality indicators and the corresponding values in μg/m3 of the concentrations of O3 (ozone), NO2 (nitrogen dioxide) and PM2.5 and PM10 particulate matter. The CAQI, quick for Frequent Air High quality Index (CAQI), is an air high quality index utilized in Europe since 2006. In November 2017, the European Setting Company introduced the European Air High quality Index (EAQI) and to be able to inform the general public about air high quality, it began to encourage its dissemination on web sites and different media.



The CAQI is a numerical worth on a scale of 1 to 100, the place a low worth means good air high quality whereas a excessive worth is indicative of poor air high quality. The primary column on the left of the desk exhibits 5 air high quality ranges, akin to the 5 colored bands of CAQI air high quality indicator values. Within the 4 columns subsequent to the CAQI indicators, the corresponding normal values of airborne pollution are specified.  

The laser particle sensor

Having outlined what micro-dust and particulate matter are and what strategies are used to find out their focus and significance by way of the goodness of the air, we transfer on to clarify the method used to function the sensor used within the challenge we’re presenting: the laser method.

A laser sensor is an built-in gadget consisting basically of the next components: a laser gentle supply, a detection chamber, a photodiode, a microcontroller, a communication interface and a fan to suck within the air to be analysed, which principally serves to take samples and produce them into the detection chamber.

The focus of particulate matter within the air is measured by counting particles utilizing the gentle scattering technique. Fig. 2 exhibits the precept diagram of the operation of a laser sensor for measuring the focus of PM2.5 and PM10 particles.

The sunshine emitted by the laser illuminates the particles, that are collected by the sensor by way of exterior air suction operated by the interior fan. The particles are then transported and injected into the detection chamber. Within the detection chamber, there’s a photodiode, which converts the detected brightness degree, modulated by the particle focus, right into a corresponding voltage worth, ensuing from the fluctuations of the reverse present because of the laser gentle.

The values that the voltage takes on as a perform of the focus of particles hit by the laser gentle, acquired and transformed into digital values, are analysed and processed by a microcontroller. Lastly, the outcomes of the evaluation and processing are made out there to a communication interface.

Fig. 2

The SDS011 laser sensor

The SDS011 sensor has a excessive diploma of integration, because it accommodates all the weather wanted to create a high-precision laser sensor.

The SDS011 consists of the next components: a laser diode, a photodiode, a microcontroller, a low-noise photodiode sign amplifier, an air suction fan and a communication interface that permits the measurement outcome to be remodeled into pulses at a logical degree.

To measure the focus of PM2.5 and PM10 particles, the “gentle scattering” technique is used, utilizing a laser gentle supply. Different kinds of sensors additionally use the “gentle scattering” technique, however with the usage of infrared diodes to be able to cut back manufacturing prices, however it’s actually the usage of the laser that ensures higher measurement accuracy in comparison with these IR LED sensors.

The usage of lasers within the SDS011 makes it potential to detect concentrations of particles starting from 0.3 to 10 microns in diameter. The measured knowledge are due to this fact secure and dependable. Fig. 3 exhibits the SDS011 compact module whose dimensions are 71×70 mm, and a thickness of 23 mm.

Fig. 3

  Desk 2 exhibits the technical traits of the SDS011. Observe the excessive measurement vary of 0 to 999 µg/m3 and the 0.3-micron decision of particulate detection.



Desk 3 exhibits the pin numbering of the SDS011 module connector, from which energy is utilized and on which the communication interface is positioned.


The communication interface

SDS011 can ship PM measurement knowledge externally, i.e., to a PC, microcontroller, and so on., by way of the communication interface.

From Desk 3, in regards to the description of SDS011 pins, we will see that PM2.5 and PM10 measurement knowledge might be collected by means of the measurement of PWM output pulse indicators and the UART serial communication interface.

Regarding the measurement of PWM indicators the involved pins are: pin 2 “1um” for PM2.5 particulate measurement and pin 4 “25 µm” for PM10 particulate measurement.

Mainly, with fixed pulse repetition frequency, the heartbeat width measurement of the PWM sign determines the µg/m³ worth of the particulate matter. Fig. 4 illustrates the idea in graphic kind.

Fig. 4

  Desk 4 lists the parameters of the PWM output indicators. The UART serial interface is the communication system we’re inquisitive about, as we are going to use it to gather and ship the PM measurement knowledge to the PC. The UART communication protocol of the SDS011 have to be set on the PC with these communication parameters: bit fee of 9600 bps, 8-bit knowledge, no parity bit, one cease bit.




Referring once more to Desk 3, the pins concerned within the UART connection are: pin 6 “R” RX TTL and pin 7 “T” TX TTL. Desk 5 lists, in progressive numerical order of transmission, the bytes of digital values of PM2.5 and PM10 measurement outcomes that the SDS011 UART serial communication interface transmits to the PC UART.


PM2.5 and PM10 measurement set-up with the SDS011 and the PC

The PM2.5 and PM10 measurement system requires {hardware} and software program. For the {hardware}, you merely want an SDS011 module, a USB-to-serial converter and a PC. The SDS011 module might be bought from our retailer (Product Code: 8300-PMSENSOR) and likewise consists of the USB-to-serial converter.

So far as the software program is anxious, it’s potential to obtain the compressed recordsdata “Nova PM2.5 Sensor” of this system for displaying graphs of the measurement outcomes and “” of the driving force of the USB-to-serial converter from the location

As soon as the {hardware} and the software program can be found, step one is to attach the SDS011 module connector to the USB-serial converter connector, then join the USB connector of the USB-serial converter to a PC USB port.

As soon as the {hardware} is related, proceed with the software program set up, beginning with the USB-to-serial converter driver set up by unpacking the “” file and launching the “setup.exe” government file.

Earlier than continuing with the set up of the programme, it’s needed to make sure that the USB-to-serial converter driver has been efficiently put in. To do that, merely go to the PC’s peripheral administration and verify that within the “Ports (COM and LPT)” checklist there’s a USB-to-serial COM port identifiable by the title of the CH341SER driver, as proven in Fig. 5, which within the instance is COM13.


Fig. 5

Subsequently, the SDS011 administration programme for measurement knowledge acquisition and show is put in by unpacking the “Nova PM2.5 Sensor Software” file and launching the “SPM25Data.exe” file.

When this system is began, the SDS011 sensor configuration display will seem on the PC monitor as proven in Fig. 6. The programme will determine the related sensor gadget that may seem on the prime of the gadget checklist, or, if not current, choose it manually from the checklist.

The programme will mechanically detect additionally the communication port, for instance, COM13, by means of which the serial communication between PC and SDS011 sensor will happen.


Fig. 6


As soon as COM port seems in “Com Checklist”, press “Add>>” button to affiliate it to SDS011 sensor in “Machine Checklist”. In case no COM port is current within the “Com Checklist”, it’s potential to seek for a COM port manually by choosing “Manually serial port” button, then choose the gadget in “Machine Checklist” and the corresponding serial port that seems in “Com Checklist”, as proven in Fig. 6.


Lastly, click on on “Add>>”. As soon as the configuration of the sensor gadget affiliation to the COM port is completed, click on on “OK” to begin the measurement program. By default, the PC display will present the graph of the time course of the PM2.5 values in µg/m³ (Fig. 7).


Fig. 7


Observe, with the full-scale set at 30 µg/m³, the very low values of PM2.5, lower than 4 µg/m³, reveal superb air high quality within the measured setting, i.e., values contained throughout the vary 0-15 µg/m³ relative to the band of low PM2.5 values in Desk 1 of the European air high quality values. From the “Show Mode” checklist, choose “PM10 for all gadgets” to show the PM10 graph, or the “PM2.5 and PM10…” button to acquire the graph of the simultaneous measurement of PM2.5 and PM10 values in µg/m³.

Fig. 8 exhibits this graph. Within the graph in the identical Fig. 8, once more with a full scale of 30 µg/m³, PM10 values are discovered which are greater than these of PM2.5, however not greater than 20 µg/m³, i.e., contained throughout the vary 0-25 µg/m³ relative to the band of low PM10 values in Desk 1 (European air high quality values). Additional data on the set up, configuration and use of SDS011 might be discovered within the “Consumer Information” within the “Nova PM2.5 Sensor Software program-En-V1.88” folder.


Fig. 8


The challenge or slightly, the appliance offered in these pages is the place to begin for the implementation of mixed techniques able to analysing air high quality and may very well be mixed with a CO2 share meter such because the one printed in situation 219 of Might 2017. The entire may very well be built-in with a climate station to acquire world monitoring of indoor/out of doors environmental parameters.

From openstore