Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • iLabs Platform
      • Raspberry Pi Platform (MCU)
      • Seeed Platform
      • Silicon Labs Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms >
      • chipKIT Plaform
      • 4D Systems Platform
      • Intel Platform
      • LaunchPad Plaform
      • BoosterPacks for LaunchPads
      • LightBlue Bean
      • Maple Plaform
      • Mediatek Platform
      • Microsoft Azure IoT DevKit
      • Particle Platform
  • Software
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
    • Going Python?
  • IoT
    • IoT Platforms: Which Hardware? >
      • Matter with Silicon Labs MG24
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDE >
      • The Battle of IDEs
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote E-Paper Weather and Message Board
      • Typie-Walkie with LoRa and E-Paper Screen
      • Typie-Walkie with E-Paper Screen
      • Remote e-Paper Pictures Panel
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Air Quality Monitoring
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

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.


Picture

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).

Picture

Pervasive Displays EXT3.1 extension board and colour 2.66” e-paper screen

The Pervasive Displays EXT3.1 extension board drives the “Spectra 4” black-white-red-yellow colour 2.66” e-paper screen.

The Pervasive Displays EXT3.1 extension board is connected to the main controller through the SPI bus.


Picture

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

Picture

Software

Libraries

Development was done using off-the-shelves libraries.
  • The Silicon Labs Arduino Core ports the Gecko SDK to the Arduino SDK.
  • The Sensirion I²C SEN66 Arduino Library supports the sensor.
  • The Pervasive Displays Library Suite - Basic edition and the Pervasive Displays BWRY Small driver driver manage the e-paper screen.

Picture

Data interpretation

The major challenge was to interpret the measures and associate the right level of warning.

The project provides five levels, out of the six recommended, with distinctive colours for easy reading.



Picture
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.

Picture

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.
Picture

Conclusion

Thanks to the advanced sensor and display technologies, the development of this project was fast and easy.

Extensions could include accumulated measures for the particulate matters and a Matter connectivity for temperature, relative humidity and VOC level.
Picture

External links

Hardware
  • Pervasive Displays EXT3.1 extension board
  • Pervasive Displays “Spectra 4” 2.66” 266-QS-OJ
  • Silicon Labs EFR32xG24 Explorer Kit (xG24-EK2703A)
  • Sensirion SEN66 Sensing platform for PM, RH/T, VOC, Nox and CO2 measurements
Software
  • Pervasive Displays Library Suite Basic edition
    • Pervasive Displays Library Suite Common library
    • Pervasive Displays BWRY Small driver
  • Silicon Labs Arduino Core
  • Sensirion I²C SEN66 Arduino Library
    • Sensirion Arduino Core Library

Posted: 28 Apr 2025
Powered by Create your own unique website with customizable templates.