adafruit / Adafruit_BME280_Library

Arduino Library for BME280 sensors
Other
333 stars 304 forks source link

Change sensor sleep to 1000ms #16

Closed heypete closed 7 years ago

heypete commented 7 years ago

By default, the BME280 sleeps for only 0.5ms (Register 0xF5, t_sb[2:0] = 000). This results in much more self-heating of the sensor and temperatures being too high by ~0.5 degrees celsius. Changing t_standby to a higher value, say 1000ms, makes the self-heating negligible.

heypete commented 7 years ago

Apologies. My branch had some local-only changes (e.g. for the address). I'll make a new branch for just the timing-related change (which can be universal) and will re-submit the pull request.