Which of the formulae give us the angle of inclination in the ADXL-335?

Which of the formulae give us the angle of inclination in the ADXL-335?
A. theta=atan(X_Value/sqrt((Y_Value*Y_Value)+(Z_Value*Z_Value)))
B. theta=atan(X_Value/sqrt((Y_Value*Y_Value)*(Z_Value*Z_Value)))
C. theta=atan(X_Value/sqrt((Y_Value)+(Z_Value*Z_Value)))
D. theta=atan(X_Value/sqrt((Y_Value*Y_Value)+(Z_Value)))
 
Answer: A
Explanation: atan(X_Value/sqrt((Y_Value*Y_Value)+(Z_Value*Z_Value))) gives the correct value of the angle of inclination of the accelerometer module. Here all the three values read from the 3 data pins of the ADXL-335 module are to be replaced in the equation at the same time in order for this to work.
 

Tìm kiếm

Back
Top