Hi,
kindly help me in applying the digital bandpass filter (range 0.3Hz to 10 Hz) on ADXL345 accelerometer real-time readings.
Apply low pass filter on ADXL345
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- sj_remington
- Posts: 994
- Joined: Mon Jul 27, 2020 4:51 pm
Re: Apply low pass filter on ADXL345
You can set the ADXL345 BW_RATE device register (0x2C) to 0b1000, for 25 Hz data rate (bandwidth 12.5 Hz).
For more information, be sure to consult the ADXL345 data sheet.
For more information, be sure to consult the ADXL345 data sheet.
- CircuitFlyer
- Posts: 21
- Joined: Thu Sep 17, 2020 11:01 pm
Re: Apply low pass filter on ADXL345
If the micro-controller board you are using includes the built in module ulab then I'd suggest reading https://learn.adafruit.com/ulab-crunch- ... cuitpython. The Filter Example: Measuring barometric pressure is likely very similar to what you require. I found it very helpful when I needed to apply a low pass filter to an accelerometer output. I use https://fiiir.com/ to determine the filter coefficients required.
Please be positive and constructive with your questions and comments.