airquality9 2.0.0.0
|
Air quality 9 Click is a compact add-on board containing a best-in-class air-quality sensing solution. This board features the ENS160, a digital multi-gas sensor solution based on metal oxide (MOX) technology with four MOx sensor elements from ScioSense. Each sensor element has independent hotplate control to detect a wide range of gases. The ENS160 series features TrueVOC™ air quality detection and supports intelligent algorithms, which calculate CO2 equivalents, TVOC, air quality index (AQI), and perform humidity and temperature compensation. This Click board™ is interface-configurable and characterized by outstanding long-term stability and lifetime.
We provide a library for the Air Quality 9 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 9 Click driver.
airquality9_cfg_setup
Config Object Initialization function. airquality9_init
Initialization function. airquality9_default_cfg
Click Default Configuration function. airquality9_read_aqi_uba
This function reads the Air Quality Index per UBA (AQI-UBA). airquality9_read_tvoc
This function reads the calculated Total Volatile Organic Compounds (TVOC) concentration per ppb. airquality9_read_eco2
This function reads the calculated Equivalent CO2 (eCO2) concentration per ppm. This example demonstrates the use of Air Quality 9 click board by reading and displaying outputs such as eCO2, TVOC and AQI in compliance with worldwide IAQ standards.
The demo application is composed of two sections :
Initializes the driver and logger and performs the click default configuration.
Waits for the new data interrupt which triggers once per second,
and then reads the validity status, TVOC, eCO2, and AQI-UBA values. All values are being displayed on the USB UART 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.