Using accelerometer data would be great for noise mitigation. LIS3DH standard accelerometer on an I2C BUS.