I’d recommend a RPi Pico. Cheap and painless. See Raspberry Pi Pico + ADXL345: Portable resonance measurement