Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Commits
8b7207b0
Commit
8b7207b0
authored
4 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
change(bsec): Update documentation
parent
ea3bf8f2
No related branches found
No related tags found
1 merge request
!444
change(bsec): Update documentation
Pipeline
#5080
passed
4 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/pycardium/bme680.rst
+15
-1
15 additions, 1 deletion
Documentation/pycardium/bme680.rst
epicardium/epicardium.h
+12
-3
12 additions, 3 deletions
epicardium/epicardium.h
with
27 additions
and
4 deletions
Documentation/pycardium/bme680.rst
+
15
−
1
View file @
8b7207b0
...
...
@@ -19,14 +19,28 @@ library will be activated which offers the following extra functionality:
about how to interpret these estimates.
.. note::
Please keep in mind that the BME680 can not directly measure CO2. It measures
Volatile Organic Compounds (VOCs). The BSEC library uses this measurement
to compute an Indoor Air Quality (IAQ) indication. It also assumes that all VOCs
in the air are from human breath and computes an equivalent CO2 (eCO2)
value from this. Please be aware of these facts when judging the accuracy
of the IAQ and eCO2 values. Some more information can be found in the
:ref:`bsec_api` API documentation.
.. warning::
For the BSEC library to properly work the card10 should be kept running
for at least 10 hours at least once. This is needed as the BSEC library
periodically writes calibration information about the sensor to the
card10's file system.
Please make sure to observe the IAQ accuracy field. It will tell you if the
IAQ and eCO2 measurements are deemed "accurate" by the BSEC library. Your
application should either inform the user about the current accuracy (e.g.
by color coding) or simply not show any values if the accuracy is below 2.
.. note::
See also the BLE :ref:`ESS`.
See also the BLE :ref:`ESS`.
**Example**:
...
...
This diff is collapsed.
Click to expand it.
epicardium/epicardium.h
+
12
−
3
View file @
8b7207b0
...
...
@@ -925,12 +925,20 @@ API(API_BME680_GET_DATA, int epic_bme680_read_sensors(
*
* BSEC
* ----
* The Bosch BSEC libary allows to compute an indoor air
* qualtiy (IAQ) metric as well as CO2 and VOC content
* equivalents using the gas sensor of the BME680.
* The Bosch Sensortec Environmental Cluster (BSEC) library
* allows to estimate an indoor air qualtiy (IAQ) metric as
* well as CO2 and VOC content equivalents using the gas sensor
* of the BME680.
*
* As it is a proprietary binary blob, it has to be enabled using
* the ``bsec_enable`` configuration option (see :ref:`card10_cfg`).
*
* Please also have a look at the BME680 datasheet and some of
* the BSEC documentation:
*
* https://git.card10.badge.events.ccc.de/card10/hardware/-/blob/master/datasheets/bosch/BST-BME680-DS001.pdf
*
* https://git.card10.badge.events.ccc.de/card10/firmware/-/blob/master/lib/vendor/Bosch/BSEC/integration_guide/BST-BME680-Integration-Guide-AN008-48.pdf
*/
/**
...
...
@@ -949,6 +957,7 @@ struct bsec_sensor_data {
* 1970-01-01 00:00:00 UTC)*/
uint32_t
timestamp
;
/** Accuracy of IAQ, CO2 equivalent and breath VOC equivalent:
*
* 0: Stabilization / run-in ongoing:
* This means that the sensor still needs to warm up. Takes about
* 5 min after activation of BSEC / reboot.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment