@Rftop FYI the guy who created the library for the dust sensor just sent me a email saying he added the Air Quality Index feature to the code if we want to try it.
Let me know if you try it out.
Just completed an AirQuality Index library that works with an SPS30 for different regions. It is example 10 and needs a seperate library to be downloaded GitHub - paulvha/airquality: Provides an air quality index for different regions based on PM2.5 and/or PM10.
I have designed and tested only on ESP32 as needed enough memory, as well as a board that does NOT reset when a serial monitor is connected. Not enough knowledge about the boards you use.
regards,
Paul