Other Parts Discussed in Thread: DRV-ACC16-EVM,
Hi Sir/Ma'am
I am developing a tilt sensor for which I am using the ADXL313.
I am confused with the data I am getting because I can not do further process If I will not understand the reading of accelerometer.
I am dealing with all the 3 axes of accelerometer and the data I got on rest are as follows------
X-Axis | Y-axis | Zaxis |
-256, | 2240, | 32704, |
-256, | 2240, | 32704, |
-256, | 2368, | 32704, |
-128, | 2240, | 32704, |
-256, | 2304, | 32704, |
-192, | 2304, | 32704, |
-192, | 2240, | 32704, |
-192, | 2240, | 32704, |
-128, | 2368, | 32704, |
-256, | 2368, | 32704, |
-256, | 2304, | 32704, |
-256, | 2368, | 32704, |
-256, | 2304, | 32704, |
-192, | 2304, | 32704, |
Here I want to make clear some of the setting of accelerometer so that it will be more clear to ask.
I am using 0.5 g sensitivity level and the data rate is 50 Hz, Here I am including some information please take a look--
//Go into standby mode to configure the device.
accelerometer.SetPowerControl(0x00);
//Full resolution, +/-0.5g, 1024LSB/g.
accelerometer.SetDataFormatControl(0x04); // 0b 0000 0100 ;
//100Hz data rate.
accelerometer.SetDataRate(ADXL313_100HZ);
//Measurement mode.
accelerometer.SetPowerControl(0x08); // 0b 0000 1000
I am very confused that what I am getting from accelerometer When I read the datasheet then in that it is given that the accelerometer gives the output in mg/LSB form but according to that when I converti it into gravity I got the wrong data.
I also want to know that the data is in 16 bit or 10 but since the range is weird so I can not understand what it is and in which form?
I do not belong to an engineering background so I am struggling a lot.
Please make me clear all there things.