Air Quality Monitoring
The Air Quality Monitoring project runs on the Silicon Labs EFR32xG24 Explorer Kit, acquires PM, RH/T, VOC, NOx and CO2 measurements from the Sensirion SEN66 sensing platform, and displays them on the Pervasive Displays “Spectra 4” 2.66” four colours screen.
The project is developed with the Arduino IDE, the Silicon Labs core for Arduino and the Basic edition of the Pervasive Displays Library Suite. |
Hardware
Sensirion SEN66
The Sensirion SEN66 is an all-in-one sensor that measures particulate matters, temperature, relative humidity, CO2, calculates indexes for VOC and NOX.
The Sensirion SEN66 is connected to the main controller through the I²C bus. The box includes the cable for 4-way JST SH connector with a 1mm pitch, also compatible with Qwiic (Sparkfun) and Stemma QT (Adafruit). |
Pervasive Displays EXT3.1 extension board and colour 2.66” e-paper screen
Silicon Labs EFR32xG24 Explorer Kit
The Silicon Labs EFR32xG24 Explorer Kit is based on the EFR32MG24 SOC, a low-power Cortex M33 with multi-protocol 2.4 GHz connectivity, including Matter, BLE and Zigbee.
It includes a Segger J-Link on-board debug probe, a great tool for programming and debugging. Left, the EFR32MG24 SOC with multi-protocol 2.4 GHz radio
Right, the EFM32GG12 MCU with the on-board Segger J-Link |
Software
Libraries
Development was done using off-the-shelves libraries.
|
Data interpretation
There are many different formulas to calculate the humidex from temperature and relative humidity.
The most challenging measures are the particulate matters. After some search, ChatGPT came to the rescue with detailed lists of thresholds for each size, 1.0, 2.5, 4.0 and 10.0 µm. The full transcript of the session is available at Air Quality Thresholds. Actual monitoring of particulate matters considers accumulated measures with daily limits. |
Code
The code is very standard. All the measures use the float type.
The two push buttons of the Silicon Labs EFR32xG24 Explorer Kit provide extra features. Button 0 stops the device; while Button 1 displays the About page. The code reads the values every minute and updates the screen every ten minutes. Despite the compact size of the screen, critical measures instantly pop up. Each section displays the name, unit, value and trend of the measure. The screen below simulates different levels with the corresponding front and background colours. The code is available at the PDI EXT3 Air Quality GitHub repository. |
Conclusion
External links
Posted: 28 Apr 2025