PMS5003 Sensor Library for Esp32 idf
Plantower PMS5003 is a laser dust sensor. It can sense particulates of various sizes (PM1, PM2.5, PM10) from sources like smoke, dust, pollen, metal and organic particles.
This library can be used with multiple sensors at the same time. For each sensor you can choose between one shot or periodic data read.
The source code is available on my GitHub at the following link.
Working principle This sensor uses laser scattering to radiate suspending particles in the air, then collects scattering light to obtain the curve of scattering light change with time.