SDS011 the Air High quality Sensor – Open Electronics

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

Air air pollution, and specifically 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 primarily based on advanced devices geared up 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, if you happen to desire), there’s a lengthy line-up of cheaper detectors which are inexpensive for most of the 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 tips on how to use it to measure the air high quality within the surroundings wherein we stay, 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, referred to as Particulate Matter-PM, categorised by measurement 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 will produce dangerous results on well being. We’ve got mentioned that particulate matter is classifiable in response to the scale 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 provide you an concept of the idea, Fig. 1 illustrates the scale comparability in micrometres between particles of various natures; it’s fascinating to watch the scale of a grain of sand, on common about 90 µm, compared with the scale of PM2.5 and PM10 particles.

Particulate matter within the surroundings is generated by pure and human processes; monitoring air air pollution attributable to human actions is a vital indicator of air high quality. In lots of functions associated to human wellbeings, comparable 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 Widespread Air High quality Index (CAQI), is an air high quality index utilized in Europe since 2006. In November 2017, the European Atmosphere 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 commonplace 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 when it comes to the goodness of the air, we transfer on to clarify the method used to function the sensor used within the undertaking we’re presenting: the laser method.

A laser sensor is an built-in system consisting basically of the next components: a laser mild supply, a detection chamber, a photodiode, a microcontroller, a communication interface and a fan to suck within the air to be analysed, which mainly 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 mild 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 via 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 stage, modulated by the particle focus, right into a corresponding voltage worth, ensuing from the fluctuations of the reverse present as a result of laser mild.

The values that the voltage takes on as a operate of the focus of particles hit by the laser mild, 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 comprises 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 stage.

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

The usage of lasers within the SDS011 makes it doable to detect concentrations of particles starting from 0.3 to 10 microns in diameter. The measured knowledge are due to this fact steady 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. Be aware 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 situated.


The communication interface

SDS011 can ship PM measurement knowledge externally, i.e., to a PC, microcontroller, and many others., through the communication interface.

From Desk 3, regarding the description of SDS011 pins, we are able to see that PM2.5 and PM10 measurement knowledge may be collected via the measurement of PWM output pulse alerts and the UART serial communication interface.

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

Principally, 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 alerts. The UART serial interface is the communication system we’re focused on, 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 should be set on the PC with these communication parameters: bit price 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 may be bought from our retailer (Product Code: 8300-PMSENSOR) and in addition consists of the USB-to-serial converter.

So far as the software program is anxious, it’s doable to obtain the compressed information “Nova PM2.5 Sensor” of this system for displaying graphs of the measurement outcomes and “” of the motive 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 linked, 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 mandatory 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 examine that within the “Ports (COM and LPT)” record there’s a USB-to-serial COM port identifiable by the identify 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 linked sensor system that may seem on the high of the system record, or, if not current, choose it manually from the record.

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


Fig. 6


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


Lastly, click on on “Add>>”. As soon as the configuration of the sensor system affiliation to the COM port is completed, click on on “OK” to start out 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


Be aware, 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 surroundings, i.e., values contained inside 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” record, 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 increased than these of PM2.5, however not increased than 20 µg/m³, i.e., contained inside the vary 0-25 µg/m³ relative to the band of low PM10 values in Desk 1 (European air high quality values). Additional info on the set up, configuration and use of SDS011 may be discovered within the “Person Information” within the “Nova PM2.5 Sensor Software program-En-V1.88” folder.


Fig. 8


The undertaking or quite, the appliance introduced in these pages is the place to begin for the implementation of mixed techniques able to analysing air high quality and might be mixed with a CO2 proportion meter such because the one printed in subject 219 of Could 2017. The entire might be built-in with a climate station to acquire world monitoring of indoor/out of doors environmental parameters.

From openstore