This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Resolution calculations

Other Parts Discussed in Thread: MSP430F5438A

Hi, I am using MSP430F5438A and learning about accelerometer interfacing. I am trying to do the single axis tilt meter using ADXL335B. 

Wixey tilt meter:

www.wixey.com/.../index.html

The thing is that wixey digital gauge has following specs.

Range: +/- 180 degrees
Resolution: 0.1 degrees
Accuracy: +/- 0.2 degrees

How can I specify my system in the same way as wixey did ? I tried the following approach. Please tell me that  am I on the right track.

The thing is that I am using ADXL335B with 12 bit ADC. My power supply is 3.3V and Aref = 5V. I am doing single axis tilt calculations.

The data sheet of the sensor is as follows

http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL335.pdf


My calculations are as follows

Desired Range = 0 to 180 degrees.

1. ) Resolution : 3.3 / 4096 = 0.8 mV
2.)  ADC_out =  ((3.3) / 5 ) x 4096= 2703.36

3)  (1.99-1.65) = 0.34   ; 1.99 corresponds to 90 degree and 1.65 V correspond to 0 degree.

0.8mV / 90  = 0.008 mV / degree

But  i am lost here. what is the angle resolution in degrees? 


How can I calculate the accuracy of my system?

The thing is that I also found the following paper on page 2. It uses arcSin() to calculate the angle resolution

http://www.nxp.com/files/sensors/doc/app_note/AN3107.pdf

It calculates the resolution in a different way and I get confused which method is correct.  

**Attention** This is a public forum