Skip to content

Commit

Permalink
bmp280: disable device filter
Browse files Browse the repository at this point in the history
It looks like the BMP280 was heavily filtered, leading to a step
response of around 3 seconds. Comparing it to baro logs of BMP388 and
MS5611, it looks very slow.

I therefore suggest to disable the on device IIR filter which makes the
log data look more like the other baros.
  • Loading branch information
julianoes authored and dagar committed Nov 20, 2024
1 parent 3f83a8f commit 7c507f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/barometer/bmp280/BMP280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ BMP280::init()

// set config, recommended settings
_interface->set_reg(_curr_ctrl, BMP280_ADDR_CTRL);
_interface->set_reg(BMP280_CONFIG_F16, BMP280_ADDR_CONFIG);
_interface->set_reg(BMP280_CONFIG_F0, BMP280_ADDR_CONFIG);

// get calibration and pre process them
_cal = _interface->get_calibration(BMP280_ADDR_CAL);
Expand Down

0 comments on commit 7c507f1

Please sign in to comment.