Mabee CO2

From MakerFabsWiki
Revision as of 09:48, 29 September 2022 by Hefang (talk | contribs) (Introduction)

Jump to: navigation, search

Introduction

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)
Mabee_TVOC and eCO2 SGP30 & Temperature and Humidity SHT31
As a product of Mabee series, which is the new number of the Pico W Primer Kit. it can measure sensitively for TVOC and eCO2, also it can precisely measure the temperature and humidity at the same time. Not only that through the temperature and humidity compensation to to ensure accurate and reliable value of measurement. No matter you by the means of it to learning or product desgin,etc.

Model:MABSGP30

Feature

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

500px


Usage

Software setup

Note: It shows different results in some version, the same version is recommaned.
1.Install the Arduino IDE V1.8.10.
2.Install the ESP32-C3 boards supporting package V2.0.5

Usage1.jpg.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

1. You can get the sourve 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 follow.
750px

2.SHT31test

1.You can get the sourve 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 follow.
Usage6.png

3_SGP30test

1.You can get the sourve 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 follow.
Usage7.png

4_sgp30test_with_Humidity_Compensation

1.You can get the sourve 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 follow.
Usage8.png
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.

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.

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

Resources