Ozone 2 click is an Ozone detection (O3) sensor, based on the MQ131 gas sensor. This gas sensor has a sensitive layer made of SnO2, which changes its resistance when exposed to ozone. The sensor is able to sense O3 concentration in the range of 10 ppm to 1000 ppm. The Click board™ is also equipped with a trimmer potentiometer, used to adjust the sensitivity and offset of the MQ131 sensor. Low cross-influence of other oxidation gases such as CL2 and NO2, ensures a good accuracy of the sensor. The analog output of the sensor is sampled by a high-resolution 22-bit A/D converter (ADC), which offers the conversion result on the SPI interface. The analog signal from the sensor is also available, allowing an external ADC to be used.
This product is no longer in stock
Featuring an accurate 22-bit ADC and a high-quality O3 sensor protected by a stainless mesh, this Click board™ can be used in a range of applications used to measure or detect O3 gas concentrations in the atmosphere, for small testing equipment development, various warning systems for air quality / ozone pollution, and other similar applications that are used for the ozone concentration detection and monitoring.
The main sensor component of the Ozone 2 click is the MQ131 ozone (O3) gas sensor from Hanwei Electronics, which uses the SnO2 (tin-oxide) alloy, which decreases its resistance while exposed to the O3 gas. The greater the O3 concentration is, the more conductive this material becomes. This can be utilized to obtain the O3 concentration readings. The sensor itself contains a small heating element, connected to 5V power supply. It needs to be preheated for 48h before it can perform as specified. The sensitivity of the sensor is given as the ratio between the resistance in air and the resistance in the O3 gas concentration of 50ppm, which is ≥ 3 (RO/RS ≥ 3). The sensor is protected against particles and mechanical damage by a stainless mesh, however, exposing to excessive moisture and corrosive gases can damage the inner structure.
The measuring circuit consists of the MQ131 sensor, a power source and a load resistor (RL) between the output pin and GND. The sensor with its internal resistance forms a voltage divider with the load resistor. The RL is designed as a variable resistor, allowing the output voltage to be trimmed to the desired value. The calibration should be performed in controlled conditions, as the resistance of the sensor is affected by both the ambient temperature and humidity. The sensor can be used to measure relative O3 concentration change without an accurate calibrating, which is useful for building applications that can be used as warning systems. The middle tap of the sensor-RL voltage divider is routed to an SMD jumper labeled as ADC SEL. This jumper can be used to redirect the measuring voltage either to the ADC for sampling or to the AN pin, so it can be used in an external circuitry (external ADC or some other form of measurement signal conditioning).
The MCP3551, a 22bit sigma-delta ADC from Microchip is used to sample the output of the sensor when selected by the ADC SEL jumper. This ADC converts the input voltage with a very high resolution of 22 bits and low noise, to a digital data, which can be obtained via the SPI interface of the Click board™. This ADC uses the reference voltage which is the same as the power supply voltage, and in this case, it is powered by 5V from the mikroBUS™ power rail. The reference voltage is used to calculate the value of the input voltage based on data received from the SPI bus, by using the following formula:
VSENS = DATA x VREF / FS
VREF is the same as the power supply for this circuit, which means VREF = 5V, and the highest number written with 22 bits (FS) is 4,194,303. DATA is the 22-bit conversion value.
As already mentioned, the ADC uses a 5V power supply. Therefore, this board needs a level conversion circuitry in order to be interfaced with 3.3V MCUs. This Click board™ uses the TXB0106 IC, a 6-bit bidirectional level shifting IC from Texas Instruments, which is used to shift communication logic voltage levels from 5V to 3.3V. The voltage shift depends on the reference voltage on the VCCA pin, which can be selected with the SMD jumper, labeled as the VCCIO SEL.
It can be used in different Ozone concentration detectors for air quality control, or for gas leak detection.
MQ131 sensor, MCP3551
Ozone concentration 10-1000 ppm, communicates over the AN pin or ADC MCP3551, sensitivity Rs(in air)/Rs(in 50 ppm O3)≥3, onboard potentiometer for calibration
3.3V or 5V
Click board size
L (57.15 x 25.4 mm)
This table shows how the pinout on Ozone 2 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
|SPI Chip Select||CS||3||CS||TX||14||NC|
|SPI Data OUT||SDO||5||MISO||SCL||12||NC|
|SPI Data IN||SDI||6||MOSI||SDA||11||NC|
|Power supply||+3.3V||7||3.3V||5V||10||+5V||Power supply|
|PWR||PWR||-||Power LED indicator|
|JP1||VCCIO SEL.||Left||Logic voltage level selection: left position 3V3, right position 5V|
|JP2||ADC SEL.||Left||Analog signal routing selection: left position - signal is routed to the ADC, right position - signal is routed to the AN pin of mikroBUS™|
|VR1||-||-||Potentiometer for adjusting the sensor sensitivity|
We provide a library for Ozone 2 click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The library carries functions for initialization and reading the pa a digital value from MCP3351. Conversion of value to PPM is not covered by the library because it depends on the measurement environment.
uint32_t ozone2_read()- Reads a digital value from MCP3351 ADC circuit
The application is composed of three sections :
readValue = ozone2_read();
mikrobus_logWrite("Read Value: ",_LOG_TEXT);
Keep on mind that this is a raw measurement which should be converted to exact Ozone PPM value using formulas provided by circuit producer. Conversion to PPM depends on few conditions - more details
can be found in the datasheet.
The full application code, and ready to use projects can be found on our
mikroE Libraries used in the example:
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
This 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.
For more information about mikroSDK, visit the official page.