Guide to gyro and accelerometer with Arduino including Kalman filtering

Hey Lauszus!

First off thanks for posting, this looks great and could be exactly what i need!

basically i am creating a ball full of different sensors which will then act as a synthasizer.this is my final year project and i am stuck here with only a few weeks to go. I have other sensors but what i really want is to be able to read if the ball is being tilted forward or back,left and right and by how much so i can modulate sound accordingly.( i am not trying to measure the acceleration,just the amount it is tilted)

i have been searching all the different possibilities with gyroscopes and accelerometers but can't seem to find clear cut examples of what i want. It looks like your code here is what i need? If i was to buy the 6dof is it as simple as using the code you linked? and then i would be able to get proper tilt values?

I am only a beginner with arduino and just know the basics of reading sensors but i'm finding the task of measuring tilt a bit deep for me.

your help or advice would be greatly appreciated!

(a final year college student freaking out lol) Billy.