05-12-2020 01:59 PM
I use a bme680 for my project, but the temperature value from `read_field_data()` is always 0 .
I printed the following debug data for this code part https://github.com/BoschSensortec/BME680_driver/blob/master/bme680.c#L1223-L1239
buf[5-7] is 129 105 96
adc_temp is 530070, adc_pres is 393660, adc_hum is 14457, adc_gas_res is 304 and adc_gas range is 5
after calculation:
data->temperature = 0.000 data->humidity = 20.270 data->pressure =95598.000 data->gas_resistance = 294021.0
buf[5-7] is 130 140 32
adc_temp is 534722, adc_pres is 414452, adc_hum is 13726, adc_gas_res is 377 and adc_gas range is 5
after calculation:
data->temperature = 0.000 data->humidity = 16.673 data->pressure = 92113.000 data->gas_resistance = 276157.0
Can somebody help me?
Solved! Go to Solution.
12-02-2020 06:15 PM
Yes, separate email are sent to you off line.
Let's have a look on your setup together