In few words you must have a good experience on previous projects that includes gyroscope and accelerometer modules. What it should do? Simple: I need to know the phone position (in space) no matter how you hold it. This info should be displayed in real time and it should be very precise. I will explain exact each step on PM.