I am using a cellphone with 2 accelerometers in it. So, in all I have 2*3 readings from accelerometer ( 3--> x,y, z axis). I am trying to find the orientation (up and down) and the tilt/angle of the cell phone. The cell phone won't be kept in the horizontal surface, instead it would be rotated in 360 degrees. Any help would be appreciated.