-
thoughts on setting the oversampling for pressure and temp? but when I look on page 17 of the datasheet: ultra highbmp.set_oversampling(4, 1) # pressure (2=std, 4=ultrahigh), temp (1=2x recommended, 3=8x?) highbmp.set_oversampling(3, 0) # pressure (2=std, 3=high), temp (0=1x recommended) also any thoughts on the sampling period and how it should be set? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
The sensor settings depend on the object on which it is installed.
If it is a multicopter, then the ODR is increased to the detriment of measurement accuracy.
If it is a weather station, then measurements are taken once per minute with the highest possible accuracy.
The set_sampling_period method writes a value from 0 to 17 (for most cases, values from 3 to 10 are suitable) to the register, corresponding to the period of measurements by the sensor in normal (see chapter 3.3.3. Normal mode) mode. See Table 45: Control settings for odr_sel.
All settings must be made before calling the start_measurement method, which sets the sensor operating mode.