Hi,
I wired up a Sparkfun ADXL362 breakout exactly as described in the tutorial by AD, and it basically works as in returning values, but the data I get back seems almost random. When I lay it down on the table I would expect values fluctuating around 0, but nothing like this:
XDATA = -32 YDATA = 792 ZDATA = 448
XDATA = -289 YDATA = 272 ZDATA = 688
XDATA = -799 YDATA = 524 ZDATA = 688
XDATA = -285 YDATA = 272 ZDATA = 1196
XDATA = -32 YDATA = 272 ZDATA = 1204
XDATA = 224 YDATA = 524 ZDATA = 1188
XDATA = -285 YDATA = 280 ZDATA = 1204
XDATA = -285 YDATA = 780 ZDATA = 448
XDATA = -32 YDATA = 512 ZDATA = 688
XDATA = -32 YDATA = 272 ZDATA = 700
XDATA = 224 YDATA = 272 ZDATA = 688
XDATA = 224 YDATA = 280 ZDATA = 700
In the default settings, 1 == 0.001G, so it sometimes fluctuates about 0.3G, which is 1/6th of the total range (+/-2G), when it's not even moving?
I must either be doing something wrong, or the unit is broken, or I simply have to accept this level of noise. Does anyone else have experience with this part? I'm using an 16Mhz Arduino Pro Mini 168 @ 3.3V.