I'm an mobile developer. I'm developing system that detects and counts jumps on a trampoline. I will describe in few words the architecture of system. The system consists of a trampoline, three-axis accelerometer attached to the bottom of the trampoline and a smartphone. All communication (sending acceleration data) take place via bluetooth. What I know: the mass of the person that will be jumping, and the distance from the surface on which trampoline stands to the trampoline mat. And here is my question. How to design an algorithm to detect and count jumps. Should I use digital signal processing? Statistic methods? Should I consider analyzing energy transfer between potential, kinetic, spring energy? Thanks in advance.