I am doing a project for University.
Basically I want to program the Arduino Board with an Accelerometer on it, then locate it at the free end of a cantilever beam.
Then, I will move downward the Arduino with my hand.
My outcome is, I want the Arduino to tell me (by a red LED on a bread board) when I reach the maximum displacement that the cantilever beam can withstand.
I know how to find the maximum displacement.
My question now is: how can I read the distance travelled by the arduino, while it measures the acceleration?
Thanks a lot :)