Tableau de bord de la qualité de l'air à 9 clics
Tableau de bord de la qualité de l'air à 9 clics
Overview
La carte Click Board™ Air Quality 9 est une carte complémentaire compacte contenant une solution de détection de la qualité de l'air de premier ordre. Cette carte comprend l'ENS160, une solution de capteur multigaz numérique basée sur la technologie des oxydes métalliques (MOX) avec quatre éléments de capteur MOx de ScioSense. Chaque élément de capteur dispose d'un contrôle de plaque chauffante indépendant pour détecter une large gamme de gaz. La série ENS160 est dotée de la détection de la qualité de l'air TrueVOC™ et prend en charge des algorithmes intelligents, qui calculent les équivalents CO2, TVOC, l'indice de qualité de l'air (AQI) et effectuent une compensation d'humidité et de température. Cette carte Click™ est configurable par interface et se caractérise par une stabilité et une durée de vie à long terme exceptionnelles. Cette carte Click™ constitue un excellent choix pour détecter les conditions d'air malsaines, telles que les moniteurs de qualité de l'air personnels, les systèmes CVC, les thermostats intelligents et d'autres applications liées à la qualité de l'air.
La carte Click Board™ Air Quality 9 est prise en charge par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette carte Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
How Does The Air Quality 9 Click Board™ Work?
The Air Quality 9 Click Board™ is based on the ENS160, an indoor air quality sensor based on metal oxide (MOX) technology with four MOx sensor elements from ScioSense. This sensor comes with sophisticated sensor fusion algorithms to produce measurement outputs that are better tuned to the natural response of human occupants. The multi-element TrueVOC™ technology, on which the ENS160 is based, is sensitive to oxidizing gases such as ozone which affect the quality of indoor air, as well as to a wide range of volatile organic compounds (VOCs) such as ethanol, toluene, as well as hydrogen and nitrogen dioxide with superior selectivity and accuracy. The ENS160 complies with worldwide Indoor Air Quality (IAQ) signal standards and is designed for high volume and reliability.
For best performance, the sensor needs to be operated in normal indoor air in the range -5 to 60°C (typical: 25°C), while relative humidity ranges from 20 to 80%RH (typical: 50%RH), non-condensing with no aggressive or poisonous gases present. Prolonged exposure to environments outside these conditions can affect the performance and lifetime of the sensor.
The Air Quality 9 Click Board™ allows using both I2C and SPI interfaces with a maximum frequency of 1MHz for I2C and 10MHz for SPI communication. The selection can be made by positioning SMD jumpers labelled as COMM SEL to an appropriate position. Note that all the jumpers' positions must be on the same side, or the Click board™ may become unresponsive. While the I2C interface is selected, the ENS160 allows choosing the least significant bit (LSB) of its I2C slave address using the SMD jumper labelled ADDR SEL. This Click board™ also possesses an additional interrupt signal, routed on the INT pin of the mikroBUS™ socket labelled as INT, indicating the status of the measurement process itself.
The ENS160 also requires a supply voltage of 1.8V to work regularly. Therefore, a small LDO regulator, AP2112 from Diodes Incorporated, provides a 1.8V out of mikroBUS™ 3V3 power rail. This LDO can be enabled or disabled through the EN pin routed to the PWM pin of the mikroBUS™ socket; hence, offering a switch operation to turn ON/OFF power delivery to the ENS160.
The Air Quality 9 Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Air Quality ,Gas |
Applications | The Air Quality 9 Click Board™ can be used for detecting unhealthy air conditions, such as personal air-quality monitors, HVAC, smart thermostats, and other air quality-related applications |
Key Features | Low power consumption, support for up to 4 independent MOX gas sensors, integrated sensor measurement and heater drive control, multiple IAQ outputs (TVOC, eCO2, AQI), selectable interface, immunity to humidity and ozone, and more |
Interface | I2C,SPI |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Air Quality 9 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | INT | Interrupt | |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | SCL | I2C Clock |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | SDA | I2C Data |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1-JP4 | COMM SEL | Right | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
JP5 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
AIR QUALITY 9 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
TVOC | 0 | - | 65.000 | ppb |
eCO₂ | 400 | - | 65.000 | ppm CO₂ |
Operating Humidity Range | -5 | 50 | 85 | %RH |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the Air Quality 9 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Air Quality 9 Click Board™ driver.
Key functions
-
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.
Example Description
This example demonstrates the use of the Air Quality 9 Click Board™ by reading and displaying outputs such as eCO2, TVOC and AQI in compliance with worldwide IAQ standards.
void application_task ( void )
{
if ( airquality9_get_int_pin ( &airquality9 ) )
{
uint8_t status, aqi_uba;
uint16_t tvoc, eco2;
if ( AIRQUALITY9_OK == airquality9_read_status ( &airquality9, &status ) )
{
airquality9_display_status_validity ( status );
}
if ( AIRQUALITY9_OK == airquality9_read_tvoc ( &airquality9, &tvoc ) )
{
log_printf ( &logger, " TVOC: %u ppbrn", tvoc );
}
if ( AIRQUALITY9_OK == airquality9_read_eco2 ( &airquality9, &eco2 ) )
{
log_printf ( &logger, " ECO2: %u ppmrn", eco2 );
}
if ( AIRQUALITY9_OK == airquality9_read_aqi_uba ( &airquality9, &aqi_uba ) )
{
airquality9_display_aqi_uba ( aqi_uba );
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.AirQuality9
Additional Notes and Information
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.
MIKROSDK
The Air Quality 9 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the Air Quality 9 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Air Quality 9 Click Board™ driver.
Key functions
-
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.
Example Description
This example demonstrates the use of the Air Quality 9 Click Board™ by reading and displaying outputs such as eCO2, TVOC and AQI in compliance with worldwide IAQ standards.
void application_task ( void )
{
if ( airquality9_get_int_pin ( &airquality9 ) )
{
uint8_t status, aqi_uba;
uint16_t tvoc, eco2;
if ( AIRQUALITY9_OK == airquality9_read_status ( &airquality9, &status ) )
{
airquality9_display_status_validity ( status );
}
if ( AIRQUALITY9_OK == airquality9_read_tvoc ( &airquality9, &tvoc ) )
{
log_printf ( &logger, " TVOC: %u ppbrn", tvoc );
}
if ( AIRQUALITY9_OK == airquality9_read_eco2 ( &airquality9, &eco2 ) )
{
log_printf ( &logger, " ECO2: %u ppmrn", eco2 );
}
if ( AIRQUALITY9_OK == airquality9_read_aqi_uba ( &airquality9, &aqi_uba ) )
{
airquality9_display_aqi_uba ( aqi_uba );
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.AirQuality9
Additional Notes and Information
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.
MIKROSDK
The Air Quality 9 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.