Using I2C Buttons and LEDs with MCP23017

Did you think about about an RPi pico Raspberry Pi Pico + ADXL345: Portable resonance measurement

Quite cheap.

Good luck, hcet14