Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10card10
  • firmware
  • Merge requests
  • !380

BSEC support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged schneider requested to merge schneider/bsec into master May 02, 2020
  • Overview 6
  • Commits 36
  • Pipelines 29
  • Changes 224+

Adds basic Bosch BSEC support.

BSEC is a proprietary library from Bosch which uses the BME680 to calculate an estimation of an "Indoor Air Quality". It takes complete control of the BME680 and performs a measurement every 3 seconds. This consumes about 0.9 mA on the 1.8 V rail. A later iteration of this driver might also allow to change the interval to 300 seconds to save energy.

Two configuration options are introduced. One to enable the driver (as it is a binary blob) and one to enable the debug prints of the driver. If the library is active, calls to the BME680 API will stop using the sensor directly and return a subset of the data gathered by the BSEC library.

You can use this https://phyphox.org/ "experiment" to access the data:

download__1_

cwNiWbhBMDGanPdkseSkGBCn

In addition the pycardium BME680 API and the BLE Environmental Sensing Service have been extended.

Edited Dec 24, 2020 by schneider
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: schneider/bsec