Air Quality Click Board
The Air Quality Click Board™ features MQ-135 gas sensor in its design for measuring the air quality in apartments, homes and offices. This add-on board helps the users in detecting poisonous gases like ammonia (NH3), nitrogen oxides (NOx), benzene, CO2, smoke and others that harm the air quality, and pollute it. Air quality Click Board™ is equipped with a calibration potentiometer and a power indicator LED. It also has got a MikroBUS host socket and two jumpers. The MQ-135 sensor features a gas sensing layer constructed of tin dioxide which is an inorganic compound with the formula SnO2. Tin dioxide is known to have lower conductivity in clean air.
As the level of pollution increases in the air, the conductivity rises too. User can calibrate Air quality Click Board™ for the environment by adjusting the load resistance of the sensor circuit. As the concentration of the target air changes, the resistance of the sensor component also gets changed.
- High-sensitivity poisonous gases sensor made of tin dioxide: MQ-135
- Potentiometer for calibration with the environment
- Power indicator LED
- Two jumpers
- mikroBUS form factor enables easy integration
- Supported in all MikroElektronika compilers
The Air quality 3 Click Board™ is the air quality measurement device, which is able to output both equivalent CO2 levels and total volatile organic compounds (TVOC) concentration in the indoor environment. The Click Board™' is equipped with the state-of-the-art air quality sensor IC, which has an integrated MCU and a specially designed metal oxide (MOX) gas sensor microplate, allowing for high reliability, fast cycle times and a significant reduction in the power consumption, compared to other MOX sensor-based devices. The Click Board™' is also equipped with a temperature compensating element, which allows for increased measurement accuracy.
This Click Board™' outputs processed values for the equivalent CO2 levels (parts per million - ppm) and TVOC (parts per billion - ppb), based on raw gas readings, processed by the internal MCU. The values can be directly accessed via the I2C bus, which saves the software development time, allowing faster time to market. These features make Air quality 3 Click a perfect solution for a wide range of both portable and stationary applications for measuring and monitoring the air quality in offices, storage areas, for home and building air conditioning automation and similar applications that require a reliable, low power eCO2 and TVOC level measurements.
How Does it Work?
Air quality 3 Click is equipped with the CCS811, an advanced ultra-low power digital gas sensor for monitoring the indoor air quality (IAQ), from ams. This IC consists of an analog section consisting of a MOX gas sensor, based on ams unique micro-hotplate technology which allows high reliability, fast cycle times and very low power consumption; and the digital section, which consists of an embedded microcontroller (MCU) and an analog to digital converter (ADC). The CCS811 sensor IC employs advanced algorithms to calculate the raw sensor data and output the equivalent CO2 and TVOC values. It utilizes the internal MCU for this purpose, reducing the payload on the host MCU.
Because of the nature of the MOX sensors, the CCS811 sensitivity will change over the time, especially in early life use. The internal sensor resistance will change the most for the first 48 hours of operation. So, to achieve a proper operation of this sensor, it has to be calibrated during several different phases of its lifecycle. Since this step is important for achieving accurate IAQ results, it is strongly advised to be carefully studied from the CCS811 datasheet.
There are five operating modes available for the Air quality 3 Click:.
- Mode 0 (idle mode), which uses the least power of all modes. The sensor stays dormant and no readings are made in this mode
- Mode 1 (constant power mode) the IAQ measurement is performed every second
- Mode 2 (pulse heating mode) the IAQ measurement is performed every 10 seconds
- Mode 3 (low power pulse heating mode) the IAQ measurement is performed every 60 seconds
- Mode 4 (constant power mode) the IAQ measurement is performed every 250ms
These modes affect the power consumption of the Air Quality 3 Click, as well as the frequency of the data sampling. Depending on the given conditions, the device can be set to be operated in any of these modes. However, it should be noted that the device should be set to idle mode for at least 10 minutes, before switching from higher frequency measurement mode, to a lower frequency measurement mode. The TVOC and eCO2 values are calculated for modes 1, 2 and 3, while Mode 4 is intended to be used when external data processing is required, giving only raw value readings.
The Click Board™' communicates with the host MCU via the I2C bus. SCL and SDA pins of the CCS811 IC are routed to the corresponding mikroBUS pins, allowing easy and secure connection with the development system. There is yet another pin used with the I2C communication, that is not the part of the standard I2C bus: the #WAKE pin has to be set to a LOW logic level before the communication is attempted. This pin is routed to the CS pin of the mikroBUS. The I2C bus lines are equipped with the pull-up resistors, so a communication can be established as soon as the Click Board™ is installed on the mikroBUS.The least significant bit of the I2C address is routed to the external pin of the CCS811 IC and it can be set to either HIGH or a LOW logic level. This can be done by an on-board SMD jumper, labelled as ADDR. It is useful when more than one device is used on the same I2C bus.
The #RESET pin is used to reset the device and it has to be pulled to a LOW logic level for at least 20s. It is pulled to a HIGH logic level by the on-board resistor and filtered by a capacitor, to prevent random reset of the device. The #RESET of the CCS811 sensor IC is routed to the mikroBUS RST pin.
The #INT pin allows another powerful feature of the Air Quality 3 Click to be used - a programmable interrupt request. This pin can be driven to a LOW state when there is data ready to be read via the I2C. It can also be programmed to be driven when the eCO2 measurement data exceeds the programmed threshold by the hysteresis value. This can be extremely useful for making an early CO2 warning system. Interrupts, in general, are very useful to avoid constant polling by the MCU, saving resources and energy that way. The #INT of the CCS811 sensor IC is routed to the mikroBUS INT pin.
Provided Click Board™ ' library contains functions which can be used to read and configure the Air quality 3 Click in a simple and comprehensive way. The provided example application demonstrates how to use these functions properly and can be used for a future development.
- Air Quality Click Board (1)
- 1x8 male headers (2)
- Printed User Manual and Board Schematic (1)