04-13-2021 03:42 PM
Hi,
I'm running BME680 in ULP mode so I get all values every 5 minutes
How can I get temperature value quicker? Like every minutes, but keeping in ULP to not use too much power
Thanks,
04-13-2021 10:26 PM
Hello biboc,
As mentioned in our documentation, we provide temperature information with 1/3 Hz ( every 3s) in ULP.
But, you can only get gas measurement every 5 minutes.
Hence, I think now you can get temperature every 3 second if you are using our example code.
Please let me know if you have further questions.
Thanks,
04-14-2021 04:28 PM
Thank you Minhwan for your answer, I didn't know the Quick Ultra-low Power mode (q-ULP)
I found the example in https://github.com/BoschSensortec/BSEC-Arduino-library/blob/master/examples/basic_config_state_ULP_L...
I see the chip is configured with "#include "config/generic_33v_3s_4d/bsec_iaq.txt"". Is the chip running in ULP or LP mode? How about the consumption?
Low consumption is why I use ULP and not LP mode so I ha ve to keep it as small as possible
I use it on ARM M0+ board but it should be ok with some code customizationWill it be possible to get temperature every minute instead of every three seconds?
Thanks,
04-15-2021 10:49 PM
Hello biboc,
Yes, in your example, gas are in ULP mode, and temp is in LP mode which is to meet your requirements.
Since temp is in LP mode, you can get every 3s. That means you can get every 1 min. However, gas needs 5 mins.
bsec_virtual_sensor_t sensorList1[2] = {
BSEC_OUTPUT_RAW_GAS,
BSEC_OUTPUT_IAQ,
};
iaqSensor.updateSubscription(sensorList1, 2, BSEC_SAMPLE_RATE_ULP);
bsec_virtual_sensor_t sensorList2[5] = {
BSEC_OUTPUT_RAW_TEMPERATURE,
BSEC_OUTPUT_RAW_PRESSURE,
BSEC_OUTPUT_RAW_HUMIDITY,
BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_TEMPERATURE,
BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_HUMIDITY,
};
iaqSensor.updateSubscription(sensorList2, 5, BSEC_SAMPLE_RATE_LP);
As long as your platform is in our list below url, then you can use our BSEC libary. You already got some value, so it means that you are using it 🙂
https://github.com/BoschSensortec/BSEC-Arduino-library/
Thanks,