Klipper firmware can use the ADXL345 accelerometer, which can be used to measure the resonance frequencies of the different axes of the printer and automatically adjust the input shaper to compensate for the resonance.This accelerometer helps provide print quality.
ADXL345 connects to Raspberry Pi or MCU via Spi.
check out the documentation https://www.klipper3d.org/Measuring_Resonances.html?spm=a2g0o.detail.1000023.1.37b820ebQiyJk0
https://docs.klipper.cn/#/advanced/Accelerometer
Easy mount, hides on the stepper motor, easy wiring hookup.