airquality11
2.1.0.0
|
Air Quality 11 Click is a compact add-on board for monitoring and analyzing indoor air quality. This board features the ENS161, a multi-gas sensor from ScioSense based on metal oxide (MOX) technology, to detect a range of volatile organic compounds with high sensitivity. The board supports I2C and SPI communication protocols, allowing flexible integration with various MCU platforms. It can calculate equivalent CO2 and TVOC levels and provide standardized air quality indices directly on-chip.
We provide a library for the Air Quality 11 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Air Quality 11 Click driver.
airquality11_cfg_setup
Config Object Initialization function. airquality11_init
Initialization function. airquality11_default_cfg
Click Default Configuration function. airquality11_get_aqi_uba
This function reads the calculated Air Quality Index according to the UBA. airquality11_get_tvoc
This function reads the calculated equivalent TVOC concentration in ppb. airquality11_get_aqi_s
This function reads the calculated relative Air Quality Index proprietary to ScioSense. This example demonstrates the use of the Air Quality 11 Click board by reading and displaying the calculated Air Quality Index according to the UBA and ScioSense, and equivalent TVOC and CO2 concentration.
The demo application is composed of two sections :
The initialization of I2C and SPI module and log UART. After driver initialization, the app sets the default configuration.
The demo application displays the Air Quality Index of the UBA information, concentration of the TVOC and CO2 and Air Quality Index according to ScioSense. Results are being sent to the UART Terminal, where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.