We're currently working on a project which requires us to measure the amplitude of a vibrating cantilever. We're already thinking of using an Uno with a standard motor shield to control another function of the device and were wondering if it would be possible to connect an accelerometer to the board as well, and take the vibration measurements simultaneouly.
I understand that converting the acceleration readings into useful data should be easy enough, but am not sure if it is possible to take the readings while the board is driving the motors. (It would be using one motor for both an x and y axis, and scanning a small 100x100mm sample under a tip.)
Also, the frequency of the vibrations shouldn't be much more than 100Hz, but the changes in amplitude the cantilever would be experiencing might be quite small. Maybe in the range of 2-3mm? Does anybody with any experience with something like this know if these vibrations might be detectable? It doesn't have to be perfectly precise or anything, we're just looking to calculate a relative change in amplitude at each position of the sample.
The accelerometer I linked stood out to me because of the variable bandwidth. If anyone knows of anything that might be more suitable, please let me know!