AnsweredAssumed Answered

ADXL345 Values

Question asked by lookingforflow on Mar 27, 2013
Latest reply on Apr 2, 2013 by lookingforflow

Hi all,


I am trying to collect acceleration data and have attached 2 examples. This example data is collected in Z=+1g and X,Y=0G. Z-Value.gif shows acceleration on the Z-axis in 8G mode and Z-Value_0.gif shows data collected during 0 movement.


Question 1. Why are those "jumps" (green = z-axis) during the positive and negative acceleration and why is it capping the top part of the signal and inverting it? I am reading in multi-byte mode, btw.


Question 2. This is possibly related to Question one. Looking at Z-Value_o.gif, there is no acceleration applied and the z-value is mainly around 0 with random spikes to 255. Shouldn't the value for Z=1g be around 64 counts? If I tilt the accelerometer to a certain angle, the display goes crazy and jumps between 255 and 0.


I am not quiet sure what I am doing wrong. Any help is appreciated.