{"id":27878684,"url":"https://github.com/m5stack/m5unit-env","last_synced_at":"2025-05-05T03:14:20.765Z","repository":{"id":43073982,"uuid":"380147319","full_name":"m5stack/M5Unit-ENV","owner":"m5stack","description":"Contains M5Stack-UNIT ENV series related case programs.ENV is an environmental sensor with integrated SHT30 and QMP6988 internally to detect temperature, humidity, and atmospheric pressure data.","archived":false,"fork":false,"pushed_at":"2025-04-30T06:23:14.000Z","size":1025,"stargazers_count":46,"open_issues_count":4,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-05T03:14:12.863Z","etag":null,"topics":["m5stack"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m5stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-25T06:35:29.000Z","updated_at":"2025-04-10T12:34:04.000Z","dependencies_parsed_at":"2024-03-28T05:26:17.959Z","dependency_job_id":"9cd37f94-2662-4773-bb4f-f6f5c61d75cd","html_url":"https://github.com/m5stack/M5Unit-ENV","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5Unit-ENV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5Unit-ENV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5Unit-ENV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5Unit-ENV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m5stack","download_url":"https://codeload.github.com/m5stack/M5Unit-ENV/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252429957,"owners_count":21746573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["m5stack"],"created_at":"2025-05-05T03:14:20.085Z","updated_at":"2025-05-05T03:14:20.757Z","avatar_url":"https://github.com/m5stack.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# M5Unit - ENV\n\n## Overview\n\n### SKU:U001 \u0026 U001-B \u0026 U001-C \u0026 U090 \u0026 U053-B \u0026 U053-D \u0026 U103\n\nContains M5Stack-**UNIT ENV \u0026 Hat ENV \u0026 UNIT BPS \u0026 UNIT CO2** series related case programs.\n\nENV is an environmental sensor with integrated SHT30 and QMP6988 internally to detect temperature, humidity, and atmospheric pressure data.\n\nBPS is a barometer unit, which integrates the Bosch BMP280 pressure sensor to measure atmospheric pressure and estimate the altitude.\n\nBPS(QMP6988) Unit is a barometer unit that uses QMP6988 barometric pressure sensor to measure atmospheric pressure and altitude estimation\n\nCO2 is a photoacoustic Carbon Dioxide (CO2) Unit that will tell you the CO2 PPM (parts-per-million) composition of ambient air.\n\n## Related Link\n\n- [Unit ENVIV - Document \u0026 Datasheet](https://docs.m5stack.com/en/unit/ENV%E2%85%A3%20Unit)\n- [Unit ENVIII - Document \u0026 Datasheet](https://docs.m5stack.com/en/unit/envIII)\n- [Unit ENVII - Document \u0026 Datasheet](https://docs.m5stack.com/en/unit/envII)\n- [Unit ENV - Document \u0026 Datasheet](https://docs.m5stack.com/en/unit/env)\n- [Hat ENVIII - Document \u0026 Datasheet](https://docs.m5stack.com/en/hat/hat_envIII)\n- [Hat ENVII - Document \u0026 Datasheet](https://docs.m5stack.com/en/hat/hat_envII)\n- [Unit BPS - Document \u0026 Datasheet](https://docs.m5stack.com/en/unit/bps)\n- [Unit BPS(QMP6988) - Document \u0026 Datasheet](https://docs.m5stack.com/en/unit/BPS(QMP6988))\n- [Unit CO2 - Document \u0026 Datasheet](https://docs.m5stack.com/en/unit/co2)\n\n## Required Libraries:\n\n- [Adafruit_BMP280_Library](https://github.com/adafruit/Adafruit_BMP280_Library)\n- [Adafruit_Sensor](https://github.com/adafruit/Adafruit_Sensor)\n- [Sensirion I2C SCD4x](https://github.com/Sensirion/arduino-i2c-scd4x)\n- [Sensirion I2C SHT4x](https://github.com/Sensirion/arduino-i2c-sht4x)\n- [Sensirion Core](https://github.com/Sensirion/arduino-core)\n\n## License\n\n- [M5Unit-ENV - MIT](LICENSE)\n\n---\n\n## M5UnitUnified\nLibrary for Unit ENV using [M5UnitUnified](https://github.com/m5stack/M5UnitUnified).  \nM5UnitUnified is a library for unified handling of various M5 units products.\n\nM5UnitUnified currently supports the following units SKU:U001-C, SKU:U103, SKU:U169, and SKU:U088.\n\n### SKU:U088\n\nTVOC/eCO2 mini Unit is a digital multi-pixel gas sensor unit with integrated SGP30.\n\nIt mainly measures various VOC (volatile organic compounds) and H2 in the air. It can be programmed to detect TVOC (total volatile organic compounds) and eCO2 (equivalent carbon dioxide reading)Concentration measurement.\n\nTypical measurement accuracy is 15% within the measurement range, the SGP30 reading is internally calibrated and output, which can maintain long-term stability. SGP30 uses I2C protocol communication with on-chip humidity compensation function, which can be turned on through an external humidity sensor.\n\nIf you need to obtain accurate results, you need to calibrate according to a known measurement source. SGP30 has a built-in calibration function. In addition, eCO2 is calculated based on the concentration of H2 and cannot completely replace \"true\" CO2 sensors for laboratory use.\n\n## Related Link\nSee also examples using conventional methods here.\n\n- [UnitTVOC/eCO2 \u0026 Datasheet](https://docs.m5stack.com/en/unit/tvoc)\n\n\n### Include file\n```cpp\n#include \u003cM5UnitUnifiedENV.h\u003e // For UnitUnified\n//#include \u003cM5UnitENV.h\u003e // When using M5UnitUnified, do not use it at the same time as conventional libraries\n```\n### Supported units \n- Unit CO2\n- Unit ENVIII\n- Unit ENVPro\n- Unit TVOC\n\nSupported units will be added in the future.\n\n### Required Libraries:\n- [M5UnitUnified](https://github.com/m5stack/M5UnitUnified)\n- [M5Utility](https://github.com/m5stack/M5Utility)\n- [M5HAL](https://github.com/m5stack/M5HAL)\n\nThe Bosch library is required by ENVPro to obtain values that cannot be obtained without using the Bosch library.\n- [Bosch-BME68x-Library](https://github.com/boschsensortec/Bosch-BME68x-Library)\n- [Bosch-BSEC2-Library](https://github.com/boschsensortec/Bosch-BSEC2-Library) (Excluding NanoC6)\n\n### Examples\nSee also [examples/UnitUnified](examples/UnitUnified)\n\n### Doxygen document\n[GitHub Pages](https://m5stack.github.io/M5Unit-ENV/)\n\nIf you want to generate documents on your local machine, execute the following command\n\n```\nbash docs/doxy.sh\n```\n\nIt will output it under docs/html  \nIf you want to output Git commit hashes to html, do it for the git cloned folder.\n\n#### Required\n- [Doxyegn](https://www.doxygen.nl/)\n- [pcregrep](https://formulae.brew.sh/formula/pcre2)\n- [Git](https://git-scm.com/) (Output commit hash to html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm5stack%2Fm5unit-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm5stack%2Fm5unit-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm5stack%2Fm5unit-env/lists"}