Mabee CO2

From MakerFabsWiki
Jump to: navigation, search

Introduction

This Mabee module is an air quality monitor. Based on SGP30, this module provides TVOC(Total Volatile Organic Compounds) and CO2eq output; Based on the Sensirion temperature/ humidity sensors SHT31, it output highest-accuracy ±2% relative humidity and ±0.3°C accuracy temperature.
VOC(Volatile Organic Compound). due to the chemical characteristics of itself, which has more dangerous in the enclosed place. so we always pay attention to the content of VOC in the enclosed place. And all kind of VOC measured are collectively called as TVOC(Total Volatile Organic Compounds)
Unlike some other TVOC/eCO2 testing boards, that require the users to get the humility/ temperature by some other way, or use a “default parameter”, Makerfabs made the SGP30/ SHT31 sensor together on the same board, to ensure that the true humidity/ temperature can be measured simultaneously, to calibrate& ensure the VOA/eCO2 testing accurate and reliable. In the hardware design, as the SGP30 heat the air/ board in the testing, the slot is designed to isolate the 2 sensors, to ensure the SHT31 measures the true environment humidity/ temperature.
This module fits applications such as indoor air quality monitoring, air purifier and so on.

Model:MABSGP30
Mabee-CO2 MODELE1.0.jpg Mabee-CO2 MODELE2.0.jpg ,

Feature

  • SGP30 I2C address: 0x58; SHT31 I2C address: 0x44
  • Thermal isolation by hardware slot
  • I2C Grove-compatible interface
  • Working voltage: 3.3v
  • Weight: 9g

SGP30

  • Multi-pixel gas sensor for indoor air quality applications
  • Outstanding long-term stability
  • I2C interface with TVOC and CO2eq output signals
  • Very small 6-pin DFN package: 2.45 x 2.45 x 0.9 mm3
  • Low power consumption: 48 mA at 1.8V
  • Tape and reel packaged, reflow solderable

SHT31

  • Fully calibrated, linearized, and temperature compensated digital output
  • Wide supply voltage range, from 2.15 V to 5.5 V
  • I2C Interface with communication speeds up to 1 MHz and two user selectable addresses
  • Typical accuracy of 1.5 %RH and 0.1 °C for SHT35
  • Very fast start-up and measurement time
  • Tiny 8-Pin DFN package

Hardware

ESP32-C3-text.png

Usage

All the projects are based on ESP32-C3(RISC-V) SPI TFT Touch 3.5 ILI9488 board.
Mabee CO2 connected to ESP32-C3(RISC-V) SPI TFT Touch 3.5 ILI9488 board as follows.
Mabee-CO2 and C3 positive.jpg Mabee-CO2 and C3 on back.jpg

Software setup

Note: It maybe appears different results in another versions, the same version is recommended.
1.Install the Arduino IDE V1.8.10.
2.Install the ESP32-C3 boards supporting package V2.0.5

ESP32-C3-1.jpg

  • Click “Tools>Board>Boards Manager” to search for and install the ESP32 library:

Usage2 . jpg.png
3.Select and setting the parameter in the Tools menu, as the picture:

Usage3.jpg
Note: Different PC has different Serial COM number.

1.I2C_SCAN

The demo can detect all the I2C communication addresses, you can Validate them.
1. You can get the source code from Github
2. Open the file 01_I2C_SCAN
3. Verify it and upload
Usage4.jpg
4. After done uploading, you will see the Serial Monitor as follows.
ESP32-C3-5 new.png

2.SHT31test

The demo shows that Mabee_CO2 measures Temperature/Humidity and displays it in the serial monitor.
1.You can get the source code from Github
2.Open the file 02_SHT31test
3.Verify it and upload
4.After done uploading, you will see the Serial Monitor as follows.
Usage6.png

3_SGP30test

The demo shows that Mabee_CO2 measures TVOC/eCO2 and displays it in the serial monitor.
1.You can get the source code from Github
2 Open the file 03_sgp30test
3 Verify it and upload
4 After done uploading, you will see the Serial Monitor as follows.
Usage7.png

4_sgp30test_with_Humidity_Compensation

By reading the datasheet of SGP30 we can know that it has built in calibration capabilities. but we increase the SHT30 sensor to set humidity/temperature compensation for better accuracy. The demo shows that TVOC/eCO2 measure value is more reliable and accurate by humidity/temperature compensation.
1.You can get the source code from Github
2 Open the file 04_sgp30test_with_Humidity_Compensation
3 Verify it and upload
4 After done uploading, you will see the Serial Monitor as follows.
Usage8.png
Now we only change the environment humidity/temperature to verify the sensor measure value can sensitive.
In this demo, by using the temperature and humidity compensation to ensure the accurate and reliable value of measurement, the numerical change becomes more sensitive.
ESP32-C3-2 compensation no hand.png
Using the hand to artificially change the environment. Get a set of reference.
ESP32-C3-2 compensation.png
In this control group, by using the hand to cover the sensor and the temperature and humidity will be changed. temperature and humidity compensation to ensure the accurate and reliable value of measurement, the numerical change becomes more sensitive.

5_Mabee_CO2_display

The demo shows that the Mabee_CO2 measure value is displayed in the LCD, it also uses the temperature/humidity compensation.
1.You can get the source code from Github
2.Open the file: Mabee_CO2_display.
3.Verify it and upload.
4.After done uploading, you will see the Serial Monitor as follows.

With C3 display.jpg

FAQ

You can list your question here or contact support@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.

  • Q1:Can't upload the code
  • A1:Let ESP32 in download mode by pressing the RESET key after hold the FLASH key when you're uploading the code.

Resources