-
-
Notifications
You must be signed in to change notification settings - Fork 26
add support for BSEC2 library features #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
941602a
to
ada8ca0
Compare
Memory usage change @ ada8ca0
Click for full report table
Click for full report CSV
|
@facchinm |
Sure, I didn't have the chance to test it yet but we'll surely take a look very soon @sebromero |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @bstbud 👋
Thanks for your contributions. So comments:
- The two newly added examples -
BSECGasScannerClassify.ino
andBSECGasScannerCollectData.ino
- compile successfully. However, they do not send any data over to the Serial monitor. - The examples use very low level syntax to interface with the sensor. This increases the barrier of entry for users.
- The additional code should be documented, for future records as well as helping users.
cc @facchinm
if (bsec2.getNewDataFlag()) { | ||
bsec2.setNewDataFlag(false); | ||
|
||
Serial.println(bsec2.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bsec2.toString()
function does not print anything to the Serial. I've verified that the Serial port is sending data correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To use the new examples, the new BHI260 FW needs to be updated as well, I agree this should be mentioned in a README or some other documentation. Could you try the examples after updating the BHI260 FW by using the BHYFirmwareUpdate sketch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @bstbud ! Is there a way to extract the BHI260 FW version from the binary data? Is so, what's the offset and format?
Arduino_BHY2/examples/BSEC2GasScannerCollectData/BSEC2GasScannerCollectData.ino
Show resolved
Hide resolved
Arduino_BHY2/examples/BSEC2GasScannerCollectData/tools/BSEC2DataLogConverter.py
Show resolved
Hide resolved
Arduino_BHY2/examples/BSEC2GasScannerCollectData/tools/BSEC2DataLogConverter.py
Show resolved
Hide resolved
e5b7a53
to
0cf4a57
Compare
Memory usage change @ 0cf4a57
Click for full report table
Click for full report CSV
|
0cf4a57
to
8c6d6a6
Compare
Memory usage change @ 8c6d6a6
Click for full report table
Click for full report CSV
|
@aliphys can we push this ? |
@akash73 Looking into this PR in this sprint. Will keep you updated |
Description
add support for BSEC2 gas scanning sensors: sensor id (116) for data collection to be used with BME AI Studio, sensor id(117) for gas type classification
add the API to set board temperature offset relative to ambient air temperature for temperature and relative humidity compensation
add WebBLE parser support for sensor 116 and 117.
Pull request type