I am working on a project where I would like to measure the rebound height of an object dropped from a fixed height onto various surfaces. I am planning on using a microphone at the surface level to capture two impacts of the object. It is possible to use an Arduino to capture the two impacts and measure the time interval between the two peaks from the microphone and output onto a display? any help or ideas of sample code would be greatly appreciated.
Thanks for the replies, Yes I would be calculating height from the interval between the two contacts. Assuming the background noise is low and the peaks are detectable how would I go about recording the timing?