I am trying to create an air quality monitoring device that measures PM2.5 and PM10. I am using a Raspberry Pi with the GrovePi+ HAT, and the Shinyei PPD42 particulate sensor connected to port D2. This is all working and I am getting readings on the RPi. However, the raw value that the code gets from the GrovePi is Low Pulse Occupancy (LPO) time. I know that the Shinyei PPD42 sensor has P1 and P2 outputs, measuring particles above 1um and 2.5um respectively. This post explains it well. Does anyone know how I can get these readings from the GrovePi instead of the LPO time?
The wiki (link) for this sensor states the feature “Dual output for the particle size over 1 micron and 2.5 micron”, which suggests that this is possible somehow.